Skip to contentSkip to conversation

dt-bindings: net: can: nxp,sja1000: add reference to fsl,imx-weim-peripherals.yaml

PATCH In review Frank Li 2 participants 2 messages Feb 11 – Feb 12

Subsystems (3)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: net: can: nxp,sja1000: add reference to fsl,imx-weim-peripherals.yaml

Add a reference to fsl,imx-weim-peripherals.yaml to allow vendor-specific properties for memory access timings.

Memory-mapped devices are less common today, with most peripherals using SPI or I2C. Since there is no generic YAML schema for memory-mapped peripherals, reference the i.MX WEIM schema here.

Fix below CHECK_DTBS warings:
arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dtb: can@4,0 (nxp,sja1000): Unevaluated properties are not allowed ('fsl,weim-cs-timing' was unexpected)
from schema $id: http://devicetree.org/schemas/net/can/nxp,sja1000.yaml

---
 Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml +1 -0
index ec0c2168e4b9e..eb82ac27c7727 100644
@@ -87,6 +87,7 @@ required:
 
 allOf:
   - $ref: can-controller.yaml#
+  - $ref: /schemas/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml
   - if:
       properties:
         compatible:
Signature · 1 line
2.43.0
#1 lore raw
Quoted 6 lines · Frank Li

Add a reference to fsl,imx-weim-peripherals.yaml to allow vendor-specific properties for memory access timings.

Memory-mapped devices are less common today, with most peripherals using SPI or I2C. Since there is no generic YAML schema for memory-mapped peripherals, reference the i.MX WEIM schema here.

Theer is - mc-peripheral-props.yaml - and should be used, unless this device cannot be used on any other SoCs.

Quoted 4 lines

Fix below CHECK_DTBS warings:
arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-rdk.dtb: can@4,0 (nxp,sja1000): Unevaluated properties are not allowed ('fsl,weim-cs-timing' was unexpected)
from schema $id: http://devicetree.org/schemas/net/can/nxp,sja1000.yaml

Best regards,
Krzysztof