summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-11-01 16:29:46 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-11-07 14:32:09 -0800
commit1ddf07d8e2648b4ad2bf294f84ca403cea2ba5c6 (patch)
tree977c82726c6d0fa884b6d38a39b167ea15d2c265 /arch
parent5652fdc60b50c46128a2c395058912d89f01e1f2 (diff)
qpnp-fg-gen3: update empty voltage threshold and empty SOC irq handling
As per the hardware characterization, update the battery empty voltage threshold to 2.8V. Since this moves the voltage little away from cutoff voltage, update the empty SOC interrupt handling to report SOC as 0. Since we only need the rising edge of empty SOC interrupt, modify the interrupt flag as well. Change-Id: I665a6f879af4e6b6e9f94b5464be7894d5ea67cb Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi
index a5243aff4282..64d85380c5dd 100644
--- a/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi
+++ b/arch/arm/boot/dts/qcom/msm-pmicobalt.dtsi
@@ -334,7 +334,8 @@
<0x2 0x40 0x2 IRQ_TYPE_EDGE_BOTH>,
<0x2 0x40 0x3 IRQ_TYPE_EDGE_BOTH>,
<0x2 0x40 0x4 IRQ_TYPE_EDGE_BOTH>,
- <0x2 0x40 0x5 IRQ_TYPE_EDGE_BOTH>,
+ <0x2 0x40 0x5
+ IRQ_TYPE_EDGE_RISING>,
<0x2 0x40 0x6 IRQ_TYPE_EDGE_BOTH>,
<0x2 0x40 0x7 IRQ_TYPE_EDGE_BOTH>;
interrupt-names = "soc-update",