summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-26 12:49:22 +0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-02 13:07:28 +0400
commit8b7b736fbfa1307fd294ca1fca69316f1b07a806 (patch)
tree9660f50bc72fa3c85307606e958edf40fedccabe
parentec00f044ef6637470dcb4ce676a8c513848487cb (diff)
downloadlinux-8b7b736fbfa1307fd294ca1fca69316f1b07a806.tar.xz
net: flexcan: clock-frequency is optional for device tree probe
The property clock-frequency is optional for device tree probe. When it's absent, the flexcan driver will try to get the frequency from clk system by calling clk_get_rate. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--Documentation/devicetree/bindings/net/can/fsl-flexcan.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
index f31b686d4556..8ff324eaa889 100644
--- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
+++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
@@ -11,6 +11,9 @@ Required properties:
- reg : Offset and length of the register set for this device
- interrupts : Interrupt tuple for this device
+
+Optional properties:
+
- clock-frequency : The oscillator frequency driving the flexcan device
Example: