Some of the register macros are incorrectly used. Fix
them to be used properly.
(cherry picked from commit 58ff4051ab7ec40d516ca82b6287a230260fe2ee)
CRs-fixed: 421968
Change-Id: I392ab2e7074a432d152aaa846adbae54ad51ba3a
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
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
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
(cherry picked from commit c366d5bfc380183e1c4f9877b2c8558098bd4281)
Change-Id: Iae7940d25d8754ab539d5ce1fa3f78972b5222d1
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
This maps android brightness level 0 to 255 into driver backlight
level 0 to board max brightness with roudning
Change-Id: I760881fc25d7799afe55df8d213533c19432e81f
Disable RGB module when the LED is turned off and enable the
module when the LED is on.
CRs-fixed: 381623
Change-Id: I0861c6a38fff19c9499d169deaa02d05696bd148
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
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>