From: Lee Jones Date: Thu, 21 Mar 2013 15:59:21 +0000 (+0000) Subject: ARM: ux500: regulator: Add accelerometer and fix magnetometer supply device ID X-Git-Tag: v3.10-rc1~186^2~25^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb6795acdf5b46047d30e60f299506fc97cb3468;p=profile%2Fivi%2Fkernel-x86-ivi.git ARM: ux500: regulator: Add accelerometer and fix magnetometer supply device ID 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 Signed-off-by: Mark Brown --- diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 3d899c5..035b92f 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -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"),