Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740871 > unrolled thread

[PATCH v2 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer

Started byThierry Escande <thierry.escande@collabora.com>
First post2017-09-27 18:30 +0200
Last post2017-09-27 18:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer Thierry Escande <thierry.escande@collabora.com> - 2017-09-27 18:30 +0200

#1740871 — [PATCH v2 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer

FromThierry Escande <thierry.escande@collabora.com>
Date2017-09-27 18:30 +0200
Subject[PATCH v2 2/4] platform/chrome: cros_ec_lpc: Add support for Google Glimmer
Message-ID<uunnH-5tL-15@gated-at.bofh.it>
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>
---
 drivers/platform/chrome/cros_ec_lpc.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chrome/cros_ec_lpc.c
index 0b26a09..4a2fc55 100644
--- a/drivers/platform/chrome/cros_ec_lpc.c
+++ b/drivers/platform/chrome/cros_ec_lpc.c
@@ -365,6 +365,13 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Peppy"),
 		},
 	},
+	{
+		/* x86-glimmer, the Lenovo Thinkpad Yoga 11e. */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Glimmer"),
+		},
+	},
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table);
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web