dt-bindings: net: can: nxp,sja1000: add reference to fsl,imx-weim-peripherals.yaml
Subsystems (3)
Frank Li
maintainerPATCH 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
@@ -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
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_DTBSwarings: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