]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
arm64: dts: imx8mm-var-som-symphony: fix ptn5150 interrupts
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 17 Sep 2020 18:41:31 +0000 (20:41 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 22 Sep 2020 09:06:04 +0000 (17:06 +0800)
Conversion of int-gpios into interrupts property requires also
interrupt-parent and uses different flags.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dts

index daaed1a525a94bc9b544a5091d0c239a162a337b..6f998d57aafa84dde9dfe6637a21121c8eab183c 100644 (file)
        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";