diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-05-17 06:25:14 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-23 04:08:40 -0400 |
commit | 2a8209fa68236ad65363dba03db5dbced520268a (patch) | |
tree | 62afa305b1b655a0833340c4e454603f163275f6 | |
parent | c61872c9833d17d3807fb999096917c1f9eaada0 (diff) |
pinctrl: cherryview: Extend the Chromebook DMI quirk to Intel_Strago systems
It turns out there are quite many Chromebooks out there that have the
same keyboard issue than Acer Chromebook. All of them are based on
Intel_Strago reference and report their DMI_PRODUCT_FAMILY as
"Intel_Strago" (Samsung Chromebook 3 and Cyan Chromebooks are exceptions
for which we add separate entries).
Instead of adding each machine to the quirk table, we use
DMI_PRODUCT_FAMILY of "Intel_Strago" that hopefully covers most of the
machines out there currently.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=194945
Suggested: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-cherryview.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-cherryview.c b/drivers/pinctrl/intel/pinctrl-cherryview.c index e35d0fe4c737..20f1b4493994 100644 --- a/drivers/pinctrl/intel/pinctrl-cherryview.c +++ b/drivers/pinctrl/intel/pinctrl-cherryview.c | |||
@@ -1539,13 +1539,26 @@ static void chv_gpio_irq_handler(struct irq_desc *desc) | |||
1539 | * is not listed below. | 1539 | * is not listed below. |
1540 | */ | 1540 | */ |
1541 | static const struct dmi_system_id chv_no_valid_mask[] = { | 1541 | static const struct dmi_system_id chv_no_valid_mask[] = { |
1542 | /* See https://bugzilla.kernel.org/show_bug.cgi?id=194945 */ | ||
1542 | { | 1543 | { |
1543 | /* See https://bugzilla.kernel.org/show_bug.cgi?id=194945 */ | 1544 | .ident = "Intel_Strago based Chromebooks (All models)", |
1544 | .ident = "Acer Chromebook (CYAN)", | ||
1545 | .matches = { | 1545 | .matches = { |
1546 | DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), | 1546 | DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), |
1547 | DMI_MATCH(DMI_PRODUCT_NAME, "Edgar"), | 1547 | DMI_MATCH(DMI_PRODUCT_FAMILY, "Intel_Strago"), |
1548 | DMI_MATCH(DMI_BIOS_DATE, "05/21/2016"), | 1548 | }, |
1549 | }, | ||
1550 | { | ||
1551 | .ident = "Acer Chromebook R11 (Cyan)", | ||
1552 | .matches = { | ||
1553 | DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), | ||
1554 | DMI_MATCH(DMI_PRODUCT_NAME, "Cyan"), | ||
1555 | }, | ||
1556 | }, | ||
1557 | { | ||
1558 | .ident = "Samsung Chromebook 3 (Celes)", | ||
1559 | .matches = { | ||
1560 | DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), | ||
1561 | DMI_MATCH(DMI_PRODUCT_NAME, "Celes"), | ||
1549 | }, | 1562 | }, |
1550 | }, | 1563 | }, |
1551 | {} | 1564 | {} |