summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHimanshu Aggarwal <haggarwa@codeaurora.org>2015-12-21 13:08:17 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:21:49 -0700
commitfadba675b345a7d94ff252c0fa541da30e908bf3 (patch)
tree205300698786ce91f27c07efb78eed523c5a9c77 /Documentation
parentccdfa0f245814b5b848ef69b075ea921d090e2f1 (diff)
leds: qpnp-wled: add support for configuring sc debounce cycles
Add support for configuring short circuit debounce cycles in both LCD mode and AMOLED mode. Also, when configuring the WLED SHORT_PROTECT register, the bits corresponding to DBNC_SHORT bit fields are incorrectly written, so correct the corresponding bitmask and the associated code logic to avoid this. Add an explicit SPMI write to WLED1_CTRL_SOFTSTART_RAMP_DELAY register as well for LCD mode. Change-Id: Ibae8926262c52c8db3d04ab355651e5df44ec090 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt b/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
index 5df3f06763a9..8389fe57898a 100644
--- a/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
+++ b/Documentation/devicetree/bindings/leds/leds-qpnp-wled.txt
@@ -48,12 +48,12 @@ Optional properties for WLED:
- qcom,en-ext-pfet-sc-pro : Specify if external pfet short circuit protection is needed
- qcom,cons-sync-write-delay-us : Specify in 'us' the duration of delay between two consecutive writes to
SYNC register.
+- qcom,sc-deb-cycles : debounce time for short circuit detection
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,sc-deb-cycles : debounce time for short circuit detection
- qcom,avdd-trim-steps-from-center : The number of steps to trim the OVP threshold voltage. The possible values can be between -7 to 8.
Example: