diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-07-20 16:11:37 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-10-04 16:48:01 +0200 |
commit | b419c16b52cd304180b60fec8bf85f9a46900338 (patch) | |
tree | b20dce873f99bea7766112724903766d74446432 /drivers/mfd/axp20x.c | |
parent | mfd: qcom_rpm: Add missing of_node_put after calling of_parse_phandle (diff) | |
download | linux-b419c16b52cd304180b60fec8bf85f9a46900338.tar.xz linux-b419c16b52cd304180b60fec8bf85f9a46900338.zip |
mfd: axp20x: Add AXP209 GPIO support
Now that we have a GPIO driver for the AXP209, we can add it to our MFD.
Signed-off-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 96102753847f..ba130be32e61 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -566,6 +566,9 @@ static const struct regmap_irq_chip axp809_regmap_irq_chip = { static struct mfd_cell axp20x_cells[] = { { + .name = "axp20x-gpio", + .of_compatible = "x-powers,axp209-gpio", + }, { .name = "axp20x-pek", .num_resources = ARRAY_SIZE(axp20x_pek_resources), .resources = axp20x_pek_resources, |