msm: board-8930-pmic: Add default configuration for LED anode power source
The SMBC HW automatically turns on the charger LED during HW-controlled
Auto Trickle Charging (ATC). After system boots up, charger SW needs
to manually turn on the charger LED since the anode is connected to GND
by default. Add configuration to connect the LED anode power source
to VPH_PWR by default.
Change-Id: I3984d747e725c0cb067ae7bda84626b132b2ffcb
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8930-pmic.c b/arch/arm/mach-msm/board-8930-pmic.c
index beec7fd..1ca1902 100644
--- a/arch/arm/mach-msm/board-8930-pmic.c
+++ b/arch/arm/mach-msm/board-8930-pmic.c
@@ -223,6 +223,7 @@
.warm_bat_voltage = 4100,
.thermal_mitigation = pm8921_therm_mitigation,
.thermal_levels = ARRAY_SIZE(pm8921_therm_mitigation),
+ .led_src_config = LED_SRC_VPH_PWR,
};
#define PM8038_WLED_MAX_CURRENT 25