RE: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
From: Joakim Zhang <hidden>
Date: 2021-11-23 10:40:02
Also in:
linux-arm-kernel, lkml, netdev
Hi Peng,
-----Original Message----- From: Peng Fan <peng.fan@nxp.com> Sent: 2021年11月23日 17:29 To: Joakim Zhang <redacted>; Peng Fan (OSS) [off-list ref]; robh+dt@kernel.org; Aisheng Dong [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 Subject: RE: [PATCH 1/4] dt-bindings: net: fec: simplify yamlquoted
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 ZhangThanks, Peng.quoted
Best Regards, Joakim Zhangquoted
-----Original Message----- From: Peng Fan (OSS) <redacted> Sent: 2021年11月20日 19:58 To: robh+dt@kernel.org; Aisheng Dong <aisheng.dong@nxp.com>;Joakimquoted
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 needtoquoted
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(-)diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yamlb/Documentation/devicetree/bindings/net/fsl,fec.yaml index eca41443fcce..dbf63a9c2a46 100644--- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml@@ -39,9 +39,8 @@ properties: - items: - enum: - fsl,imx7d-fec - - const: fsl,imx6sx-fec - - items: - - const: fsl,imx8mq-fec + - fsl,imx8mq-fec + - fsl,imx8qm-fec - const: fsl,imx6sx-fec - items: - enum:@@ -50,9 +49,6 @@ properties: - fsl,imx8mp-fec - const: fsl,imx8mq-fec - const: fsl,imx6sx-fec - - items: - - const: fsl,imx8qm-fec - - const: fsl,imx6sx-fec - items: - enum: - fsl,imx8qxp-fec --2.25.1