summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-12-10 22:25:26 +0100
committerKrzysztof Kozlowski <krzk@kernel.org>2021-03-07 20:56:18 +0100
commit214e6ec8c9f5a3353d3282b3ff475d3ee86cc21a (patch)
tree7fc556d44fa9b3c17a4277a5d6033b515b0ea4f6
parent8987efbb17c2522be8615085df9a14da2ab53d34 (diff)
downloadlwn-214e6ec8c9f5a3353d3282b3ff475d3ee86cc21a.tar.gz
lwn-214e6ec8c9f5a3353d3282b3ff475d3ee86cc21a.zip
ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family
The Maxim fuel gauge datasheets describe the interrupt line as active low with a requirement of acknowledge from the CPU. The falling edge interrupt will mostly work but it's not correct. Fixes: 99bb20321f0e ("ARM: dts: s5pv210: Correct fuelgauge definition on Aries") Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20201210212534.216197-10-krzk@kernel.org
-rw-r--r--arch/arm/boot/dts/s5pv210-fascinate4g.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/s5pv210-fascinate4g.dts b/arch/arm/boot/dts/s5pv210-fascinate4g.dts
index ca064359dd30..b47d8300e536 100644
--- a/arch/arm/boot/dts/s5pv210-fascinate4g.dts
+++ b/arch/arm/boot/dts/s5pv210-fascinate4g.dts
@@ -115,7 +115,7 @@
compatible = "maxim,max77836-battery";
interrupt-parent = <&gph3>;
- interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+ interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&fg_irq>;