summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDevesh Jhunjhunwala <deveshj@codeaurora.org>2016-06-03 12:29:13 -0700
committerDevesh Jhunjhunwala <deveshj@codeaurora.org>2016-07-28 09:54:24 -0700
commit6b49283ec846e9fd68244e5fae0ee19865042d7a (patch)
tree4315305d60ecb9dad76a984114ff815a70201f7f /arch
parent6820e0c51b9631fd1963386c6228725dbf3365dd (diff)
ARM: dts: msm: Add interrupts to flash-led device for pmicobalt
Add the all-ramp-up-done and all-ramp-down-done interrupts to the flash-led device for pmicobalt. These interrupts will be used to notify the flash-led clients when all leds have completed ramping up or down after the flash is triggered. CRs-Fixed: 921325 Change-Id: I39a6ba34e43dab8035bf232d0e640e72d7a34575 Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi
index 47ba50ab8270..1cce033743fc 100644
--- a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi
+++ b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi
@@ -634,6 +634,10 @@
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",
+ "all-ramp-up-done-irq";
qcom,hdrm-auto-mode;
qcom,isc-delay = <192>;