ARM: ux500: regulator: Add accelerometer and fix magnetometer supply device ID
authorLee Jones <lee.jones@linaro.org>
Thu, 21 Mar 2013 15:59:21 +0000 (15:59 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 28 Mar 2013 00:14:19 +0000 (00:14 +0000)
This patch adds the LSM303DLHC Accelerometer to the list of VAUX1
consumers, as well as amending the already added LSM303DLHC
Magnetometer's device ID.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-ux500/board-mop500-regulators.c

index 3d899c5..035b92f 100644 (file)
@@ -65,8 +65,10 @@ static struct regulator_consumer_supply ab8500_vaux1_consumers[] = {
        REGULATOR_SUPPLY("vcc", "2-0029"),
        /* lsm303dlh accelerometer */
        REGULATOR_SUPPLY("vdd", "3-0018"),
+       /* lsm303dlhc accelerometer */
+       REGULATOR_SUPPLY("vdd", "2-0019"),
        /* lsm303dlh magnetometer */
-       REGULATOR_SUPPLY("vdd", "3-001e"),
+       REGULATOR_SUPPLY("vdd", "2-001e"),
        /* Rohm BU21013 Touchscreen devices */
        REGULATOR_SUPPLY("avdd", "3-005c"),
        REGULATOR_SUPPLY("avdd", "3-005d"),