]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: axp20x: Add support for AXP806 PMIC
authorChen-Yu Tsai <wens@csie.org>
Sat, 27 Aug 2016 07:55:38 +0000 (15:55 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 13 Sep 2016 13:10:04 +0000 (14:10 +0100)
commit099abecc4315d24aeb76473cb06b12f5bb75b0c0
tree7a3b45b900a1432d5a433d7d8158dacf071afec7
parent26f69ecc204f795970b07d2533c660bb061e48dc
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>
drivers/mfd/axp20x-rsb.c
drivers/mfd/axp20x.c
include/linux/mfd/axp20x.h