ANX7625 can be used to mux converted video stream with the USB signals
on a Type-C connector. Provide minimal Type-C support necessary for
ANX7625 to register the Type-C port device and properly respond to data
/ power role events from the Type-C partner.
Notes:
- I'm not 100% happy having Type-C code in the DRM subtree. Should I use
AUX device and to move Type-C-related code to drivers/usb/typec?
- Current code doesn't register a Type-C partner device. Would it be
okay or should it be registered?
- The code to change data / power roles from the device isn't a part of
the series, I'll include it once we settle on the first two items.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Dmitry Baryshkov (2):
dt-bindings: drm/bridge: anx7625: describe Type-C connector
drm: bridge: anx7625: implement minimal Type-C support
.../bindings/display/bridge/analogix,anx7625.yaml | 98 ++++++++++++-
drivers/gpu/drm/bridge/analogix/Kconfig | 1 +
drivers/gpu/drm/bridge/analogix/anx7625.c | 163 ++++++++++++++++++++-
drivers/gpu/drm/bridge/analogix/anx7625.h | 21 ++-
4 files changed, 272 insertions(+), 11 deletions(-)
---
base-commit: 92fd6e84175befa1775e5c0ab682938eca27c0b2
change-id: 20251126-anx7625-typec-07d455f423da
Best regards,
--
With best wishes
Dmitry