Skip to content

usb: typec: mux: Remove the "svid" device property checks

Heikki Krogerus chrome-platform linux-arm-msm linux-usb lkml 2 versions – Applied

Status from this message: This series was applied to chrome-platform/linux.git (for-kernelci)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 3 repliesSuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2usb: typec: mux: Clean up mux_fwnode_match()drivers/usb/typec/mux.c+7 -480 repliesApplied
2/2usb: typec: mux: Remove alt mode parameters from the APIdrivers/platform/chrome/cros_ec_typec.c drivers/soc/qcom/pmic_glink_altmode.c drivers/usb/typec/class.c +2 more+10 -180 repliesApplied

Reviews trailers per patch

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

PatchBjorn AnderssonPrashant Malani
1/2R-b T-b
2/2R-b T-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] usb: typec: mux: Remove the "svid" device property checks

Hi,

The comment in the first patch is now fixed as requested by Bjorn. No other changes compared to v1.

Original message:

The background for this change:
https://lore.kernel.org/lkml/[email protected]/

The idea with that device property was that it would allow us to support separate mode specific switches behind a single port if necessary.

Although, I guess it is still possible that we could have that kind of separate mode switches, especially now that the mode switch represents a kind of virtual aggregate device that can be build from multiple physical muxes (so the modes could need different "combos" of the muxes), but now no such systems exist.

We can look at how to handle that kind of switches when/if we actually have them, but for now, keeping the functions as simple as possible.

thanks,

Heikki Krogerus (2):
usb: typec: mux: Clean up mux_fwnode_match()
usb: typec: mux: Remove alt mode parameters from the API

 drivers/platform/chrome/cros_ec_typec.c |  2 +-
 drivers/soc/qcom/pmic_glink_altmode.c   |  5 +-
 drivers/usb/typec/class.c               |  4 +-
 drivers/usb/typec/mux.c                 | 61 ++++---------------------
 include/linux/usb/typec_mux.h           | 11 ++---
 5 files changed, 17 insertions(+), 66 deletions(-)
Signature · 1 line
2.39.2