mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] dt-bindings: net: can: nxp,sja1000: add reference to fsl,imx-weim-peripherals.yaml
@ 2026-02-11 23:07 Frank Li
  2026-02-12 12:02 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Li @ 2026-02-11 23:07 UTC (permalink / raw)
  To: Marc Kleine-Budde, Vincent Mailhol, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Wolfgang Grandegger,
	open list:CAN NETWORK DRIVERS,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list
  Cc: imx

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

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml b/Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml
index ec0c2168e4b9e..eb82ac27c7727 100644
--- a/Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml
+++ b/Documentation/devicetree/bindings/net/can/nxp,sja1000.yaml
@@ -87,6 +87,7 @@ required:
 
 allOf:
   - $ref: can-controller.yaml#
+  - $ref: /schemas/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml
   - if:
       properties:
         compatible:
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] dt-bindings: net: can: nxp,sja1000: add reference to fsl,imx-weim-peripherals.yaml
  2026-02-11 23:07 [PATCH 1/1] dt-bindings: net: can: nxp,sja1000: add reference to fsl,imx-weim-peripherals.yaml Frank Li
@ 2026-02-12 12:02 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-12 12:02 UTC (permalink / raw)
  To: Frank Li
  Cc: Marc Kleine-Budde, Vincent Mailhol, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Wolfgang Grandegger,
	open list:CAN NETWORK DRIVERS,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list, imx

On Wed, Feb 11, 2026 at 06:07:05PM -0500, Frank Li wrote:
> 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.

> 
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-12 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-11 23:07 [PATCH 1/1] dt-bindings: net: can: nxp,sja1000: add reference to fsl,imx-weim-peripherals.yaml Frank Li
2026-02-12 12:02 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®