platform/chrome: cros_ec_lpc: Add support for Google Glimmer
authorThierry Escande <thierry.escande@collabora.com>
Fri, 1 Dec 2017 13:42:22 +0000 (14:42 +0100)
committerBenson Leung <bleung@chromium.org>
Sun, 17 Dec 2017 22:04:21 +0000 (14:04 -0800)
commite675191729029cfb1cd624a03864f6426906a078
tree287f9c866cbb3f460757988b034210fb5a2cb6b2
parent5f454bdf63536d7d0142be3cbb9e83899a199ec8
platform/chrome: cros_ec_lpc: Add support for Google Glimmer

This patch adds device information to the DMI table of the cros_ec_lpc
driver for Google Glimmer devices. Since Google BIOS does not enumerate
devices in the LPC bus, the cros_ec_lpc driver checks for system
compatibility and registers the cros_ec device itself.

Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/cros_ec_lpc.c