mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 18:27:36 +00:00
ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas 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: e8614292cd ("ARM: dts: Add Maxim 77693 fuel gauge node for exynos4412-trats2")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201210212534.216197-3-krzk@kernel.org
This commit is contained in:
@@ -221,7 +221,7 @@
|
|||||||
fuel-gauge@36 {
|
fuel-gauge@36 {
|
||||||
compatible = "maxim,max17047";
|
compatible = "maxim,max17047";
|
||||||
interrupt-parent = <&gpx2>;
|
interrupt-parent = <&gpx2>;
|
||||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
|
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&max77693_fuel_irq>;
|
pinctrl-0 = <&max77693_fuel_irq>;
|
||||||
reg = <0x36>;
|
reg = <0x36>;
|
||||||
|
|||||||
Reference in New Issue
Block a user