aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
diff options
context:
space:
mode:
authorJoakim Zhang <qiangqing.zhang@nxp.com>2020-11-06 18:56:23 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-11-20 12:05:14 +0100
commit07b6b3e23cbd531977535b4d1bbef741d13af264 (patch)
tree1d9a923e6d8ea5dc406a324b79210c095bfcd9f1 /Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
parentdt-bindings: can: fsl,flexcan: add uint32 reference to clock-frequency property (diff)
downloadlinux-dev-07b6b3e23cbd531977535b4d1bbef741d13af264.tar.xz
linux-dev-07b6b3e23cbd531977535b4d1bbef741d13af264.zip
dt-bindings: can: fsl,flexcan: fix fsl,clk-source property
Correct fsl,clk-source example since flexcan driver uses "of_property_read_u8" to get this property. Fixes: 9d733992772d ("dt-bindings: can: flexcan: add PE clock source property to device tree") Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Link: https://lore.kernel.org/r/20201106105627.31061-2-qiangqing.zhang@nxp.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml')
-rw-r--r--Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
index 0133d777e78e..0d2df30f19db 100644
--- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
+++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
@@ -100,7 +100,7 @@ properties:
by default.
0: clock source 0 (oscillator clock)
1: clock source 1 (peripheral clock)
- $ref: /schemas/types.yaml#/definitions/uint32
+ $ref: /schemas/types.yaml#/definitions/uint8
default: 1
minimum: 0
maximum: 1
@@ -125,7 +125,7 @@ examples:
interrupts = <48 0x2>;
interrupt-parent = <&mpic>;
clock-frequency = <200000000>;
- fsl,clk-source = <0>;
+ fsl,clk-source = /bits/ 8 <0>;
};
- |
#include <dt-bindings/interrupt-controller/irq.h>