This series adds support to retrieve Type C PD(Power Delivery) Discovery information from the Chrome OS EC, and register this information with the Type C connector class framework.
There are also a couple of patches which fix minor bugs with the existing cros-ec-typec driver. v1: https://lore.kernel.org/lkml/20201021205317.708008-1-pmal...@chromium.org/ Changes in v2: - Added missing static to function definition. - Changes alt mode list traversal based on review comments. - Rebased series on top of chrome-platform-5.11. Prashant Malani (7): platform/chrome: cros_ec_typec: Relocate set_port_params_v*() functions platform/chrome: cros_ec_typec: Fix remove partner logic platform/chrome: cros_ec_typec: Clear partner identity on device removal platform/chrome: cros_ec: Import Type C host commands platform/chrome: cros_ec_typec: Introduce TYPEC_STATUS platform/chrome: cros_ec_typec: Parse partner PD ID VDOs platform/chrome: cros_ec_typec: Register partner altmodes drivers/platform/chrome/cros_ec_typec.c | 329 ++++++++++++++---- .../linux/platform_data/cros_ec_commands.h | 155 +++++++++ 2 files changed, 415 insertions(+), 69 deletions(-) -- 2.29.1.341.ge80a0c044ae-goog