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

From: Benson Leung
Date: Thu Sep 19 2019 - 13:46:52 EST


Hi Linus,

The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b:

Linus 5.3-rc1 (2019-07-21 14:05:38 -0700)

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.4

for you to fetch changes up to 4c1fde5077dcad1a2a10a6a0883c8f94326c4971:

platform/chrome: cros_usbpd_logger: null check create_singlethread_workqueue (2019-09-12 16:20:54 +0200)

----------------------------------------------------------------
chrome platform changes for v5.4

* CrOS EC / MFD Migration
- Move cros_ec core driver from mfd into chrome platform.

* Wilco EC:
- Add batt_ppid_info command to Wilco telemetry driver.

* CrOS EC:
- cros_ec_rpmsg : Add support to inform EC of suspend/resume status
- cros_ec_rpmsg : Fix race condition on probe failed
- cros_ec_chardev : Add a poll handler to receive MKBP events

* Misc:
- bugfixes in cros_usbpd_logger and cros_ec_ishtp

----------------------------------------------------------------
Benson Leung (1):
Merge tag 'tag-chrome-platform-fixes-for-v5.3-rc6' into for-next

Enric Balletbo i Serra (12):
mfd / platform: cros_ec: Handle chained ECs as platform devices
mfd / platform: cros_ec: Move cros-ec core driver out from MFD
mfd / platform: cros_ec: Miscellaneous character device to talk with the EC
mfd: cros_ec: Switch to use the new cros-ec-chardev driver
mfd / platform: cros_ec: Rename config to a better name
mfd / platform: cros_ec: Reorganize platform and mfd includes
mfd: cros_ec: Use kzalloc and cros_ec_cmd_xfer_status helper
mfd: cros_ec: Add convenience struct to define dedicated CrOS EC MCUs
mfd: cros_ec: Add convenience struct to define autodetectable CrOS EC subdevices
mfd: cros_ec: Use mfd_add_hotplug_devices() helper
Merge tag 'ib-mfd-extcon-hid-i2c-iio-input-media-chrome-power-pwm-rtc-sound-v5.4' into chrome-platform/for-next
platform/chrome: cros_ec_chardev: Add a poll handler to receive MKBP events

Hyungwoo Yang (1):
platform/chrome: cros_ec_ishtp: fix crash during suspend

Navid Emamdoost (1):
platform/chrome: cros_usbpd_logger: null check create_singlethread_workqueue

Nick Crews (1):
platform/chrome: wilco_ec: Add batt_ppid_info command to telemetry driver

Pi-Hsun Shih (1):
platform/chrome: cros_ec_rpmsg: Fix race with host command when probe failed

Ravi Chandra Sadineni (1):
platform/chrome: chromeos_tbmc: Report wake events

Wolfram Sang (1):
platform/chrome: chromeos_laptop: drop checks of NULL-safe functions

Yilun Lin (1):
platform/chrome: cros_ec_rpmsg: Add host command AP sleep state support

drivers/extcon/Kconfig | 2 +-
drivers/extcon/extcon-usbc-cros-ec.c | 3 +-
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-google-hammer.c | 4 +-
drivers/i2c/busses/Kconfig | 2 +-
drivers/i2c/busses/i2c-cros-ec-tunnel.c | 4 +-
drivers/iio/accel/cros_ec_accel_legacy.c | 3 +-
drivers/iio/common/cros_ec_sensors/Kconfig | 2 +-
.../iio/common/cros_ec_sensors/cros_ec_lid_angle.c | 3 +-
.../iio/common/cros_ec_sensors/cros_ec_sensors.c | 3 +-
.../common/cros_ec_sensors/cros_ec_sensors_core.c | 3 +-
drivers/iio/light/cros_ec_light_prox.c | 3 +-
drivers/iio/pressure/cros_ec_baro.c | 3 +-
drivers/input/keyboard/Kconfig | 2 +-
drivers/input/keyboard/cros_ec_keyb.c | 4 +-
drivers/media/platform/Kconfig | 3 +-
drivers/media/platform/cros-ec-cec/cros-ec-cec.c | 5 +-
drivers/mfd/Kconfig | 26 +-
drivers/mfd/Makefile | 4 +-
drivers/mfd/cros_ec_dev.c | 463 ++++++---------------
drivers/platform/chrome/Kconfig | 60 ++-
drivers/platform/chrome/Makefile | 2 +
drivers/platform/chrome/chromeos_laptop.c | 10 +-
drivers/platform/chrome/chromeos_tbmc.c | 2 +
drivers/{mfd => platform/chrome}/cros_ec.c | 64 +--
drivers/platform/chrome/cros_ec_chardev.c | 419 +++++++++++++++++++
drivers/platform/chrome/cros_ec_debugfs.c | 3 +-
drivers/platform/chrome/cros_ec_i2c.c | 12 +-
drivers/platform/chrome/cros_ec_ishtp.c | 9 +-
drivers/platform/chrome/cros_ec_lightbar.c | 3 +-
drivers/platform/chrome/cros_ec_lpc.c | 7 +-
drivers/platform/chrome/cros_ec_proto.c | 3 +-
drivers/platform/chrome/cros_ec_rpmsg.c | 57 ++-
drivers/platform/chrome/cros_ec_spi.c | 12 +-
drivers/platform/chrome/cros_ec_sysfs.c | 3 +-
drivers/platform/chrome/cros_ec_trace.c | 2 +-
drivers/platform/chrome/cros_ec_trace.h | 4 +-
drivers/platform/chrome/cros_ec_vbc.c | 3 +-
drivers/platform/chrome/cros_usbpd_logger.c | 8 +-
drivers/platform/chrome/wilco_ec/telemetry.c | 64 ++-
drivers/power/supply/Kconfig | 2 +-
drivers/power/supply/cros_usbpd-charger.c | 5 +-
drivers/pwm/Kconfig | 2 +-
drivers/pwm/pwm-cros-ec.c | 4 +-
drivers/rtc/Kconfig | 2 +-
drivers/rtc/rtc-cros-ec.c | 3 +-
include/Kbuild | 2 +-
include/linux/iio/common/cros_ec_sensors_core.h | 3 +-
include/linux/mfd/cros_ec.h | 292 -------------
.../linux/platform_data/cros_ec_chardev.h | 13 +-
.../{mfd => platform_data}/cros_ec_commands.h | 0
include/linux/platform_data/cros_ec_proto.h | 319 ++++++++++++++
sound/soc/codecs/Kconfig | 4 +-
sound/soc/codecs/cros_ec_codec.c | 4 +-
sound/soc/qcom/Kconfig | 2 +-
55 files changed, 1168 insertions(+), 780 deletions(-)
rename drivers/{mfd => platform/chrome}/cros_ec.c (84%)
create mode 100644 drivers/platform/chrome/cros_ec_chardev.c
rename drivers/mfd/cros_ec_dev.h => include/linux/platform_data/cros_ec_chardev.h (75%)
rename include/linux/{mfd => platform_data}/cros_ec_commands.h (100%)
create mode 100644 include/linux/platform_data/cros_ec_proto.h

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

Attachment: signature.asc
Description: PGP signature