phy: ti: j721e-wiz: Manage TypeC lane swap if typec-dir-gpios not specified
authorSinthu Raja <sinthu.raja@ti.com>
Mon, 13 Mar 2023 12:42:23 +0000 (18:12 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 29 Mar 2023 17:30:29 +0000 (13:30 -0400)
commit75b6cd97dd41b11c212fccf545e346c38248f8a2
treef29855a081db01571e85b3048cf4c4bbdb5e4d49
parente44657ed744d1b4e216d8dda5d528ff0d0a6234e
phy: ti: j721e-wiz: Manage TypeC lane swap if typec-dir-gpios not specified

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-dir-gpios property.

Add code to handle LN10 Type-C swap if typec-dir-gpios property is not
specified in DT.

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
drivers/phy/ti/phy-j721e-wiz.c