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

From: Benson Leung
Date: Thu Jul 11 2019 - 11:25:11 EST


Hi Linus,

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

Linux 5.2-rc1 (2019-05-19 15:47:09 -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.3

for you to fetch changes up to 8c3166e17cf10161d2871dfb1d017287c7b79ff1:

mfd / platform: cros_ec_debugfs: Expose resume result via debugfs (2019-07-01 15:39:11 +0200)

----------------------------------------------------------------
chrome platform changes for v5.3

* CrOS EC:

- Add new CrOS ISHTP transport protocol
- Add proper documentation for debugfs entries and expose resume and uptime files
- Select LPC transport protocol variant at runtime.
- Add lid angle sensor driver
- Fix oops on suspend/resume for lightbar driver
- Set CrOS SPI transport protol in realtime

* Wilco EC:

- Add telemetry char device interface
- Add support for event handling
- Add new sysfs attributes

* Misc:
- Contains ib-mfd-cros-v5.3 immutable branch from mfd, with cros_ec_commands.h
header freshly synced with Chrome OS's EC project.

----------------------------------------------------------------
Douglas Anderson (3):
platform/chrome: cros_ec_spi: Move to real time priority for transfers
spi: Allow SPI devices to request the pumping thread be realtime
platform/chrome: cros_ec_spi: Request the SPI thread be realtime

Enric Balletbo i Serra (7):
Merge tag 'spi-rt-pump' into chrome-platform/for-next
Merge tag 'ib-mfd-cros-v5.3' into chrome-platform/for-next
platform/chrome: cros_ec_debugfs: Fix kernel-doc comment first line
platform/chrome: cros_ec_debugfs: Add debugfs ABI documentation
platform/chrome: cros_ec_lpc: Merge cros_ec_lpc and cros_ec_lpc_reg
platform/chrome: cros_ec_lpc: Choose Microchip EC at runtime
platform/chrome: cros_ec_lpc_mec: Fix kernel-doc comment first line

Evan Green (2):
platform/chrome: cros_ec_spi: Always add of_match_table
mfd / platform: cros_ec_debugfs: Expose resume result via debugfs

Gwendal Grignou (31):
mfd: cros_ec: Update license term
mfd: cros_ec: Zero BUILD_ macro
mfd: cros_ec: set comments properly
mfd: cros_ec: add ec_align macros
mfd: cros_ec: Define commands as 4-digit UPPER CASE hex values
mfd: cros_ec: use BIT macro
mfd: cros_ec: Update ACPI interface definition
mfd: cros_ec: move HDMI CEC API definition
mfd: cros_ec: Remove zero-size structs
mfd: cros_ec: Add Flash V2 commands API
mfd: cros_ec: Add PWM_SET_DUTY API
mfd: cros_ec: Add lightbar v2 API
mfd: cros_ec: Expand hash API
mfd: cros_ec: Add EC transport protocol v4
mfd: cros_ec: Complete MEMS sensor API
mfd: cros_ec: Fix event processing API
mfd: cros_ec: Add fingerprint API
mfd: cros_ec: Fix temperature API
mfd: cros_ec: Complete Power and USB PD API
mfd: cros_ec: Add API for keyboard testing
mfd: cros_ec: Add Hibernate API
mfd: cros_ec: Add Smart Battery Firmware update API
mfd: cros_ec: Add I2C passthru protection API
mfd: cros_ec: Add API for EC-EC communication
mfd: cros_ec: Add API for Touchpad support
mfd: cros_ec: Add API for Fingerprint support
mfd: cros_ec: Add API for rwsig
mfd: cros_ec: Add SKU ID and Secure storage API
mfd: cros_ec: Add Management API entry points
mfd: cros_ec: Update I2S API
iio: cros_ec: Add lid angle driver

Nick Crews (7):
platform/chrome: wilco_ec: Add property helper library
platform/chrome: wilco_ec: Add Boot on AC support
platform/chrome: wilco_ec: Remove 256 byte transfers
platform/chrome: wilco_ec: Add event handling
platform/chrome: wilco_ec: Add telemetry char device interface
platform/chrome: wilco_ec: Fix unreleased lock in event_read()
platform/chrome: wilco_ec: Add circular buffer as event queue

Rajat Jain (1):
platform/chrome: lightbar: Get drvdata from parent in suspend/resume

Raul E Rangel (1):
platform/chrome: wilco_ec: Add version sysfs entries

Rushikesh S Kadam (1):
platform/chrome: Add ChromeOS EC ISHTP driver

Tim Wawrzynczak (1):
platform/chrome: cros_ec_debugfs: Add debugfs entry to retrieve EC uptime

Ting Shen (1):
Input: cros_ec_keyb: mask out extra flags in event_type

YueHaibing (1):
platform/chrome: cros_ec: Make some symbols static

kbuild test robot (1):
platform/chrome: cros_ec_debugfs: cros_ec_uptime_fops can be static

Documentation/ABI/testing/debugfs-cros-ec | 56 +
Documentation/ABI/testing/debugfs-wilco-ec | 16 +-
Documentation/ABI/testing/sysfs-platform-wilco-ec | 40 +
drivers/iio/common/cros_ec_sensors/Kconfig | 9 +
drivers/iio/common/cros_ec_sensors/Makefile | 1 +
.../iio/common/cros_ec_sensors/cros_ec_lid_angle.c | 139 +
drivers/input/keyboard/cros_ec_keyb.c | 2 +-
drivers/mfd/cros_ec.c | 6 +-
drivers/platform/chrome/Kconfig | 42 +-
drivers/platform/chrome/Makefile | 4 +-
drivers/platform/chrome/cros_ec_debugfs.c | 48 +-
drivers/platform/chrome/cros_ec_ishtp.c | 763 ++++
drivers/platform/chrome/cros_ec_lightbar.c | 6 +-
drivers/platform/chrome/cros_ec_lpc.c | 165 +-
drivers/platform/chrome/cros_ec_lpc_mec.c | 14 +-
drivers/platform/chrome/cros_ec_lpc_reg.c | 101 -
drivers/platform/chrome/cros_ec_lpc_reg.h | 45 -
drivers/platform/chrome/cros_ec_spi.c | 68 +-
drivers/platform/chrome/cros_ec_sysfs.c | 2 +-
drivers/platform/chrome/cros_ec_vbc.c | 2 +-
drivers/platform/chrome/wilco_ec/Kconfig | 18 +-
drivers/platform/chrome/wilco_ec/Makefile | 6 +-
drivers/platform/chrome/wilco_ec/core.c | 26 +-
drivers/platform/chrome/wilco_ec/debugfs.c | 12 +-
drivers/platform/chrome/wilco_ec/event.c | 581 ++++
drivers/platform/chrome/wilco_ec/mailbox.c | 21 +-
drivers/platform/chrome/wilco_ec/properties.c | 132 +
drivers/platform/chrome/wilco_ec/sysfs.c | 156 +
drivers/platform/chrome/wilco_ec/telemetry.c | 450 +++
drivers/spi/spi.c | 36 +-
include/linux/mfd/cros_ec.h | 1 +
include/linux/mfd/cros_ec_commands.h | 3658 ++++++++++++++++----
include/linux/platform_data/wilco-ec.h | 94 +-
include/linux/spi/spi.h | 2 +
sound/soc/codecs/cros_ec_codec.c | 8 +-
35 files changed, 5698 insertions(+), 1032 deletions(-)
create mode 100644 Documentation/ABI/testing/debugfs-cros-ec
create mode 100644 Documentation/ABI/testing/sysfs-platform-wilco-ec
create mode 100644 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c
create mode 100644 drivers/platform/chrome/cros_ec_ishtp.c
delete mode 100644 drivers/platform/chrome/cros_ec_lpc_reg.c
delete mode 100644 drivers/platform/chrome/cros_ec_lpc_reg.h
create mode 100644 drivers/platform/chrome/wilco_ec/event.c
create mode 100644 drivers/platform/chrome/wilco_ec/properties.c
create mode 100644 drivers/platform/chrome/wilco_ec/sysfs.c
create mode 100644 drivers/platform/chrome/wilco_ec/telemetry.c

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

Attachment: signature.asc
Description: PGP signature