[GIT PULL] chrome-platform changes for v5.7

From: Benson Leung
Date: Wed Apr 08 2020 - 01:54:23 EST


Hello Linus,

The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v5.7

for you to fetch changes up to a46387712da12b61bf1ce1a3f63b60a17b098960:

platform/chrome: cros_ec_spi: Wait for USECS, not NSECS (2020-04-07 14:42:08 -0700)

----------------------------------------------------------------
chrome platform changes for 5.7

* cros-usbpd-notify and cros_ec_typec
- Add a new notification driver that handles and dispatches USB PD
related events to other drivers.
- Add a Type C connector class driver for cros_ec

* CrOS EC
- Introduce a new cros_ec_cmd_xfer_status helper

* Sensors/iio:
- A series from Gwendal that adds Cros EC sensor hub FIFO support

* Wilco EC
- Fix a build warning.
- Platform data shouldn't include kernel.h

* Misc
- i2c api conversion complete, with i2c_new_client_device instead of
i2c_new_device in chromeos_laptop.
- Replace zero-length array with flexible-array member in cros_ec_chardev
and wilco_ec
- Update new structure for SPI transfer delays in cros_ec_spi

----------------------------------------------------------------
Andy Shevchenko (1):
platform/chrome: wilco_ec: Platform data shouldn't include kernel.h

Benson Leung (1):
platform/chrome: cros_ec_spi: Wait for USECS, not NSECS

Enric Balletbo i Serra (8):
Merge branch 'chrome-platform-5.6-fixes' into for-next
platform/chrome: cros_ec_proto: Report command not supported
platform/chrome: cros_ec_vbc: Use cros_ec_cmd_xfer_status helper
platform/chrome: cros_ec_chardev: Use cros_ec_cmd_xfer_status helper
platform/chrome: cros_ec_sysfs: Use cros_ec_cmd_xfer_status helper
platform/chrome: cros_ec_lightbar: Use cros_ec_cmd_xfer_status helper
platform/chrome: cros_ec: Use cros_ec_cmd_xfer_status helper
platform/chrome: Kconfig: Remove CONFIG_ prefix from MFD_CROS_EC section

Gustavo A. R. Silva (2):
platform/chrome: cros_ec_chardev: Replace zero-length array with flexible-array member
platform/chrome: wilco_ec: event: Replace zero-length array with flexible-array member

Gwendal Grignou (12):
platform/chrome: cros_usbpd_notify: Fix cros-usbpd-notify notifier
platform/chrome: cros_ec_sensorhub: Add the number of sensors in sensorhub
platform/chrome: cros_ec_sensorhub: Add FIFO support
platform/chrome: cros_ec_sensorhub: Add code to spread timestmap
platform/chrome: cros_ec_sensorhub: Add median filter
iio: cros_ec: Move function description to .c file
iio: expose iio_device_set_clock
iio: cros_ec: Register to cros_ec_sensorhub when EC supports FIFO
iio: cros_ec: Remove pm function
iio: cros_ec: Expose hwfifo_timeout
iio: cros_ec: Report hwfifo_watermark_max
iio: cros_ec: Use Hertz as unit for sampling frequency

Jon Flatley (2):
platform: chrome: Add cros-usbpd-notify driver
power: supply: cros-ec-usbpd-charger: Fix host events

Pi-Hsun Shih (1):
platform/chrome: cros_ec_rpmsg: Fix race with host event

Prashant Malani (5):
platform/chrome: cros_usbpd_notify: Add driver data struct
platform/chrome: cros_usbpd_notify: Amend ACPI driver to plat
platform/chrome: cros_usbpd_notify: Pull PD_HOST_EVENT status
platform/chrome: Add Type C connector class driver
platform/chrome: cros_ec_typec: Update port info from EC

Sergiu Cuciurean (1):
platform/chrome: cros_ec_spi: Use new structure for SPI transfer delays

Stephen Boyd (1):
platform/chrome: wilco_ec: Include asm/unaligned instead of linux/ path

Wolfram Sang (1):
platform/chrome: chromeos_laptop: make I2C API conversion complete

Yicheng Li (1):
platform/chrome: cros_ec: Query EC protocol version if EC transitions between RO/RW

drivers/iio/accel/cros_ec_accel_legacy.c | 8 +-
.../iio/common/cros_ec_sensors/cros_ec_lid_angle.c | 3 +-
.../iio/common/cros_ec_sensors/cros_ec_sensors.c | 13 +-
.../common/cros_ec_sensors/cros_ec_sensors_core.c | 375 +++++--
drivers/iio/industrialio-core.c | 8 +-
drivers/iio/light/cros_ec_light_prox.c | 15 +-
drivers/iio/pressure/cros_ec_baro.c | 14 +-
drivers/platform/chrome/Kconfig | 27 +-
drivers/platform/chrome/Makefile | 5 +-
drivers/platform/chrome/chromeos_laptop.c | 2 +-
drivers/platform/chrome/cros_ec.c | 32 +-
drivers/platform/chrome/cros_ec_chardev.c | 4 +-
drivers/platform/chrome/cros_ec_lightbar.c | 50 +-
drivers/platform/chrome/cros_ec_proto.c | 9 +-
drivers/platform/chrome/cros_ec_rpmsg.c | 16 +-
drivers/platform/chrome/cros_ec_sensorhub.c | 111 ++-
drivers/platform/chrome/cros_ec_sensorhub_ring.c | 1046 ++++++++++++++++++++
drivers/platform/chrome/cros_ec_spi.c | 6 +-
drivers/platform/chrome/cros_ec_sysfs.c | 36 +-
drivers/platform/chrome/cros_ec_typec.c | 357 +++++++
drivers/platform/chrome/cros_ec_vbc.c | 4 +-
drivers/platform/chrome/cros_usbpd_notify.c | 306 ++++++
drivers/platform/chrome/wilco_ec/event.c | 4 +-
drivers/platform/chrome/wilco_ec/properties.c | 5 +-
drivers/platform/chrome/wilco_ec/sysfs.c | 4 +
drivers/power/supply/Kconfig | 2 +-
drivers/power/supply/cros_usbpd-charger.c | 50 +-
include/linux/iio/common/cros_ec_sensors_core.h | 104 +-
include/linux/iio/iio.h | 2 +
include/linux/platform_data/cros_ec_proto.h | 4 +
include/linux/platform_data/cros_ec_sensorhub.h | 163 +++
include/linux/platform_data/cros_usbpd_notify.h | 17 +
include/linux/platform_data/wilco-ec.h | 8 +-
33 files changed, 2467 insertions(+), 343 deletions(-)
create mode 100644 drivers/platform/chrome/cros_ec_sensorhub_ring.c
create mode 100644 drivers/platform/chrome/cros_ec_typec.c
create mode 100644 drivers/platform/chrome/cros_usbpd_notify.c
create mode 100644 include/linux/platform_data/cros_usbpd_notify.h

--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@xxxxxxxxxx
Chromium OS Project
bleung@xxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature