diff mbox series

[v3,06/12] mfd: axp20x: add pinctrl cell for AXP813

Message ID 20171002120854.5212-7-quentin.schulz@free-electrons.com
State Superseded
Headers show
Series None | expand

Commit Message

Quentin Schulz Oct. 2, 2017, 12:08 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>

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

-- 
2.11.0

Comments

Maxime Ripard Oct. 2, 2017, 8:39 p.m. UTC | #1
On Mon, Oct 02, 2017 at 12:08:48PM +0000, Quentin Schulz 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>


Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
diff mbox series

Patch

diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index 2468b431bb22..d8c92fbbd170 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",
 	}
 };