mfd: axp20x: Add AXP209 GPIO support
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 20 Jul 2016 14:11:37 +0000 (16:11 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 31 Aug 2016 14:42:57 +0000 (15:42 +0100)
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>
drivers/mfd/axp20x.c

index fd80b0981f0f4f80223f0dc5ca9f25742207132a..4b3e073c47b79e9d7dbc712e3b7e102448b2ebff 100644 (file)
@@ -508,6 +508,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,
This page took 0.024589 seconds and 5 git commands to generate.