summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-21 12:49:51 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-26 18:23:44 -0700
commit016b80785fccbbe52c91ac763b3e666a31462431 (patch)
tree24746b2d0f98dce2482e5ecb011d38cb4955cc14 /Documentation
parent9b32ac8b25e8f032066c99f24d9e36050414c795 (diff)
leds: qpnp-wled: add support for configuring ILIM in pmicobalt
Currently, current limit (ILIM) for WLED is configured only for pmi8994. ILIM levels differs in pmicobalt. Also, the step size assumed before cannot go well with the different levels. Default ILIM value differs for LCD and AMOLED mode. Taking this all into account, add a separate function to configure ILIM for different PMIC subtypes. Change-Id: Ibc69706ae1dc878de5cbdaf283f0d71aff8000a1 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt b/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
index 6795b8a18ff4..ebbcfe5b2fd0 100644
--- a/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
+++ b/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
@@ -33,7 +33,15 @@ Optional properties for WLED:
- 31100, 29600, 19600, 18100 for pmicobalt/pm2falcon.
Should only be used if qcom,disp-type-amoled is not
specified.
-- qcom,ilim-ma : maximum current limiter in ma. default is 980.
+- qcom,ilim-ma : Current limit threshold in mA.
+ For pmi8994/8952/8996, default value for LCD is 980mA
+ and AMOLED is 385mA.
+ Supported values are:
+ - 105, 385, 660, 980, 1150, 1420, 1700, 1980.
+ For pmicobalt/pm2falcon, default value for LCD is
+ 970mA and AMOLED is 620mA.
+ Supported values are:
+ - 105, 280, 450, 620, 970, 1150, 1300, 1500.
- qcom,boost-duty-ns : maximum boost duty cycle in ns. default is 104.
- qcom,mod-freq-khz : modulation frequency in khz. default is 9600.
- qcom,dim-mode : dimming mode. supporting dimming modes are "analog",