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

Message ID 20221213124854.3779-1-sinthu.raja@ti.com
Headers
Series phy: ti: j721e-wiz: Add support to manage type-C swap on Lane2 and lane3 |

Message

Sinthu Raja Dec. 13, 2022, 12:48 p.m. UTC
  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(-)