aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Marc Kleine-Budde <mkl@pengutronix.de> 2020-11-11 09:08:28 +0100
committerGravatar Marc Kleine-Budde <mkl@pengutronix.de> 2020-11-20 12:05:14 +0100
commit4e20b3a1b02eb64c10c2d2c8b7e026a679fdb1c8 (patch)
treef03d269c1a18961c6cde04430930da9f3c23cb34 /Documentation
parentcan: gw: support modification of Classical CAN DLCs (diff)
downloadlinux-4e20b3a1b02eb64c10c2d2c8b7e026a679fdb1c8.tar.gz
linux-4e20b3a1b02eb64c10c2d2c8b7e026a679fdb1c8.tar.bz2
linux-4e20b3a1b02eb64c10c2d2c8b7e026a679fdb1c8.zip
dt-bindings: can: fsl,flexcan: add uint32 reference to clock-frequency property
This patch adds the missing reference to the clock-frequency property. The driver uses a of_property_read_u32() to read the property to mark it as uint32. Fixes: e5ab9aa7e49b ("dt-bindings: can: flexcan: convert fsl,*flexcan bindings to yaml") Link: https://lore.kernel.org/r/20201119073357.2858925-1-mkl@pengutronix.de Cc: Joakim Zhang <qiangqing.zhang@nxp.com> Cc: Oleksij Rempel <ore@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
index 13875eab2ed6..0133d777e78e 100644
--- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
+++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
@@ -57,6 +57,7 @@ properties:
- const: per
clock-frequency:
+ $ref: /schemas/types.yaml#/definitions/uint32
description: |
The oscillator frequency driving the flexcan device, filled in by the
boot loader. This property should only be used the used operating system