Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Thierry Escande and committed by
Benson Leung
e6751917 5f454bdf

+7
+7
drivers/platform/chrome/cros_ec_lpc.c
··· 362 362 DMI_MATCH(DMI_PRODUCT_NAME, "Peppy"), 363 363 }, 364 364 }, 365 + { 366 + /* x86-glimmer, the Lenovo Thinkpad Yoga 11e. */ 367 + .matches = { 368 + DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), 369 + DMI_MATCH(DMI_PRODUCT_NAME, "Glimmer"), 370 + }, 371 + }, 365 372 { /* sentinel */ } 366 373 }; 367 374 MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table);