diff options
| author | Devesh Jhunjhunwala <deveshj@codeaurora.org> | 2016-07-19 15:43:32 -0700 |
|---|---|---|
| committer | Devesh Jhunjhunwala <deveshj@codeaurora.org> | 2016-07-29 11:24:27 -0700 |
| commit | ce47dd613490e2ec8f1ade16a2d65a1e9452fddd (patch) | |
| tree | 234d7f159dd3711b1d509b4a9e214e532937effb | |
| parent | 88e140010a6cf69d4c8b39c09c1b51e9c4be00d9 (diff) | |
ARM: dts: msm: Enable droop and fault detection for pmicobalt flash LED
Add device tree properties to enable detection of VPH droop,
short circuit and open circuit faults for flash LED on pmicobalt.
CRs-Fixed: 1024187
Change-Id: I13cf07b36f7bb890a71bedb9998a937e2c60ecb0
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
| -rw-r--r-- | arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi index 1cce033743fc..75f3cd3e06ec 100644 --- a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi +++ b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi @@ -634,11 +634,16 @@ status = "okay"; reg = <0xd300 0x100>; label = "flash"; - interrupts = <0x3 0xd3 0x3 IRQ_TYPE_EDGE_RISING>, - <0x3 0xd3 0x4 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "all-ramp-down-done-irq", + interrupts = <0x3 0xd3 0x0 IRQ_TYPE_EDGE_RISING>, + <0x3 0xd3 0x3 IRQ_TYPE_EDGE_RISING>, + <0x3 0xd3 0x4 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "led-fault-irq", + "all-ramp-down-done-irq", "all-ramp-up-done-irq"; qcom,hdrm-auto-mode; + qcom,short-circuit-det; + qcom,open-circuit-det; + qcom,vph-droop-det; qcom,isc-delay = <192>; pmicobalt_flash0: qcom,flash_0 { |
