sunxi: axp: Add support for i2c based PMICs to the pmic-bus helpers
authorHans de Goede <hdegoede@redhat.com>
Sat, 25 Apr 2015 20:18:09 +0000 (22:18 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:53 +0000 (16:51 +0200)
commita536077def0295966452f290f7ce8f391e079966
treea6c0d74756e520837880e7f93b936ce5104e39c8
parent1d624a4f08d3a478e38ceb1a048c3da4982021df
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>
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/pmic_bus.c