[GIT,PULL] chrome-platform changes for v6.1

From: Tzung-Bi Shih
Date: Tue Oct 04 2022 - 00:15:05 EST


Linus,

Please pull chrome-platform updates for v6.1.

Thanks,
TzungBi


The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v6.1

for you to fetch changes up to 8edd2752b0aa498b3a61f3caee8f79f7e0567fad:

platform/chrome: cros_ec: Notify the PM of wake events during resume (2022-09-19 10:34:38 +0800)

----------------------------------------------------------------
chrome platform changes for v6.1

cros_ec_proto:
* Fix protocol failure if EC firmware jumps to RO part.

cros_typec_switch:
* Add USB Type-C switch driver for mode switches and retimers.
* Integrate to EC for retimers, status update, and mode switches.
* Clean-ups.

cros_ec_typec:
* Clean-ups.
* Use partner PDOs to register USB PD capabilities.

chromeos_laptop:
* Fix a double-free.

cros_ec_chardev:
* Check data length from userland to avoid a memory corruption.

cros_ec:
* Expose suspend_timeout_ms in debugfs.
* Notify the PM about wake events during resume.

----------------------------------------------------------------
Dan Carpenter (1):
platform/chrome: fix memory corruption in ioctl

Evan Green (1):
platform/chrome: cros_ec: Expose suspend_timeout_ms in debugfs

Jameson Thies (1):
platform/chrome: cros_ec: Notify the PM of wake events during resume

Patryk Duda (1):
platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure

Prashant Malani (10):
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
platform/chrome: cros_ec_typec: Add bit offset for DP VDO
platform/chrome: cros_ec_typec: Correct alt mode index
platform/chrome: cros_ec_typec: Register partner PDOs

Rustam Subkhankulov (1):
platform/chrome: fix double-free in chromeos_laptop_prepare()

Stephen Boyd (4):
platform/chrome: cros_typec_switch: Add missing newline on printk
platform/chrome: cros_typec_switch: Remove impossible condition
platform/chrome: cros_typec_switch: Use PTR_ERR_OR_ZERO() to simplify
platform/chrome: cros_typec_switch: Inline DRV_NAME

Documentation/ABI/testing/debugfs-cros-ec | 22 ++
MAINTAINERS | 1 +
drivers/platform/chrome/Kconfig | 11 +
drivers/platform/chrome/Makefile | 1 +
drivers/platform/chrome/chromeos_laptop.c | 24 +-
drivers/platform/chrome/cros_ec.c | 11 +-
drivers/platform/chrome/cros_ec_chardev.c | 3 +
drivers/platform/chrome/cros_ec_debugfs.c | 3 +
drivers/platform/chrome/cros_ec_proto.c | 32 +++
drivers/platform/chrome/cros_ec_typec.c | 110 ++++++++-
drivers/platform/chrome/cros_typec_switch.c | 321 +++++++++++++++++++++++++
include/linux/platform_data/cros_ec_commands.h | 18 ++
include/linux/platform_data/cros_ec_proto.h | 1 +
13 files changed, 536 insertions(+), 22 deletions(-)
create mode 100644 drivers/platform/chrome/cros_typec_switch.c

Attachment: signature.asc
Description: PGP signature