diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2015-06-22 02:27:19 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-10-07 17:34:26 -0400 |
commit | 85bba84ead5cec41add1cbdb2978e572add10deb (patch) | |
tree | 540040906bb0702e9bf3f624558cc03b52bb1d0d /drivers/platform/chrome | |
parent | fbf40727c781a3b8562e76a86cd08a111414d1c7 (diff) |
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>
Diffstat (limited to 'drivers/platform/chrome')
-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 ca7cdc6eef0b..f9a245465fd0 100644 --- a/drivers/platform/chrome/cros_ec_lpc.c +++ b/drivers/platform/chrome/cros_ec_lpc.c | |||
@@ -320,6 +320,13 @@ static struct dmi_system_id cros_ec_lpc_dmi_table[] __initdata = { | |||
320 | }, | 320 | }, |
321 | }, | 321 | }, |
322 | { | 322 | { |
323 | /* x86-samus, the Chromebook Pixel 2. */ | ||
324 | .matches = { | ||
325 | DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), | ||
326 | DMI_MATCH(DMI_PRODUCT_NAME, "Samus"), | ||
327 | }, | ||
328 | }, | ||
329 | { | ||
323 | /* x86-peppy, the Acer C720 Chromebook. */ | 330 | /* x86-peppy, the Acer C720 Chromebook. */ |
324 | .matches = { | 331 | .matches = { |
325 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), | 332 | DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |