diff mbox series

[v4,08/10] mfd: axp20x: add pinctrl cell for AXP813

Message ID e0b4ce746c052b78f08dff54d0ad7ce7ebc611ab.1512135804.git-series.quentin.schulz@free-electrons.com
State Accepted
Commit 2bb3253c30d517f3d574610ed0523a469f58562d
Headers show
Series add pinmuxing support for pins in AXP209 and AXP813 PMICs | expand

Commit Message

Quentin Schulz Dec. 1, 2017, 1:44 p.m. UTC
As GPIO/pinctrl driver now supports AXP813, add a cell for it.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

---
 drivers/mfd/axp20x.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
git-series 0.9.1

Comments

Linus Walleij Dec. 2, 2017, 3:57 p.m. UTC | #1
On Fri, Dec 1, 2017 at 2:44 PM, Quentin Schulz
<quentin.schulz@free-electrons.com> wrote:

> As GPIO/pinctrl driver now supports AXP813, add a cell for it.

>

> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>


Acked-by: Linus Walleij <linus.walleij@linaro.org>


It doesn't seem to have any dependencies so I guess Lee can simply
apply this separately.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index 2468b43..d8c92fb 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -878,6 +878,9 @@  static struct mfd_cell axp813_cells[] = {
 		.resources		= axp803_pek_resources,
 	}, {
 		.name			= "axp20x-regulator",
+	}, {
+		.name			= "axp20x-gpio",
+		.of_compatible		= "x-powers,axp813-gpio",
 	}
 };