]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8qm-mek: fix mux-controller select/enable-gpios polarity
authorXu Yang <xu.yang_2@nxp.com>
Thu, 13 Nov 2025 11:14:44 +0000 (19:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2025 21:27:36 +0000 (06:27 +0900)
commit e89ee35567d3d465ef0715953170be72f5ef1d4c upstream.

According to the board design, set SEL to high means flipped
connection (TX2/RX2). And the TCPM will output logical 1 if it needs
flipped connection. So switch to active high for select-gpios.
The EN pin on mux chip is low active, so switch to active low for
enable-gpios too.

Fixes: b237975b2cd5 ("arm64: dts: imx8qm-mek: add usb 3.0 and related type C nodes")
Cc: stable@vger.kernel.org
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/freescale/imx8qm-mek.dts

index 95523c5381357b66a9d79a2c90926e6dd1b921d0..5f1cbc9be1a2b121779a52c953fe031de9c0a5b4 100644 (file)
                compatible = "nxp,cbdtu02043", "gpio-sbu-mux";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_typec_mux>;
-               select-gpios = <&lsio_gpio4 6 GPIO_ACTIVE_LOW>;
-               enable-gpios = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>;
+               select-gpios = <&lsio_gpio4 6 GPIO_ACTIVE_HIGH>;
+               enable-gpios = <&lsio_gpio4 19 GPIO_ACTIVE_LOW>;
                orientation-switch;
 
                port {