]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants
authorShawn Nematbakhsh <shawnn@chromium.org>
Tue, 16 May 2017 15:46:48 +0000 (17:46 +0200)
committerBenson Leung <bleung@chromium.org>
Fri, 23 Jun 2017 23:09:06 +0000 (16:09 -0700)
commit6fb1d8f997bf1b4a2da125eb4bd72d8fb1a8b5cc
treeb98469efa01a86c3b688e8e1f84eda6e1a2ad6f1
parent9492bf1a36b62f6a09556bd7f70a41357e2cd9e9
platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants

Call common functions for read / write to prepare support for future
LPC protocol variants which use different I/O ops than inb / outb.

Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_lpc.c
drivers/platform/chrome/cros_ec_lpc_reg.c [new file with mode: 0644]
include/linux/mfd/cros_ec_lpc_reg.h [new file with mode: 0644]