sun6i: Add basic axp221 driver
The A31 uses the AXP221 pmic for various voltages. Signed-off-by: NOliver Schinagl <oliver@schinagl.nl> Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NIan Campbell <ijc@hellion.org.uk> -- Changes in v2: -Rebase Changes in v3: -Add support for all dldo and aldo-s -Add Kconfig option to select building AXP221 and to select voltage of dldo and aldo-s Changes in v4: -Add axp221_setbits helper function -Use symbolic names for enabled bits in CTRL1 - CTRL3 registers
Showing
drivers/power/axp221.c
0 → 100644
include/axp221.h
0 → 100644
想要评论请 注册 或 登录