[PATCH 0/2] phy: ti: j721e-wiz: Add support to manage type-C swap on Lane2 and lane3

From: Sinthu Raja
Date: Tue Dec 13 2022 - 07:49:19 EST


Hi All,
This series of patch add support to enable lane2 and lane3 swap by
configuring the LN23 bit. Also, it's possible that the Type-C plug orientation
on the DIR line will be implemented through hardware design. In that
situation, there won't be an external GPIO line available, but the
driver still needs to address this since the DT won't use the
typec-gpio-dir property. Update code to handle if typec-gpio-dir property
is not specified in DT.

Sinthu Raja (2):
phy: ti: j721e-wiz: Manage TypeC lane swap if typec-gpio-dir not
specified
phy: ti: j721e-wiz: Add support to enable LN23 Type-C swap

drivers/phy/ti/phy-j721e-wiz.c | 90 ++++++++++++++++++++++++----------
1 file changed, 65 insertions(+), 25 deletions(-)

--
2.36.1