diff options
author | Thierry Escande <thierry.escande@collabora.com> | 2017-12-01 14:42:22 +0100 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2017-12-17 23:04:21 +0100 |
commit | e675191729029cfb1cd624a03864f6426906a078 (patch) | |
tree | 287f9c866cbb3f460757988b034210fb5a2cb6b2 | |
parent | platform/chrome: cros_ec_lpc: Register the driver if ACPI entry is missing. (diff) | |
download | linux-e675191729029cfb1cd624a03864f6426906a078.tar.xz linux-e675191729029cfb1cd624a03864f6426906a078.zip |
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>
-rw-r--r-- | drivers/platform/chrome/cros_ec_lpc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chrome/cros_ec_lpc.c index 47ace9938952..af89e82eecd2 100644 --- a/drivers/platform/chrome/cros_ec_lpc.c +++ b/drivers/platform/chrome/cros_ec_lpc.c @@ -362,6 +362,13 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = { DMI_MATCH(DMI_PRODUCT_NAME, "Peppy"), }, }, + { + /* x86-glimmer, the Lenovo Thinkpad Yoga 11e. */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), + DMI_MATCH(DMI_PRODUCT_NAME, "Glimmer"), + }, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table); |