Browse Source

platform/chrome: cros_ec_lpc - Add support for Google Pixel 2

Since the verion of ACPI in Google BIOS does not enumerate the devices
in the LPC bus, the cros_ec_lpc driver resorts to DMI data to check if
a system is supported by the driver and autoload if built as a module.

Add information about the Google Pixel 2 to the DMI device table.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
Javier Martinez Canillas 10 years ago
parent
commit
85bba84ead
1 changed files with 7 additions and 0 deletions
  1. 7 0
      drivers/platform/chrome/cros_ec_lpc.c

+ 7 - 0
drivers/platform/chrome/cros_ec_lpc.c

@@ -319,6 +319,13 @@ static struct dmi_system_id cros_ec_lpc_dmi_table[] __initdata = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Link"),
 		},
 	},
+	{
+		/* x86-samus, the Chromebook Pixel 2. */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Samus"),
+		},
+	},
 	{
 		/* x86-peppy, the Acer C720 Chromebook. */
 		.matches = {