Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1447257
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 2/4] mfd: axp20x: Add AXP209 GPIO driver to the mfd |
| Date | 2016-07-20 16:20 +0200 |
| Message-ID | <rX0vU-2uN-33@gated-at.bofh.it> (permalink) |
| References | <rX0vU-2uN-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/mfd/axp20x.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index fd80b0981f0f..4b3e073c47b7 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -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,
--
2.9.0
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 0/4] Add AXP209 GPIO driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-07-20 16:20 +0200 [PATCH v2 3/4] ARM: dt: axp209: Add AXP209 GPIO driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-07-20 16:20 +0200 [PATCH v2 1/4] gpio: Add AXP209 GPIO driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-07-20 16:20 +0200 [PATCH v2 4/4] ARM: sun5i: chip: Add status LED Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-07-20 16:20 +0200 [PATCH v2 2/4] mfd: axp20x: Add AXP209 GPIO driver to the mfd Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-07-20 16:20 +0200
csiph-web