platform/chrome: cros_ec_lpc: Add support for mec1322 EC
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:12:01 +0000 (16:12 -0700)
commit8d4a3dc423a2695be51ac864eefb8ba7688b1240
tree5a8861e1cec25fcaf756822f0e035200a0e1cab1
parentbce70fef7279243d62adbf5f53998b8d3d016144
platform/chrome: cros_ec_lpc: Add support for mec1322 EC

This adds support for the ChromeOS LPC Microchip Embedded Controller
(mec1322) variant.

mec1322 accesses I/O region [800h, 9ffh] through embedded memory
interface (EMI) rather than LPC.

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/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_lpc.c
drivers/platform/chrome/cros_ec_lpc_mec.c [new file with mode: 0644]
drivers/platform/chrome/cros_ec_lpc_reg.c
include/linux/mfd/cros_ec_lpc_mec.h [new file with mode: 0644]
include/linux/mfd/cros_ec_lpc_reg.h