diff options
author | Courtney Cavin <courtney.cavin@sonymobile.com> | 2015-07-30 10:53:57 -0700 |
---|---|---|
committer | Andy Gross <agross@codeaurora.org> | 2015-10-13 16:40:02 -0500 |
commit | 982afd8ba51153327c6d9dcacda6d0f3c5e2f5e2 (patch) | |
tree | 5c69961d8059247cca918fc2124d707379da7414 /arch/arm/boot/dts/qcom-pm8941.dtsi | |
parent | adb9c60796dba2b2be83f75c7cec59cff11d94ad (diff) | |
download | linux-982afd8ba51153327c6d9dcacda6d0f3c5e2f5e2.tar.gz |
ARM: dts: qcom-pm8941: Add charger node
Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-pm8941.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-pm8941.dtsi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index 0fe1080aeb20..b0d443999fcc 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi @@ -26,6 +26,27 @@ bias-pull-up; }; + charger@1000 { + compatible = "qcom,pm8941-charger"; + reg = <0x1000 0x700>; + interrupts = <0x0 0x10 7 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x10 5 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x10 4 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x12 1 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x12 0 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x13 2 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x13 1 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x14 1 IRQ_TYPE_EDGE_BOTH>; + interrupt-names = "chg-done", + "chg-fast", + "chg-trkl", + "bat-temp-ok", + "bat-present", + "chg-gone", + "usb-valid", + "dc-valid"; + }; + pm8941_gpios: gpios@c000 { compatible = "qcom,pm8941-gpio"; reg = <0xc000 0x2400>; |