summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-12-05 15:46:47 +0100
committerLee Jones <lee.jones@linaro.org>2018-01-08 12:03:35 +0100
commit2bb3253c30d517f3d574610ed0523a469f58562d (patch)
tree8092c2edf2d3068f4e79b4f3075b89a074aa5e8f /drivers/mfd/axp20x.c
parentmfd: pm8xxx: Make elegible for COMPILE_TEST (diff)
downloadlinux-2bb3253c30d517f3d574610ed0523a469f58562d.tar.xz
linux-2bb3253c30d517f3d574610ed0523a469f58562d.zip
mfd: axp20x: Add pinctrl cell for AXP813
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> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x.c')
-rw-r--r--drivers/mfd/axp20x.c3
1 files changed, 3 insertions, 0 deletions
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",
}
};