diff options
author | 2020-12-10 22:25:17 +0100 | |
---|---|---|
committer | 2021-03-07 20:56:16 +0100 | |
commit | 46799802136670e00498f19898f1635fbc85f583 (patch) | |
tree | f2df8873212a960952144287a9ffff3708739fc4 | |
parent | ARM: dts: exynos: add charger supply for I9100 (diff) | |
download | linux-dev-46799802136670e00498f19898f1635fbc85f583.tar.xz linux-dev-46799802136670e00498f19898f1635fbc85f583.zip |
ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100
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: 8620cc2f99b7 ("ARM: dts: exynos: Add devicetree file for the Galaxy S2")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201210212534.216197-1-krzk@kernel.org
-rw-r--r-- | arch/arm/boot/dts/exynos4210-i9100.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts index dad950daafb4..eb2570e447a1 100644 --- a/arch/arm/boot/dts/exynos4210-i9100.dts +++ b/arch/arm/boot/dts/exynos4210-i9100.dts @@ -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"; |