diff mbox series

[3/9] ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato

Message ID 20201210212903.216728-3-krzk@kernel.org
State Accepted
Commit 437ae60947716bb479e2f32466f49445c0509b1e
Headers show
Series [1/9] ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5 | expand

Commit Message

Krzysztof Kozlowski Dec. 10, 2020, 9:28 p.m. UTC
The Samsung 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.

Fixes: faaf348ef468 ("ARM: dts: Add board dts file for exynos3250-rinato")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm/boot/dts/exynos3250-rinato.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marek Szyprowski Dec. 11, 2020, 3:49 p.m. UTC | #1
On 10.12.2020 22:28, Krzysztof Kozlowski wrote:
> The Samsung 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.

>

> Fixes: faaf348ef468 ("ARM: dts: Add board dts file for exynos3250-rinato")

> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

> ---

>   arch/arm/boot/dts/exynos3250-rinato.dts | 2 +-

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>

>   1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts

> index a26e3e582a7e..d64ccf4b7d32 100644

> --- a/arch/arm/boot/dts/exynos3250-rinato.dts

> +++ b/arch/arm/boot/dts/exynos3250-rinato.dts

> @@ -270,7 +270,7 @@ &i2c_0 {

>   	pmic@66 {

>   		compatible = "samsung,s2mps14-pmic";

>   		interrupt-parent = <&gpx0>;

> -		interrupts = <7 IRQ_TYPE_NONE>;

> +		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;

>   		reg = <0x66>;

>   		wakeup-source;

>   


Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts
index a26e3e582a7e..d64ccf4b7d32 100644
--- a/arch/arm/boot/dts/exynos3250-rinato.dts
+++ b/arch/arm/boot/dts/exynos3250-rinato.dts
@@ -270,7 +270,7 @@  &i2c_0 {
 	pmic@66 {
 		compatible = "samsung,s2mps14-pmic";
 		interrupt-parent = <&gpx0>;
-		interrupts = <7 IRQ_TYPE_NONE>;
+		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
 		reg = <0x66>;
 		wakeup-source;