[PATCH 1/4] dt-bindings: net: fec: simplify yaml
Joakim Zhang
qiangqing.zhang at nxp.com
Tue Nov 23 02:39:52 PST 2021
Hi Peng,
> -----Original Message-----
> From: Peng Fan <peng.fan at nxp.com>
> Sent: 2021年11月23日 17:29
> To: Joakim Zhang <qiangqing.zhang at nxp.com>; Peng Fan (OSS)
> <peng.fan at oss.nxp.com>; robh+dt at kernel.org; Aisheng Dong
> <aisheng.dong at nxp.com>; davem at davemloft.net; kuba at kernel.org;
> shawnguo at kernel.org; s.hauer at pengutronix.de
> Cc: kernel at pengutronix.de; festevam at gmail.com; dl-linux-imx
> <linux-imx at nxp.com>; netdev at vger.kernel.org;
> devicetree at vger.kernel.org; linux-kernel at vger.kernel.org;
> linux-arm-kernel at lists.infradead.org
> Subject: RE: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
>
> > 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 at 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 at 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.
>
> >
> > Best Regards,
> > Joakim Zhang
> > > -----Original Message-----
> > > From: Peng Fan (OSS) <peng.fan at oss.nxp.com>
> > > Sent: 2021年11月20日 19:58
> > > To: robh+dt at kernel.org; Aisheng Dong <aisheng.dong at nxp.com>;
> Joakim
> > > Zhang <qiangqing.zhang at nxp.com>; davem at davemloft.net;
> > kuba at kernel.org;
> > > shawnguo at kernel.org; s.hauer at pengutronix.de
> > > Cc: kernel at pengutronix.de; festevam at gmail.com; dl-linux-imx
> > > <linux-imx at nxp.com>; netdev at vger.kernel.org;
> > > devicetree at vger.kernel.org; linux-kernel at vger.kernel.org;
> > > linux-arm-kernel at lists.infradead.org; Peng Fan <peng.fan at nxp.com>
> > > Subject: [PATCH 1/4] dt-bindings: net: fec: simplify yaml
> > >
> > > From: Peng Fan <peng.fan at 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 at 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.yaml
> > > b/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
More information about the linux-arm-kernel
mailing list