[PATCH] arm64: dts: ti: k3-j722s-evm: Fix USB gpio-hog level for Type-C

Siddharth Vadapalli posted 1 patch 3 months, 2 weeks ago
arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: dts: ti: k3-j722s-evm: Fix USB gpio-hog level for Type-C
Posted by Siddharth Vadapalli 3 months, 2 weeks ago
According to the "GPIO Expander Map / Table" section of the J722S EVM
Schematic within the Evaluation Module Design Files package [0], the
GPIO Pin P05 located on the GPIO Expander 1 (I2C0/0x23) has to be pulled
down to select the Type-C interface. Since commit under Fixes claims to
enable the Type-C interface, update the property within "p05-hog" from
"output-high" to "output-low", thereby switching from the Type-A
interface to the Type-C interface.

[0]: https://www.ti.com/lit/zip/sprr495
Cc: <stable@vger.kernel.org>
Fixes: 485705df5d5f ("arm64: dts: ti: k3-j722s: Enable PCIe and USB support on J722S-EVM")
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---

Hello,

This patch is based on commit
86731a2a651e Linux 6.16-rc3
of Mainline Linux.

Regards,
Siddharth.

 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
index a47852fdca70..d0533723412a 100644
--- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
@@ -634,7 +634,7 @@ p05-hog {
 			/* P05 - USB2.0_MUX_SEL */
 			gpio-hog;
 			gpios = <5 GPIO_ACTIVE_LOW>;
-			output-high;
+			output-low;
 		};
 
 		p01_hog: p01-hog {
-- 
2.34.1
Re: [PATCH] arm64: dts: ti: k3-j722s-evm: Fix USB gpio-hog level for Type-C
Posted by Vignesh Raghavendra 3 months ago
Hi Siddharth Vadapalli,

On Mon, 23 Jun 2025 15:36:57 +0530, Siddharth Vadapalli wrote:
> According to the "GPIO Expander Map / Table" section of the J722S EVM
> Schematic within the Evaluation Module Design Files package [0], the
> GPIO Pin P05 located on the GPIO Expander 1 (I2C0/0x23) has to be pulled
> down to select the Type-C interface. Since commit under Fixes claims to
> enable the Type-C interface, update the property within "p05-hog" from
> "output-high" to "output-low", thereby switching from the Type-A
> interface to the Type-C interface.
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-j722s-evm: Fix USB gpio-hog level for Type-C
      commit: 65ba2a6e77e9e5c843a591055789050e77b5c65e

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh