aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x-rsb.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-03-29 17:22:26 +0800
committerLee Jones <lee.jones@linaro.org>2016-04-19 07:54:08 +0100
commit20147f0d4f50f6f0d1fbe1815fe3d4d0a6444a70 (patch)
treeb56224225f178018f024a8f3e47ff6460639acd9 /drivers/mfd/axp20x-rsb.c
parentmfd: arizona: Fix lockdep recursion warning on set_irq_wake (diff)
downloadlinux-dev-20147f0d4f50f6f0d1fbe1815fe3d4d0a6444a70.tar.xz
linux-dev-20147f0d4f50f6f0d1fbe1815fe3d4d0a6444a70.zip
mfd: axp20x: Add support for AXP809 PMIC
The X-Powers AXP809 is a new PMIC that is paired with Allwinner's A80 SoC, along with a slave AXP806 PMIC. This PMIC is quite similar to the earlier AXP223, though the interrupts and regulator have changed a bit. This patch adds support for the interrupts and power button of the PMIC. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x-rsb.c')
-rw-r--r--drivers/mfd/axp20x-rsb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/axp20x-rsb.c b/drivers/mfd/axp20x-rsb.c
index 28c20247c112..a407527bcd09 100644
--- a/drivers/mfd/axp20x-rsb.c
+++ b/drivers/mfd/axp20x-rsb.c
@@ -61,6 +61,7 @@ static int axp20x_rsb_remove(struct sunxi_rsb_device *rdev)
static const struct of_device_id axp20x_rsb_of_match[] = {
{ .compatible = "x-powers,axp223", .data = (void *)AXP223_ID },
+ { .compatible = "x-powers,axp809", .data = (void *)AXP809_ID },
{ },
};
MODULE_DEVICE_TABLE(of, axp20x_rsb_of_match);