diff options
author | Gene Chen <gene.chen@intel.com> | 2014-06-17 17:02:03 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-10 12:35:02 -0400 |
commit | 963cb6fa0f5f115986e970b9d97440e4906524fa (patch) | |
tree | 36b7b0c09e6d14b90b5539619b6814a2e9504d92 /drivers/platform/chrome | |
parent | 0e1e5e590a457063c94d55c219b349bcf0d1f93a (diff) |
platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch
Add support for Leon touch devices, which is the same as
falco/peppy/wolf on the same buses using the LynxPoint-LP I2C
via the i2c-designware-pci driver.
Based on these patches from the chromeos-3.8 kernel:
https://chromium-review.googlesource.com/168351
https://chromium-review.googlesource.com/173445
Signed-off-by: Gene Chen <gene.chen@intel.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Tested-by: Scot Doyle <lkml14@scotdoyle.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/platform/chrome')
-rw-r--r-- | drivers/platform/chrome/chromeos_laptop.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index e0a671075b28..37fa570a7636 100644 --- a/drivers/platform/chrome/chromeos_laptop.c +++ b/drivers/platform/chrome/chromeos_laptop.c | |||
@@ -394,6 +394,13 @@ static struct chromeos_laptop dell_chromebook_11 = { | |||
394 | }, | 394 | }, |
395 | }; | 395 | }; |
396 | 396 | ||
397 | static struct chromeos_laptop toshiba_cb35 = { | ||
398 | .i2c_peripherals = { | ||
399 | /* Touchpad. */ | ||
400 | { .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 }, | ||
401 | }, | ||
402 | }; | ||
403 | |||
397 | static struct chromeos_laptop acer_c7_chromebook = { | 404 | static struct chromeos_laptop acer_c7_chromebook = { |
398 | .i2c_peripherals = { | 405 | .i2c_peripherals = { |
399 | /* Touchpad. */ | 406 | /* Touchpad. */ |
@@ -476,6 +483,14 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = { | |||
476 | _CBDD(hp_chromebook_14), | 483 | _CBDD(hp_chromebook_14), |
477 | }, | 484 | }, |
478 | { | 485 | { |
486 | .ident = "Toshiba CB35", | ||
487 | .matches = { | ||
488 | DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"), | ||
489 | DMI_MATCH(DMI_PRODUCT_NAME, "Leon"), | ||
490 | }, | ||
491 | _CBDD(toshiba_cb35), | ||
492 | }, | ||
493 | { | ||
479 | .ident = "Acer C7 Chromebook", | 494 | .ident = "Acer C7 Chromebook", |
480 | .matches = { | 495 | .matches = { |
481 | DMI_MATCH(DMI_PRODUCT_NAME, "Parrot"), | 496 | DMI_MATCH(DMI_PRODUCT_NAME, "Parrot"), |