diff options
author | Sumit Semwal <sumit.semwal@linaro.org> | 2019-08-07 18:12:03 +0530 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2020-07-14 16:36:29 +0530 |
commit | e47ecdc8440d5db1870c42dedfa75582f062ff3a (patch) | |
tree | 8f971c4aadb2a5e458f34784926a9ccae5ed435d | |
parent | 0e5b781485091bf7cbd18ad88c4f3a28d5f0b14e (diff) |
dts: qcom: 8998: Add support for backlight via qcom wled driver
backlight is supported via the qcom wled driver for sdm845. Add
support in pmi8998 dts for the same.
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/pmi8998.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi index 3230b78b8048..4e235df4a3dd 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -39,5 +39,25 @@ interrupt-names = "sc-err"; }; }; + + pmi8998_wled: qcom,leds@d800 { + compatible = "qcom,pmi8998-wled"; + reg = <0xd800 0xd900>; + interrupts = <0x3 0xd8 0x1 IRQ_TYPE_EDGE_RISING>, + <0x3 0xd8 0x2 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "ovp-irq", "sc-irq"; + label = "backlight"; + + qcom,switching-freq = <800>; + qcom,ovp-millivolt = <29600>; + qcom,current-boost-limit = <970>; + qcom,current-limit-microamp = <25000>; + qcom,num-strings = <4>; + qcom,enabled-strings = <0 1 2 3>; + qcom,qcom,external-pfet; + + status = "disabled"; + }; + }; }; |