[PATCH 00/30] Update cros_ec_commands.h

From: Gwendal Grignou
Date: Wed Apr 24 2019 - 19:29:32 EST


The interface between CrosEC embedded controller and the host,
described by cros_ec_commands.h, as diverged from what the embedded
controller really support.

The source of thruth is at
https://chromium.googlesource.com/chromiumos/platform/ec/+/master/include/ec_commands.h

That include file is converted to remove ACPI and Embedded only code.

>From now on, cros_ec_commands.h will be automatically generated from
the file above, do not modify directly.

Fell free to squash the commits below.

Gwendal Grignou (30):
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: Update I2S 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

include/linux/mfd/cros_ec_commands.h | 3735 +++++++++++++++++++++-----
1 file changed, 2993 insertions(+), 742 deletions(-)

--
2.21.0.593.g511ec345e18-goog