arm64: dts: imx8mm-var-som-symphony: fix ptn5150 interrupts
diff mbox series

Message ID 20200917184131.2087-1-krzk@kernel.org
State Accepted
Commit 1d93b292af67e1848a87991c59be6929187cba23
Headers show
Series
  • arm64: dts: imx8mm-var-som-symphony: fix ptn5150 interrupts
Related show

Commit Message

Krzysztof Kozlowski Sept. 17, 2020, 6:41 p.m. UTC
Conversion of int-gpios into interrupts property requires also
interrupt-parent and uses different flags.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Shawn Guo Sept. 22, 2020, 6:28 a.m. UTC | #1
On Thu, Sep 17, 2020 at 08:41:31PM +0200, Krzysztof Kozlowski wrote:
> Conversion of int-gpios into interrupts property requires also
> interrupt-parent and uses different flags.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Applied, thanks.

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dts
index 630a7ee159e3..a56f602ba0a3 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dts
@@ -113,7 +113,8 @@ 
 	extcon_usbotg1: typec@3d {
 		compatible = "nxp,ptn5150";
 		reg = <0x3d>;
-		interrupts = <&gpio1 11 GPIO_ACTIVE_LOW>;
+		interrupt-parent = <&gpio1>;
+		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_ptn5150>;
 		status = "okay";