summaryrefslogtreecommitdiff
path: root/drivers/mfd/axp20x-rsb.c
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2017-04-17 14:57:40 +0300
committerLee Jones <lee.jones@linaro.org>2017-04-27 13:54:49 +0300
commit1578353e05cd23b10a9e5e8d1626e5bd0849d873 (patch)
treefc09c5b872c40ef9bd31a46a0183fba43c160396 /drivers/mfd/axp20x-rsb.c
parent19b465e9560c5fb415f1d1159ae8a580b731436b (diff)
downloadlinux-1578353e05cd23b10a9e5e8d1626e5bd0849d873.tar.xz
mfd: axp20x: Support AXP803 variant
AXP803 is a new PMIC chip produced by X-Powers, usually paired with A64 via RSB bus. The PMIC itself is like AXP288, but with RSB support and dedicated VBUS and ACIN. Add support for it in the axp20x mfd driver. Currently only power key function is supported. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> 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 a732cb50bcff..fd5c7267b136 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,axp803", .data = (void *)AXP803_ID },
{ .compatible = "x-powers,axp806", .data = (void *)AXP806_ID },
{ .compatible = "x-powers,axp809", .data = (void *)AXP809_ID },
{ },