]> 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)
commit22a2795ad37c2b53e99ebff349d7891b54326be1
tree7a3b45b900a1432d5a433d7d8158dacf071afec7
parentd5433557c028a2d18d52843f1d227c48357af8b9
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