Skip to content

Add support for Type-C mux events without port partners

Rajmohan Mani lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2platform/chrome: cros_ec_typec: Skip port partner check in configure_mux()drivers/platform/chrome/cros_ec_typec.c+0 -32 replies
2/2platform/chrome: cros_ec_types: Support disconnect events without partnersdrivers/platform/chrome/cros_ec_typec.c+19 -72 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPrashant Malani
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add support for Type-C mux events without port partners

There are cases, where support for Type-C mux events is needed, that does not have port partners.
Enabling communication to a retimer connected to an USB4 port, when no devices are attached, is a case that requires support for handling Type-C mux events without port partners.

The following patches[1] are needed on top of the mainline kernel to be able to verify these patches.

commit 8553a979fcd0 ("platform/chrome: cros_ec_typec: Send mux
configuration acknowledgment to EC")
commit ba8ce515454e ("platform/chrome: cros_ec_typec: Parameterize
cros_typec_cmds_supported()")
commit 156309096542 ("platform/chrome: cros_ec_typec: Register plug
altmodes")
commit f4edab68e101 ("platform/chrome: cros_ec_typec: Register SOP'
cable plug")
commit 599229763911 ("platform/chrome: cros_ec_typec: Set partner
num_altmodes")
commit 72d6e32bd85b ("platform/chrome: cros_ec_typec: Store cable plug

		      type")

commit 8b46a212ad11 ("platform/chrome: cros_ec_typec: Register cable") commit c097f229b71e ("platform/chrome: cros_ec_typec: Rename discovery
struct")
commit 8fab2755191f ("platform/chrome: cros_ec_typec: Factor out PD
identity parsing")
commit a906f45d1480 ("platform/chrome: cros_ec_typec: Make disc_done
flag partner-only")

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/
linux.git/log/?h=cros-ec-typec-for-5.12

Rajmohan Mani (2):
platform/chrome: cros_ec_typec: Skip port partner check in
configure_mux()
platform/chrome: cros_ec_types: Support disconnect events without
partners

 drivers/platform/chrome/cros_ec_typec.c | 27 ++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)
Signature · 1 line
2.30.0