Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: imx8qm-mek: fix mux-controller select/enable-gpios polarity

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>

authored by

Xu Yang and committed by
Shawn Guo
e89ee355 1b033463

+2 -2
+2 -2
arch/arm64/boot/dts/freescale/imx8qm-mek.dts
··· 217 217 compatible = "nxp,cbdtu02043", "gpio-sbu-mux"; 218 218 pinctrl-names = "default"; 219 219 pinctrl-0 = <&pinctrl_typec_mux>; 220 - select-gpios = <&lsio_gpio4 6 GPIO_ACTIVE_LOW>; 221 - enable-gpios = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>; 220 + select-gpios = <&lsio_gpio4 6 GPIO_ACTIVE_HIGH>; 221 + enable-gpios = <&lsio_gpio4 19 GPIO_ACTIVE_LOW>; 222 222 orientation-switch; 223 223 224 224 port {