summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/sunxi/Makefile
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-04-25 22:18:09 +0200
committerHans de Goede <hdegoede@redhat.com>2015-05-04 16:51:53 +0200
commita536077def0295966452f290f7ce8f391e079966 (patch)
treea6c0d74756e520837880e7f93b936ce5104e39c8 /arch/arm/cpu/armv7/sunxi/Makefile
parent1d624a4f08d3a478e38ceb1a048c3da4982021df (diff)
downloadtalos-obmc-uboot-a536077def0295966452f290f7ce8f391e079966.tar.gz
talos-obmc-uboot-a536077def0295966452f290f7ce8f391e079966.zip
sunxi: axp: Add support for i2c based PMICs to the pmic-bus helpers
Add support for the axp152 and axp209 PMICs to the pmic register access helpers. This is a preparation patch for moving the axp gpio code to a separate gpio driver. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/Makefile')
-rw-r--r--arch/arm/cpu/armv7/sunxi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/Makefile b/arch/arm/cpu/armv7/sunxi/Makefile
index 9a1eeec3bb..f1b619b4dc 100644
--- a/arch/arm/cpu/armv7/sunxi/Makefile
+++ b/arch/arm/cpu/armv7/sunxi/Makefile
@@ -27,6 +27,8 @@ obj-$(CONFIG_MACH_SUN7I) += clock_sun4i.o
obj-$(CONFIG_MACH_SUN8I) += clock_sun6i.o
obj-$(CONFIG_MACH_SUN9I) += clock_sun9i.o
+obj-$(CONFIG_AXP152_POWER) += pmic_bus.o
+obj-$(CONFIG_AXP209_POWER) += pmic_bus.o
obj-$(CONFIG_AXP221_POWER) += pmic_bus.o
ifndef CONFIG_SPL_BUILD
OpenPOWER on IntegriCloud