From: Krzysztof Kozlowski <k...@kernel.org>

[ Upstream commit 1ac8893c4fa3d4a34915dc5cdab568a39db5086c ]

The Samsung PMIC 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: 1fed2252713e ("ARM: dts: fix pinctrl for s2mps11-irq on 
exynos5420-arndale-octa")
Signed-off-by: Krzysztof Kozlowski <k...@kernel.org>
Tested-by: Marek Szyprowski <m.szyprow...@samsung.com>
Link: https://lore.kernel.org/r/20201210212903.216728-5-k...@kernel.org
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts 
b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index a370857beac0d..fbaca74cbaea4 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -84,7 +84,7 @@
                reg = <0x66>;
 
                interrupt-parent = <&gpx3>;
-               interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+               interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
                pinctrl-names = "default";
                pinctrl-0 = <&s2mps11_irq>;
 
-- 
2.27.0



Reply via email to