Commit Graph

4 Commits

Author SHA1 Message Date
Amy Maloche 54c21dca03 leds: leds-pm8xxx: enable setting of max current for individual string
Max current for all wleds will still be used to set
general properties, such as max brightness, but for
each string an individual max can be set.

CRs-Fixed: 377988
Change-Id: I73284176b04e016e315d36d680cef02119dec370
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-04 16:03:24 -07:00
Amy Maloche b04222df08 leds: leds-pm8xxx: Add individual WLED string control
Add ability to choose which WLEDs to turn on, instead of
only 1, 2 or 3 starting from the left side.

Change-Id: I1c2ae88e9150801d98f9f85bbc4d2edf693de658
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-04 16:03:23 -07:00
Amy Maloche 2087a1e3d4 leds: leds-pm8xxx: Add CABC support for backlight control
Content adaptive backlight control (CABC) support is needed to
control backlight by external PWM.  It can be enabled by setting
"cabc_en = true" in the platform data wled_cfg structure.

CRs-fixed: 379347
Change-Id: If30defd3a3ca61283233c97ab26f255a3a62ad7c
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-09-04 15:14:14 -07:00
Trilok Soni c8b587ac84 led: pm8xxx: Add pm8xxx leds driver
Add support for Qualcomm PMIC8XXX keyboard
backlight, flash and low current leds.

Change-Id: I460480e0c7f98da4cb27c76ca7ac65807df74a7f
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-09-04 14:48:19 -07:00