pinctrl: mxs: Remove undocumented 'fsl,mxs-gpio' property
authorFabio Estevam <festevam@denx.de>
Thu, 28 Sep 2023 13:43:21 +0000 (10:43 -0300)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Oct 2023 11:41:37 +0000 (13:41 +0200)
commit54a33423f29b3a018cfcd831863c9b063c35d70f
tree7fc703ed0acbf0b65d802b7694e10efdca13385b
parent2e44555b05c0c04cf199348fbec5640f69deef8c
pinctrl: mxs: Remove undocumented 'fsl,mxs-gpio' property

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@denx.de>
Link: https://lore.kernel.org/r/20230928134321.438547-1-festevam@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-mxs.c