linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/7] platform/chrome: Type-C switch driver
@ 2022-08-16 21:48 Prashant Malani
  2022-08-16 21:48 ` [PATCH v6 1/7] platform/chrome: Add Type-C mux set command definitions Prashant Malani
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Prashant Malani @ 2022-08-16 21:48 UTC (permalink / raw)
  To: linux-kernel, chrome-platform
  Cc: bleung, Prashant Malani, Daisuke Nojiri, Dustin L. Howett,
	Greg Kroah-Hartman, Guenter Roeck, Gustavo A. R. Silva,
	Kees Cook, Tinghan Shen, Tzung-Bi Shih, Xiang wangx

v4 of this series was originally merged to the USB maintainer tree, but
there were dependencies from the chrome-platform tree which caused
conflicts in the merge tree, so the chrome specific parts were
reverted [1].

v5 is a resubmission of the series with the Chrome-only parts (since the
USB framework parts were merged successfully).

[1] https://lore.kernel.org/lkml/YtadE201j+dt5jJx@kroah.com/

Original cover letter (with parts relating to USB patches removed):

This series introduces a retimer class to the USB Type-C framework,
It also introduces a ChromeOS EC (Embedded Controller) switch driver which
registers the aforementioned retimer switches as well as mode-switches.

v5: https://lore.kernel.org/chrome-platform/20220815063555.1384505-1-pmalani@chromium.org/

Changes in v6:
- Changed "Chrome OS" to "ChromeOS" and "Type C" to "Type-C" in various
  commit messages and comments.
- Added Reviewed-by tags received in v5.
- Fit some cros_ec_cmd() calls into 1 line (Patch 3/7 and patch 4/7).
- Inlined struct initialization (Patch 3/7).
- Use device_property_present (Patch 5/7).
- Misc. other minor cleanup.

Prashant Malani (7):
  platform/chrome: Add Type-C mux set command definitions
  platform/chrome: cros_typec_switch: Add switch driver
  platform/chrome: cros_typec_switch: Set EC retimer
  platform/chrome: cros_typec_switch: Add event check
  platform/chrome: cros_typec_switch: Register mode switches
  platform/chrome: cros_ec_typec: Cleanup switch handle return paths
  platform/chrome: cros_ec_typec: Get retimer handle

 MAINTAINERS                                   |   1 +
 drivers/platform/chrome/Kconfig               |  11 +
 drivers/platform/chrome/Makefile              |   1 +
 drivers/platform/chrome/cros_ec_typec.c       |  50 ++-
 drivers/platform/chrome/cros_typec_switch.c   | 327 ++++++++++++++++++
 .../linux/platform_data/cros_ec_commands.h    |  18 +
 6 files changed, 401 insertions(+), 7 deletions(-)
 create mode 100644 drivers/platform/chrome/cros_typec_switch.c

-- 
2.37.1.595.g718a3a8f04-goog


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-08-23 21:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 21:48 [PATCH v6 0/7] platform/chrome: Type-C switch driver Prashant Malani
2022-08-16 21:48 ` [PATCH v6 1/7] platform/chrome: Add Type-C mux set command definitions Prashant Malani
2022-08-16 21:48 ` [PATCH v6 2/7] platform/chrome: cros_typec_switch: Add switch driver Prashant Malani
2022-08-17  1:48   ` Tzung-Bi Shih
2022-08-16 21:48 ` [PATCH v6 3/7] platform/chrome: cros_typec_switch: Set EC retimer Prashant Malani
2022-08-17  1:48   ` Tzung-Bi Shih
2022-08-16 21:48 ` [PATCH v6 4/7] platform/chrome: cros_typec_switch: Add event check Prashant Malani
2022-08-17  1:48   ` Tzung-Bi Shih
2022-08-16 21:48 ` [PATCH v6 5/7] platform/chrome: cros_typec_switch: Register mode switches Prashant Malani
2022-08-17  1:49   ` Tzung-Bi Shih
2022-08-16 21:48 ` [PATCH v6 6/7] platform/chrome: cros_ec_typec: Cleanup switch handle return paths Prashant Malani
2022-08-16 21:48 ` [PATCH v6 7/7] platform/chrome: cros_ec_typec: Get retimer handle Prashant Malani
2022-08-18 22:36 ` [PATCH v6 0/7] platform/chrome: Type-C switch driver patchwork-bot+chrome-platform
2022-08-23 21:20 ` patchwork-bot+chrome-platform

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).