Skip to contentSkip to conversation

dt-bindings: net: fec: Add imx8dxl description

PATCH Applied Fabio Estevam 5 participants 7 messages Sep 9, 2023 – Sep 25, 2023

Subsystems (5)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 dt-bindings: net: fec: Add imx8dxl description

From: Fabio Estevam <[email protected]>

The imx8dl FEC has the same programming model as the one on the imx8qxp.

Add the imx8dl compatible string.

---
 Documentation/devicetree/bindings/net/fsl,fec.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/fsl,fec.yaml +1 -0
index b494e009326e..8948a11c994e 100644
@@ -59,6 +59,7 @@ properties:
           - const: fsl,imx6sx-fec
       - items:
           - enum:
+              - fsl,imx8dxl-fec
               - fsl,imx8qxp-fec
           - const: fsl,imx8qm-fec
           - const: fsl,imx6sx-fec
Signature · 1 line
2.34.1
author reviewer
#1 lore raw

PATCH 2/2 arm64: dts: imx8dxl-ss-conn: Complete the FEC compatibles

From: Fabio Estevam <[email protected]>

Use the full compatible list for the imx8dl FEC as per fsl,fec.yaml.

This fixes the following schema warning:

imx8dxl-evk.dtb: ethernet@5b040000: compatible: 'oneOf' conditional failed, one must be fixed:

	['fsl,imx8qm-fec'] is too short
	'fsl,imx8qm-fec' is not one of ['fsl,imx25-fec', 'fsl,imx27-fec', 'fsl,imx28-fec', 'fsl,imx6q-fec', 'fsl,mvf600-fec', 'fsl,s32v234-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx53-fec', 'fsl,imx6sl-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx35-fec', 'fsl,imx51-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx6ul-fec', 'fsl,imx6sx-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx7d-fec']
	'fsl,imx8mq-fec' was expected
	'fsl,imx8qm-fec' is not one of ['fsl,imx8mm-fec', 'fsl,imx8mn-fec', 'fsl,imx8mp-fec', 'fsl,imx93-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8dxl-fec', 'fsl,imx8qxp-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8ulp-fec']
	from schema $id: http://devicetree.org/schemas/net/fsl,fec.yaml#
---
 arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +1 -1
index b47752a878c9..a414df645351 100644
@@ -118,7 +118,7 @@ &enet0_lpcg {
 };
 
 &fec1 {
-	compatible = "fsl,imx8qm-fec";
+	compatible = "fsl,imx8dxl-fec", "fsl,imx8qm-fec", "fsl,imx6sx-fec";
 	interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
 		     <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
 		     <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
2.34.1
Acked-by on v1 1/2
#6 lore raw
In reply to Fabio Estevam
Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The imx8dl FEC has the same programming model as the one on the imx8qxp.

Add the imx8dl compatible string.

Thanks,
Conor.

Quoted 19 lines
---
 Documentation/devicetree/bindings/net/fsl,fec.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/fsl,fec.yaml +1 -0
index b494e009326e..8948a11c994e 100644
@@ -59,6 +59,7 @@ properties:
           - const: fsl,imx6sx-fec
       - items:
           - enum:
+              - fsl,imx8dxl-fec
               - fsl,imx8qxp-fec
           - const: fsl,imx8qm-fec
           - const: fsl,imx6sx-fec
Signature · 1 line
2.34.1
maintainer
#2 lore raw

Re: [PATCH 2/2] arm64: dts: imx8dxl-ss-conn: Complete the FEC compatibles

In reply to Fabio Estevam

Hi,

Quoted 19 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Use the full compatible list for the imx8dl FEC as per fsl,fec.yaml.

This fixes the following schema warning:

imx8dxl-evk.dtb: ethernet@5b040000: compatible: 'oneOf' conditional failed, one must be fixed:

	['fsl,imx8qm-fec'] is too short
	'fsl,imx8qm-fec' is not one of ['fsl,imx25-fec', 'fsl,imx27-fec', 'fsl,imx28-fec', 'fsl,imx6q-fec', 'fsl,mvf600-fec', 'fsl,s32v234-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx53-fec', 'fsl,imx6sl-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx35-fec', 'fsl,imx51-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx6ul-fec', 'fsl,imx6sx-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx7d-fec']
	'fsl,imx8mq-fec' was expected
	'fsl,imx8qm-fec' is not one of ['fsl,imx8mm-fec', 'fsl,imx8mn-fec', 'fsl,imx8mp-fec', 'fsl,imx93-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8dxl-fec', 'fsl,imx8qxp-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8ulp-fec']
	from schema $id: http://devicetree.org/schemas/net/fsl,fec.yaml#
Quoted 1 line

It looks like this series is targeting the net-next tree, am I misreading this?

I guess we could have small conflicts whatever target tree we will use, so I *think* the above should be ok. @Shawn Guo: do you prefer otherwise?

Thanks,

Paolo

maintainer
#3 lore raw

Re: [PATCH 2/2] arm64: dts: imx8dxl-ss-conn: Complete the FEC compatibles

Quoted 22 lines · Paolo Abeni

Hi,

Quoted 19 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Use the full compatible list for the imx8dl FEC as per fsl,fec.yaml.

This fixes the following schema warning:

imx8dxl-evk.dtb: ethernet@5b040000: compatible: 'oneOf' conditional failed, one must be fixed:

	['fsl,imx8qm-fec'] is too short
	'fsl,imx8qm-fec' is not one of ['fsl,imx25-fec', 'fsl,imx27-fec', 'fsl,imx28-fec', 'fsl,imx6q-fec', 'fsl,mvf600-fec', 'fsl,s32v234-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx53-fec', 'fsl,imx6sl-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx35-fec', 'fsl,imx51-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx6ul-fec', 'fsl,imx6sx-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx7d-fec']
	'fsl,imx8mq-fec' was expected
	'fsl,imx8qm-fec' is not one of ['fsl,imx8mm-fec', 'fsl,imx8mn-fec', 'fsl,imx8mp-fec', 'fsl,imx93-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8dxl-fec', 'fsl,imx8qxp-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8ulp-fec']
	from schema $id: http://devicetree.org/schemas/net/fsl,fec.yaml#
Quoted 8 lines
Quoted 1 line

It looks like this series is targeting the net-next tree, am I misreading this?

I guess we could have small conflicts whatever target tree we will use, so I *think* the above should be ok. @Shawn Guo: do you prefer otherwise?

Thinking again about it, I assume this should go via the devicetree git tree, so I'm dropping it from the netdev pw.

Please correct me otherwise, thanks!

Paolo

#4 lore raw

Re: [PATCH 2/2] arm64: dts: imx8dxl-ss-conn: Complete the FEC compatibles

Hi Paolo,

Quoted 2 lines · Paolo Abeni

Thinking again about it, I assume this should go via the devicetree git tree, so I'm dropping it from the netdev pw.

You're right. This one should go via Shawn's tree.

Thanks

Applied
#5 lore raw

Re: [PATCH 2/2] arm64: dts: imx8dxl-ss-conn: Complete the FEC compatibles

In reply to Fabio Estevam
Quoted 19 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Use the full compatible list for the imx8dl FEC as per fsl,fec.yaml.

This fixes the following schema warning:

imx8dxl-evk.dtb: ethernet@5b040000: compatible: 'oneOf' conditional failed, one must be fixed:

	['fsl,imx8qm-fec'] is too short
	'fsl,imx8qm-fec' is not one of ['fsl,imx25-fec', 'fsl,imx27-fec', 'fsl,imx28-fec', 'fsl,imx6q-fec', 'fsl,mvf600-fec', 'fsl,s32v234-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx53-fec', 'fsl,imx6sl-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx35-fec', 'fsl,imx51-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx6ul-fec', 'fsl,imx6sx-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx7d-fec']
	'fsl,imx8mq-fec' was expected
	'fsl,imx8qm-fec' is not one of ['fsl,imx8mm-fec', 'fsl,imx8mn-fec', 'fsl,imx8mp-fec', 'fsl,imx93-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8dxl-fec', 'fsl,imx8qxp-fec']
	'fsl,imx8qm-fec' is not one of ['fsl,imx8ulp-fec']
	from schema $id: http://devicetree.org/schemas/net/fsl,fec.yaml#
Quoted 1 line

Applied, thanks!