
28 Feb
2017
28 Feb
'17
5:47 a.m.
On 02/27/2017 04:01 AM, Rask Ingemann Lambertsen wrote:
An X-Powers AXP806 or AXP808 PMIC is usually found on boards using the Allwinner A80 ARM SoC. This patch adds support for the PMIC's regulators and sets up the runtime address and master/slave mode in pmic_bus_init().
AXP806/AXP808 support is enabled by default on all MACH_SUN9I boards.
Because there are boards with both an AXP806 and an AXP809, drivers/power/Kconfig and arch/arm/mach-sunxi/pmic_bus.c are changed to make it possible to have more than one PMIC enabled at a time.
Signed-off-by: Rask Ingemann Lambertsen rask@formelder.dk
This patch needs to be tested on the following boards which I don't have: Cubietech Cubieboard4 Merrii A80 Optimus
As ChenYu, This patch need to separate to some more patches.
Best Regards, Jaehoon Chung