]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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>
Tue, 4 Oct 2016 14:48:01 +0000 (15:48 +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 96102753847f790a223bec998ecf8962aa1a0f38..ba130be32e61363bef79298e5aa90c46bf8fb915 100644 (file)
@@ -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,