[PATCH v6 0/7] Register Type-C mode-switch in DP bridge endpoints

From: Pin-yen Lin
Date: Thu Nov 24 2022 - 05:21:17 EST



This series introduces bindings for anx7625/it6505 to register Type-C
mode-switch in their output endpoints, and use data-lanes property to
describe the pin connections.

The first two patch modifies fwnode_graph_devcon_matches and
cros_typec_init_ports to enable the registration of the switches.

Patch 3~5 introduce the bindings for anx7625 and the corresponding driver
modifications.

Patch 6~7 add similar bindings and driver changes for it6505.

v5: https://lore.kernel.org/linux-usb/20220622173605.1168416-1-pmalani@xxxxxxxxxxxx/


Changes in v6:
- Dropped typec-switch binding and use endpoints and data-lanes properties
to describe the pin connections
- Changed the driver implementation to accommodate with the new bindings
- Changed it6505_typec_mux_set callback function to accommodate with
the latest drm-misc patches
- Added new patches (patch 1,2,4) to fix probing issues
- Merged it6505/anx7625 driver changes into a single patch

Pin-yen Lin (5):
dt-bindings: drm/bridge: anx7625: Add mode-switch support
drm/bridge: anx7625: Check for Type-C during panel registration
drm/bridge: anx7625: Register Type C mode switches
dt/bindings: drm/bridge: it6505: Add mode-switch support
drm/bridge: it6505: Register Type C mode switches

Prashant Malani (2):
device property: Add remote endpoint to devcon matcher
platform/chrome: cros_ec_typec: Purge blocking switch devlinks

.../display/bridge/analogix,anx7625.yaml | 73 ++++++-
.../bindings/display/bridge/ite,it6505.yaml | 94 +++++++-
drivers/base/property.c | 15 ++
drivers/gpu/drm/bridge/Kconfig | 1 +
drivers/gpu/drm/bridge/analogix/Kconfig | 1 +
drivers/gpu/drm/bridge/analogix/anx7625.c | 182 +++++++++++++++-
drivers/gpu/drm/bridge/analogix/anx7625.h | 20 ++
drivers/gpu/drm/bridge/ite-it6505.c | 205 +++++++++++++++++-
drivers/platform/chrome/cros_ec_typec.c | 9 +
9 files changed, 589 insertions(+), 11 deletions(-)

--
2.38.1.584.g0f3c55d4c2-goog