summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-08-24 14:09:08 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-26 18:21:40 -0700
commit9b32ac8b25e8f032066c99f24d9e36050414c795 (patch)
treec33a43fa29b424b53f115cec22b455814d15ba12 /Documentation
parent7a1b6d0276828f270180db40935bb034a3470865 (diff)
leds: qpnp-wled: Update AMOLED_VOUT programming
For newer PMICs like pmicobalt, AMOLED_VOUT can be programmed via independent registers. Also the option to configure AVDD voltage through SWIRE and SPMI mode is present. Add support to program the AVDD voltage and mode through these registers. AVDD TRIM adjustment is needed only for pmi8952 and pmi8994. It is not needed for pmicobalt. Support it. CRs-Fixed: 1051250 Change-Id: Ia5cc4a6bbf6b6d0d86e13cec7da167f8a49b859d Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org> Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt b/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
index 1ca2b6dd6d5c..6795b8a18ff4 100644
--- a/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
+++ b/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
@@ -61,10 +61,13 @@ Optional properties if 'qcom,disp-type-amoled' is mentioned in DT:
- qcom,loop-ea-gm : control the gm for gm stage in control loop. default is 3.
- qcom,loop-comp-res-kohm : control to select the compensation resistor in kohm. default is 320.
- qcom,vref-psm-mv : reference psm voltage in mv. default for amoled is 450.
-- qcom,avdd-target-voltage-mv: The target voltage desired for the AVDD module in mV.
- The supported values are:
- 7900, 7600, 7300, 6400, 6100, 5800.
- If not specified, default value used is 7600.
+- qcom,avdd-mode-spmi: Boolean property to enable AMOLED_VOUT programming via SPMI. If not specified,
+ AMOLED_VOUT is programmed via S-wire. This can be specified only for newer
+ PMICs like pmicobalt/pm2falcon.
+- qcom,avdd-target-voltage-mv: The voltage required for AMOLED_VOUT. Accepted values are in the range
+ of 5650 to 7900 in steps of 150. Default value is 7600. Unit is in mV.
+ For old revisions, accepted values are: 7900, 7600, 7300, 6400, 6100,
+ 5800.
Example:
qcom,leds@d800 {