Skip to contentSkip to conversation

dt-bindings: can: st,stm32-bxcan: fix st,gcan property type

PATCH Applied Dario Binacchi 3 participants 3 messages Dec 28, 2024 – Jan 10, 2025

Subsystems (4)
lore
Share & tools
lore

Dario Binacchi

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: can: st,stm32-bxcan: fix st,gcan property type

The SRAM memory shared pointed to by the st,gcan property is unique, so we don't need an array of phandles.

Fixes e43250c0ac81 ("dt-bindings: net: can: add STM32 bxcan DT bindings")

---

 Documentation/devicetree/bindings/net/can/st,stm32-bxcan.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/can/st,stm32-bxcan.yaml +1 -1
index de1d4298893b..c7510b00954a 100644
@@ -63,7 +63,7 @@ properties:
     maxItems: 1
 
   st,gcan:
-    $ref: /schemas/types.yaml#/definitions/phandle-array
+    $ref: /schemas/types.yaml#/definitions/phandle
     description:
       The phandle to the gcan node which allows to access the 512-bytes
       SRAM memory shared by the two bxCAN cells (CAN1 primary and CAN2
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Dario Binacchi

The SRAM memory shared pointed to by the st,gcan property is unique, so we don't need an array of phandles.

You should mention also that Linux implementation does not expect any argument.

Quoted 4 lines
Fixes e43250c0ac81 ("dt-bindings: net: can: add STM32 bxcan DT bindings")

---

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Dario Binacchi
Quoted 5 lines · Dario Binacchi

The SRAM memory shared pointed to by the st,gcan property is unique, so we don't need an array of phandles.

Fixes e43250c0ac81 ("dt-bindings: net: can: add STM32 bxcan DT bindings")

Applied to linux-can-next.

Thanks,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |