All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: exynos: Correct the MAX8997 interrupts on the Trats board
       [not found] <CGME20200326150814eucas1p1e4133a361a23385aa3fdf940980bdfce@eucas1p1.samsung.com>
@ 2020-03-26 15:08 ` Marek Szyprowski
  2020-03-27 12:37   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Szyprowski @ 2020-03-26 15:08 UTC (permalink / raw)
  To: linux-samsung-soc
  Cc: Marek Szyprowski, Krzysztof Kozlowski, Chanwoo Choi,
	Bartlomiej Zolnierkiewicz

Remove the 'interrupts' and 'interrupts-parent' properties, which have
been superseded by the interrupts-extended property. While touching this,
fix the interrupts flags to correctly describe the hardware.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 arch/arm/boot/dts/exynos4210-trats.dts | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index c15c6d7cd352..3d791db6095c 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -285,11 +285,10 @@
 
 	max8997_pmic@66 {
 		compatible = "maxim,max8997-pmic";
-		interrupts-extended = <&gpx0 7 0>, <&gpx2 3 0>;
 
 		reg = <0x66>;
-		interrupt-parent = <&gpx0>;
-		interrupts = <7 IRQ_TYPE_NONE>;
+		interrupts-extended = <&gpx0 7 IRQ_TYPE_LEVEL_LOW>,
+				      <&gpx2 3 IRQ_TYPE_EDGE_FALLING>;
 
 		max8997,pmic-buck1-uses-gpio-dvs;
 		max8997,pmic-buck2-uses-gpio-dvs;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: exynos: Correct the MAX8997 interrupts on the Trats board
  2020-03-26 15:08 ` [PATCH] ARM: dts: exynos: Correct the MAX8997 interrupts on the Trats board Marek Szyprowski
@ 2020-03-27 12:37   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-03-27 12:37 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: linux-samsung-soc, Chanwoo Choi, Bartlomiej Zolnierkiewicz

On Thu, Mar 26, 2020 at 04:08:06PM +0100, Marek Szyprowski wrote:
> Remove the 'interrupts' and 'interrupts-parent' properties, which have
> been superseded by the interrupts-extended property. While touching this,
> fix the interrupts flags to correctly describe the hardware.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  arch/arm/boot/dts/exynos4210-trats.dts | 5 ++---

Thanks, applied.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-27 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20200326150814eucas1p1e4133a361a23385aa3fdf940980bdfce@eucas1p1.samsung.com>
2020-03-26 15:08 ` [PATCH] ARM: dts: exynos: Correct the MAX8997 interrupts on the Trats board Marek Szyprowski
2020-03-27 12:37   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.