Skip to content

Commit

Permalink
ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100
Browse files Browse the repository at this point in the history
[ Upstream commit 4679980 ]

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: 8620cc2 ("ARM: dts: exynos: Add devicetree file for the Galaxy S2")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
krzk authored and gregkh committed May 14, 2021
1 parent dff20fb commit 41fdefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos4210-i9100.dts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
compatible = "maxim,max17042";

interrupt-parent = <&gpx2>;
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;

pinctrl-0 = <&max17042_fuel_irq>;
pinctrl-names = "default";
Expand Down

0 comments on commit 41fdefb

Please sign in to comment.