]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: axp: Move axp pmic register helpers to a separate file
authorHans de Goede <hdegoede@redhat.com>
Sat, 25 Apr 2015 12:07:37 +0000 (14:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:20 +0000 (22:35 +0200)
commit97966b2597773c760f78e1209621d897e37c0c98
tree4211601b50972b7d9fbc2428db470f671de35d82
parent99f2b3be99426e4247c80d6112dd68bb35746f8c
sunxi: axp: Move axp pmic register helpers to a separate file

Move the register helpers used to access the registers via p2wi resp.
rsb bus on the otherwise identical axp221 and axp223 pmics to a separate
file, so that they can be used by the upcoming standalone axp gpio driver
too.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/pmic_bus.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/pmic_bus.h [new file with mode: 0644]
drivers/power/axp221.c
include/axp221.h