diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-08-27 15:55:38 +0800 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-09-13 14:10:04 +0100 |
commit | 8824ee8573483e1c91691b5be3d3730e75551dce (patch) | |
tree | 7a3b45b900a1432d5a433d7d8158dacf071afec7 /drivers/mfd/axp20x-rsb.c | |
parent | 204ae2963e101344e50e3a679912f795e6b852c5 (diff) | |
download | linux-stable-8824ee8573483e1c91691b5be3d3730e75551dce.tar.gz linux-stable-8824ee8573483e1c91691b5be3d3730e75551dce.tar.bz2 linux-stable-8824ee8573483e1c91691b5be3d3730e75551dce.zip |
mfd: axp20x: Add support for AXP806 PMIC
The X-Powers AXP806 is a new PMIC that is paired with Allwinner's A80
SoC, along with a master AXP809 PMIC.
This PMIC has a new register layout, and supports some functions not
seen in other X-Powers PMICs, such as master-slave mode, or having
multiple AXP806 PMICs on the same bus with address space extension,
or supporting both I2C and RSB mode. I2C has not been tested.
This patch adds support for the interrupts of the PMIC. A regulator
sub-device is enabled, but actual regulator support will come in a
later patch.
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/axp20x-rsb.c b/drivers/mfd/axp20x-rsb.c index a407527bcd09..a732cb50bcff 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,axp806", .data = (void *)AXP806_ID }, { .compatible = "x-powers,axp809", .data = (void *)AXP809_ID }, { }, }; |