diff mbox series

pinctrl: ingenic: Add ingenic,jz4725b-gpio compatible string

Message ID 20200612120609.12730-1-paul@crapouillou.net
State New
Headers show
Series pinctrl: ingenic: Add ingenic,jz4725b-gpio compatible string | expand

Commit Message

Paul Cercueil June 12, 2020, 12:06 p.m. UTC
Add a compatible string to support the GPIO chips on the JZ4725B SoC.
There was already a compatible string for the pinctrl node, but not for
the individual GPIO chip nodes.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---

Notes:
    The Ingenic pinctrl devicetree documentation will be properly
    updated in a separate patchset.

 drivers/pinctrl/pinctrl-ingenic.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij June 20, 2020, 8:43 p.m. UTC | #1
On Fri, Jun 12, 2020 at 2:06 PM Paul Cercueil <paul@crapouillou.net> wrote:

> Add a compatible string to support the GPIO chips on the JZ4725B SoC.
> There was already a compatible string for the pinctrl node, but not for
> the individual GPIO chip nodes.
>
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c
index 6a8d44504f94..0f624ba7075d 100644
--- a/drivers/pinctrl/pinctrl-ingenic.c
+++ b/drivers/pinctrl/pinctrl-ingenic.c
@@ -2292,6 +2292,7 @@  static const struct regmap_config ingenic_pinctrl_regmap_config = {
 
 static const struct of_device_id ingenic_gpio_of_match[] __initconst = {
 	{ .compatible = "ingenic,jz4740-gpio", },
+	{ .compatible = "ingenic,jz4725b-gpio", },
 	{ .compatible = "ingenic,jz4760-gpio", },
 	{ .compatible = "ingenic,jz4770-gpio", },
 	{ .compatible = "ingenic,jz4780-gpio", },