Skip to content

Commit ebc8240

Browse files
hrushikesh221jfvogel
authored andcommitted
arm64: dts: ti: k3-j722s-evm: Fix USB2.0_MUX_SEL to select Type-C
[ Upstream commit bc8d9e6 ] J722S SOC has two usb controllers USB0 and USB1. USB0 is brought out on the EVM as a stacked USB connector which has one Type-A and one Type-C port. These Type-A and Type-C ports are connected to MUX so only one of them can be enabled at a time. Commit under Fixes, tries to enable the USB0 instance of USB to interface with the Type-C port via the USB hub, by configuring the USB2.0_MUX_SEL to GPIO_ACTIVE_HIGH. But it is observed on J722S-EVM that Type-A port is enabled instead of Type-C port. Fix this by setting USB2.0_MUX_SEL to GPIO_ACTIVE_LOW to enable Type-C port. Fixes: 485705d ("arm64: dts: ti: k3-j722s: Enable PCIe and USB support on J722S-EVM") Signed-off-by: Hrushikesh Salunke <h-salunke@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20250116125726.2549489-1-h-salunke@ti.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Stable-dep-of: 65ba2a6e77e9 ("arm64: dts: ti: k3-j722s-evm: Fix USB gpio-hog level for Type-C") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 4a95cfc9a413343786ac8f17d95e4c0283b3bd91) Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
1 parent 310b010 commit ebc8240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/boot/dts/ti/k3-j722s-evm.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@
495495
p05-hog {
496496
/* P05 - USB2.0_MUX_SEL */
497497
gpio-hog;
498-
gpios = <5 GPIO_ACTIVE_HIGH>;
498+
gpios = <5 GPIO_ACTIVE_LOW>;
499499
output-high;
500500
};
501501

0 commit comments

Comments
 (0)