]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: dts: exynos: correct PMIC interrupt trigger level on P4 Note family
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 10 Dec 2020 21:25:23 +0000 (22:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 08:49:34 +0000 (10:49 +0200)
commitcccad309c8505cdbfaa54d3a783bb5996b90ae59
treebe70b92b60feef93a90fd1265ca324b3f70c62b4
parentd3d5e8102c055942afe149cc7ef5cc9db6a0a010
ARM: dts: exynos: correct PMIC interrupt trigger level on P4 Note family

[ Upstream commit fbe9c9bb2e929865500a0985735f81c0142accad ]

The Maxim PMIC datasheets describe the interrupt line as active low
with a requirement of acknowledge from the CPU.  Without specifying the
interrupt type in Devicetree, kernel might apply some fixed
configuration, not necessarily working for this hardware.

Additionally, the interrupt line is shared so using level sensitive
interrupt is here especially important to avoid races.

Fixes: f48b5050c301 ("ARM: dts: exynos: add Samsung's Exynos4412-based P4 Note boards")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201210212534.216197-7-krzk@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/exynos4412-p4note.dtsi