platform/chrome: Add ChromeOS EC ISHTP driver
authorRushikesh S Kadam <rushikesh.s.kadam@intel.com>
Wed, 15 May 2019 10:38:41 +0000 (16:08 +0530)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 20 May 2019 08:18:10 +0000 (10:18 +0200)
commit26a14267aff218c60b89007fdb44ca392ba6122c
tree6408c602b78580842755d38d433715a446556dbf
parent75501d2edc8044af145a2c237b0ccc2c03deb4ab
platform/chrome: Add ChromeOS EC ISHTP driver

This driver implements a slim layer to enable the ChromeOS
EC kernel stack (cros_ec) to communicate with ChromeOS EC
firmware running on the Intel Integrated Sensor Hub (ISH).

The driver registers a ChromeOS EC MFD device to connect
with cros_ec kernel stack (upper layer), and it registers a
client with the ISH Transport Protocol bus (lower layer) to
talk with the ISH firwmare. See description of the ISHTP
protocol at Documentation/hid/intel-ish-hid.txt

Signed-off-by: Rushikesh S Kadam <rushikesh.s.kadam@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Tested-by: Jett Rink <jettrink@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/platform/chrome/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_ishtp.c [new file with mode: 0644]