aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/devices.c')
-rwxr-xr-xarch/arm/mach-ux500/devices.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices.c b/arch/arm/mach-ux500/devices.c
index 943a2de145f..22e7884858a 100755
--- a/arch/arm/mach-ux500/devices.c
+++ b/arch/arm/mach-ux500/devices.c
@@ -808,6 +808,10 @@ static struct platform_device db8500_vana_regulator_dev = {
},
};
+#ifdef CONFIG_SENSORS1P_MOP
+extern struct platform_device sensors1p_device;
+#endif
+
/* VAUX1 supply */
#define AB8500_VAUXN_LDO_MIN_VOLTAGE (1100000)
#define AB8500_VAUXN_LDO_MAX_VOLTAGE (3300000)
@@ -837,6 +841,17 @@ static struct regulator_consumer_supply ab8500_vaux1_consumers[] = {
.supply = "v-mcde",
},
#endif
+#ifdef CONFIG_SENSORS1P_MOP
+ {
+ .dev = &sensors1p_device.dev,
+ .supply = "v-proximity",
+ },
+ {
+ .dev = &sensors1p_device.dev,
+ .supply = "v-hal",
+ },
+#endif
+
};
static struct regulator_init_data ab8500_vaux1_init = {