Re: [PATCH] pinctrl: mxs: Remove undocumented 'fsl,mxs-gpio' property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 28, 2023 at 3:43 PM Fabio Estevam <festevam@xxxxxxxxx> wrote:


> From: Fabio Estevam <festevam@xxxxxxx>
>
> The 'fsl,mxs-gpio' property is not documented in gpio-mxs.yaml, but
> the imx23 and imx28 dtsi describe the gpios as:
>
> compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
>
> This gives schema warnings like:
>
> imx28-cfa10037.dtb: pinctrl@80018000: gpio@0:compatible: ['fsl,imx28-gpio', 'fsl,mxs-gpio'] is too long
>         from schema $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
>
> "fsl,mxs-gpio" is only used inside pinctrl-mxs, but can be removed if
> the compatible check is done against fsl,imx23-gpio and fsl,imx28-gpio.
>
> Introduce is_mxs_gpio() and remove the need for "fsl,mxs-gpio".
>
> Tested on a imx28-evk.
>
> Signed-off-by: Fabio Estevam <festevam@xxxxxxx>

Patch applied.

Yours,
Linus Walleij




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux