From: Peng Fan (OSS) <hidden> Date: 2021-11-20 11:59:28
From: Peng Fan <peng.fan@nxp.com>
i.MX7D, i.MX8MQ and i.MX8QM are compatible with i.MX6SX, so no need
to split them into three items.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/net/fsl,fec.yaml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
From: Peng Fan (OSS) <hidden> Date: 2021-11-20 11:59:40
From: Peng Fan <peng.fan@nxp.com>
Add ethernet node and its alias
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
From: Peng Fan (OSS) <hidden> Date: 2021-11-20 12:00:11
From: Peng Fan <peng.fan@nxp.com>
The fec on i.MX8ULP is derived from i.MX6UL, it uses two compatible
strings, so update the compatible string for i.MX8ULP.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/net/fsl,fec.yaml | 4 ++++
1 file changed, 4 insertions(+)
I'm surprised this does not give warnings from the DTS tools. There is a reg
value, so it should be ethernet-phy@1
I not see warning per my build:
"
*** Default configuration is based on 'defconfig'
#
# No change to .config
#
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
DTC arch/arm64/boot/dts/freescale/imx8ulp-evk.dtb
"
Anyway I will check and fix if the node needs a fix.
Thanks,
Peng
Hi Peng,
Thanks a lot for helping upstream this patch set.
For this change, have you run 'make dtbs_check'? I remember that split them to pass dtbs_check when convert it into yaml.
Best Regards,
Joakim Zhang
quoted hunk
-----Original Message-----
From: Peng Fan (OSS) <redacted>
Sent: 2021年11月20日 19:58
To: robh+dt@kernel.org; Aisheng Dong <aisheng.dong@nxp.com>; Joakim
Zhang [off-list ref]; davem@davemloft.net;
kuba@kernel.org; shawnguo@kernel.org; s.hauer@pengutronix.de
Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx
[off-list ref]; netdev@vger.kernel.org;
devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-arm-kernel@lists.infradead.org; Peng Fan [off-list ref]
Subject: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
From: Peng Fan <peng.fan@nxp.com>
i.MX7D, i.MX8MQ and i.MX8QM are compatible with i.MX6SX, so no need to
split them into three items.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/net/fsl,fec.yaml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
Hi Peng,
I saw it's not the latest version(clock setting) compared to our local implementation, could you help update it or need a follow up later?
Best Regards,
Joakim Zhang
quoted hunk
-----Original Message-----
From: Peng Fan (OSS) <redacted>
Sent: 2021年11月20日 19:58
To: robh+dt@kernel.org; Aisheng Dong <aisheng.dong@nxp.com>; Joakim
Zhang [off-list ref]; davem@davemloft.net;
kuba@kernel.org; shawnguo@kernel.org; s.hauer@pengutronix.de
Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx
[off-list ref]; netdev@vger.kernel.org;
devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-arm-kernel@lists.infradead.org; Peng Fan [off-list ref]
Subject: [PATCH 3/4] arm64: dts: imx8ulp: add fec node
From: Peng Fan <peng.fan@nxp.com>
Add ethernet node and its alias
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
I'm surprised this does not give warnings from the DTS tools. There is
a reg value, so it should be ethernet-phy@1
I not see warning per my build:
"
*** Default configuration is based on 'defconfig'
#
# No change to .config
#
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
DTC arch/arm64/boot/dts/freescale/imx8ulp-evk.dtb
"
Anyway I will check and fix if the node needs a fix.
According to PHY guide, Documentation/devicetree/bindings/net/ethernet-phy.yaml, yes, we need write to ' ethernet-phy@1'.
DTS tool may not complain it, I guess 'make dtbs_check' could give a warning...
Best Regards,
Joakim Zhang
From: Peng Fan <peng.fan@nxp.com> Date: 2021-11-23 09:29:32
Subject: RE: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
Hi Peng,
Thanks a lot for helping upstream this patch set.
For this change, have you run 'make dtbs_check'? I remember that split them
to pass dtbs_check when convert it into yaml.
" arch/arm/boot/dts/imx6dl-nitrogen6x.dt.yaml:
ethernet@2188000: More than one condition true in oneOf schema: "
But this is not introduced by my patch, it already there even drop my
patch.
I not see other issues.
Thanks,
Peng.
Best Regards,
Joakim Zhang
quoted
-----Original Message-----
From: Peng Fan (OSS) <redacted>
Sent: 2021年11月20日 19:58
To: robh+dt@kernel.org; Aisheng Dong <aisheng.dong@nxp.com>; Joakim
Zhang [off-list ref]; davem@davemloft.net;
kuba@kernel.org;
quoted
shawnguo@kernel.org; s.hauer@pengutronix.de
Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx
[off-list ref]; netdev@vger.kernel.org;
devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-arm-kernel@lists.infradead.org; Peng Fan [off-list ref]
Subject: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
From: Peng Fan <peng.fan@nxp.com>
i.MX7D, i.MX8MQ and i.MX8QM are compatible with i.MX6SX, so no need
to
quoted
split them into three items.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/net/fsl,fec.yaml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
Subject: RE: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
Hi Peng,
Thanks a lot for helping upstream this patch set.
For this change, have you run 'make dtbs_check'? I remember that split
them to pass dtbs_check when convert it into yaml.
" arch/arm/boot/dts/imx6dl-nitrogen6x.dt.yaml:
ethernet@2188000: More than one condition true in oneOf schema: "
But this is not introduced by my patch, it already there even drop my patch.
I not see other issues.
For this error: ethernet@2188000: More than one condition true in oneOf schema:
This is caused by ['interrupts'] and ['interrupts-extended'], this should be a common limitation, this is a known warning.
'oneOf': [{'required': ['interrupts']},
{'required': ['interrupts-extended']}],
After applying this patch, I verified on both arm and arm64 platforms, indeed there is no regression targets to ['compatible']. I am okay with this patch, sorry for this inconvenience.
Best Regards,
Joakim Zhang
Thanks,
Peng.
quoted
Best Regards,
Joakim Zhang
quoted
-----Original Message-----
From: Peng Fan (OSS) <redacted>
Sent: 2021年11月20日 19:58
To: robh+dt@kernel.org; Aisheng Dong <aisheng.dong@nxp.com>;
Joakim
quoted
quoted
Zhang [off-list ref]; davem@davemloft.net;
kuba@kernel.org;
quoted
shawnguo@kernel.org; s.hauer@pengutronix.de
Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx
[off-list ref]; netdev@vger.kernel.org;
devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-arm-kernel@lists.infradead.org; Peng Fan [off-list ref]
Subject: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
From: Peng Fan <peng.fan@nxp.com>
i.MX7D, i.MX8MQ and i.MX8QM are compatible with i.MX6SX, so no need
to
quoted
split them into three items.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/net/fsl,fec.yaml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
From: Rob Herring <robh@kernel.org> Date: 2021-11-30 02:03:51
On Sat, 20 Nov 2021 19:58:22 +0800, Peng Fan (OSS) wrote:
From: Peng Fan <peng.fan@nxp.com>
i.MX7D, i.MX8MQ and i.MX8QM are compatible with i.MX6SX, so no need
to split them into three items.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/net/fsl,fec.yaml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
From: Rob Herring <robh@kernel.org> Date: 2021-11-30 02:04:10
On Sat, 20 Nov 2021 19:58:23 +0800, Peng Fan (OSS) wrote:
From: Peng Fan <peng.fan@nxp.com>
The fec on i.MX8ULP is derived from i.MX6UL, it uses two compatible
strings, so update the compatible string for i.MX8ULP.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/net/fsl,fec.yaml | 4 ++++
1 file changed, 4 insertions(+)