OSDN Git Service

ARM: dts: msm: enable the chg-state-change IRQ for SMB138X
authorNicholas Troast <ntroast@codeaurora.org>
Mon, 16 Jan 2017 22:15:22 +0000 (14:15 -0800)
committerNicholas Troast <ntroast@codeaurora.org>
Sat, 11 Feb 2017 00:16:47 +0000 (16:16 -0800)
The chg-state-change IRQ will be used to notify when the parallel slave
charger changes its charge state. Enable it.

Change-Id: Ia57db8ec5f2263b62217c235725ee9caa07f86e4
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
arch/arm/boot/dts/qcom/msm-smb138x.dtsi

index 138fa2b..8edc1fc 100644 (file)
                                           "connector_temp_thr3",
                                           "charger_temp_max";
 
+                       qcom,chgr@1000 {
+                               reg = <0x1000 0x100>;
+                               interrupts = <0x10 0x1 IRQ_TYPE_EDGE_RISING>;
+                               interrupt-names = "chg-state-change";
+                       };
+
                        qcom,chgr-misc@1600 {
                                reg = <0x1600 0x100>;
                                interrupts = <0x16 0x1 IRQ_TYPE_EDGE_RISING>,