diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2024-01-22 12:19:50 +0000 |
---|---|---|
committer | Conor Dooley <conor.dooley@microchip.com> | 2024-02-06 14:07:18 +0000 |
commit | 8c2b1b48ad83d37a58a555c3bcf372b4ab477c64 (patch) | |
tree | bab1473248b1d304a8ed8fa64ebcf49572d30533 /Documentation/devicetree/bindings/net | |
parent | c886b7297e16831c07fabcb4d8ac25eec8412b16 (diff) | |
download | linux-8c2b1b48ad83d37a58a555c3bcf372b4ab477c64.tar.gz linux-8c2b1b48ad83d37a58a555c3bcf372b4ab477c64.tar.bz2 linux-8c2b1b48ad83d37a58a555c3bcf372b4ab477c64.zip |
dt-bindings: can: mpfs: add missing required clock
The CAN controller on PolarFire SoC has an AHB peripheral clock _and_ a
CAN bus clock. The bus clock was omitted when the binding was written,
but is required for operation. Make up for lost time and add it.
Cautionary tale in adding bindings without having implemented a real
user for them perhaps.
Fixes: c878d518d7b6 ("dt-bindings: can: mpfs: document the mpfs CAN controller")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r-- | Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml index 45aa3de7cf01..01e4d4a54df6 100644 --- a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml +++ b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml @@ -24,7 +24,9 @@ properties: maxItems: 1 clocks: - maxItems: 1 + items: + - description: AHB peripheral clock + - description: CAN bus clock required: - compatible @@ -39,7 +41,7 @@ examples: can@2010c000 { compatible = "microchip,mpfs-can"; reg = <0x2010c000 0x1000>; - clocks = <&clkcfg 17>; + clocks = <&clkcfg 17>, <&clkcfg 37>; interrupt-parent = <&plic>; interrupts = <56>; }; |