[EXT] Re: [PATCH v3 1/3] dt-bindings: gpio: Add imx scu gpio driver bindings

Shenwei Wang shenwei.wang at nxp.com
Wed Aug 10 08:23:47 PDT 2022



> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Sent: Wednesday, August 10, 2022 9:46 AM
> To: Shenwei Wang <shenwei.wang at nxp.com>; robh+dt at kernel.org;
> krzysztof.kozlowski+dt at linaro.org; linus.walleij at linaro.org; brgl at bgdev.pl;
> shawnguo at kernel.org; s.hauer at pengutronix.de; kernel at pengutronix.de;
> festevam at gmail.com; dl-linux-imx <linux-imx at nxp.com>
> Cc: devicetree at vger.kernel.org; linux-kernel at vger.kernel.org; linux-
> gpio at vger.kernel.org; linux-arm-kernel at lists.infradead.org; imx at lists.linux.dev
> Subject: [EXT] Re: [PATCH v3 1/3] dt-bindings: gpio: Add imx scu gpio driver
> bindings
> 
> Caution: EXT Email
> 
> On 10/08/2022 16:30, Shenwei Wang wrote:
> > Add binding document for the imx scu gpio driver.
> >
> > Signed-off-by: Shenwei Wang <shenwei.wang at nxp.com>
> > ---
> >  .../bindings/gpio/fsl,imx-sc-gpio.yaml        | 40 +++++++++++++++++++
> > +properties:
> > +  compatible:
> > +    enum:
> > +      - fsl,imx8qxp-sc-gpio
> > +      - fsl,imx-scu-gpio
> 
> 
> This is too generic compatible and it even conflicts with the above...
> Your driver binds to both without driver data which is even more confusing.
> Make the compatible specific for one, given SoC.
> 

Oh, that's my bad. It is a typo. The generic compatible should be "fsl,imx-sc-gpio".  
So far there is no driver data required for both imx8qxp and imx8dxl, but it might be
required sometimes later in case the scu firmware is customized for a specified use case.
That's why I put the generic one here.

Thanks,
Shenwei

> 
> Best regards,
> Krzysztof



More information about the linux-arm-kernel mailing list