OSDN Git Service

ARM: dts: msm: Add interrupts to flash-led device for pmicobalt
authorDevesh Jhunjhunwala <deveshj@codeaurora.org>
Fri, 3 Jun 2016 19:29:13 +0000 (12:29 -0700)
committerDevesh Jhunjhunwala <deveshj@codeaurora.org>
Thu, 28 Jul 2016 16:54:24 +0000 (09:54 -0700)
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>
arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi

index 47ba50a..1cce033 100644 (file)
                        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>;