CHROMIUM: mfd: chromeos_ec: update EC<->AP protocol
authorSimon Glass <sjg@chromium.org>
Wed, 12 Sep 2012 23:15:09 +0000 (16:15 -0700)
committerGerrit <chrome-bot@google.com>
Wed, 26 Sep 2012 22:34:51 +0000 (15:34 -0700)
commit1d1cb720f85bf84876d8a54eeb35a89e40f29f3a
tree57726fe14e1f2271507f5533e76f835095262b71
parent0490e537447450411fad582bdaec810216ce87fd
CHROMIUM: mfd: chromeos_ec: update EC<->AP protocol

The ec_commands.h file has changed substantially. Bring the new version
into the kernel and adjust drivers to use it.

BUG=none
TEST=manual
Build and boot to kernel
See that EC keyboard still operates correctly.

See that we can query the firmware driver also:

localhost 4-001e # cd /sys/bus/i2c/drivers/chromeos-ec/4-001e
localhost 4-001e # cat build_info
snow_v1.1.469-b4d73d3 2012-09-15 17:22:15 sjg@kea
localhost 4-001e # cat chip_info
stm stm32f100
localhost 4-001e # cat fw_version
Current: RO
RO: snow_v1.1.469-b4d73d3
RW:

Change-Id: Ib6e74ccc41161d541d390f4cb94456423ca60eb4
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/33568
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
drivers/platform/chromeos_ec-fw.c
include/linux/mfd/chromeos_ec_commands.h