未验证 提交 e6751917 编写于 作者: T Thierry Escande 提交者: Benson Leung

platform/chrome: cros_ec_lpc: Add support for Google Glimmer

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: NThierry Escande <thierry.escande@collabora.com>
Reviewed-by: NGwendal Grignou <gwendal@chromium.org>
Signed-off-by: NBenson Leung <bleung@chromium.org>
上级 5f454bdf
...@@ -362,6 +362,13 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = { ...@@ -362,6 +362,13 @@ static const struct dmi_system_id cros_ec_lpc_dmi_table[] __initconst = {
DMI_MATCH(DMI_PRODUCT_NAME, "Peppy"), 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 */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table); MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册