]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: imx8ulp-evk: Correct Type-C int GPIO flags
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 13 Apr 2026 09:07:24 +0000 (11:07 +0200)
committerFrank Li <Frank.Li@nxp.com>
Tue, 19 May 2026 18:13:56 +0000 (14:13 -0400)
commitb4f5c46163b3fe3ec7ed8a76dff8b7e80a776a1f
tree7f3002dbdd12876258faef21be046d732336f9ca
parentff0f8a2c2aadc467a61a664c7a81ededc2bb46bc
arm64: dts: imx8ulp-evk: Correct Type-C int GPIO flags

IRQ_TYPE_xxx flags are not correct in the context of GPIO flags.
These are simple defines so they could be used in DTS but they will not
have the same meaning: IRQ_TYPE_EDGE_FALLING = 2 = GPIO_SINGLE_ENDED.

Correct the Type-C int-gpios to use proper flags, assuming the author of
the code wanted similar logical behavior:

  IRQ_TYPE_EDGE_FALLING => GPIO_ACTIVE_LOW

Fixes: c4b4593ecb0b ("arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/imx8ulp-evk.dts