Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402AbdLPGK7 (ORCPT ); Sat, 16 Dec 2017 01:10:59 -0500 Received: from mail-io0-f193.google.com ([209.85.223.193]:33292 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbdLPGK4 (ORCPT ); Sat, 16 Dec 2017 01:10:56 -0500 X-Google-Smtp-Source: ACJfBov+fS0Wlp5kNvVpyQTKAuHPClTyOvl9RIDMtb8WcEF9USTa49GfNJ81IyxptZaohdzVNII3Iw== Date: Fri, 15 Dec 2017 22:10:52 -0800 From: Benson Leung To: Thierry Escande Cc: Benson Leung , Lee Jones , Jonathan Cameron , Enric Balletbo i Serra , Gwendal Grignou , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/3] platform/chrome: cros_ec_lpc: Add support for Google Glimmer Message-ID: <20171216061051.GA159355@decatoncale.mtv.corp.google.com> References: <1512135743-16529-1-git-send-email-thierry.escande@collabora.com> <1512135743-16529-3-git-send-email-thierry.escande@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <1512135743-16529-3-git-send-email-thierry.escande@collabora.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2432 Lines: 78 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Thierry, On Fri, Dec 01, 2017 at 02:42:22PM +0100, Thierry Escande wrote: > 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. >=20 > Signed-off-by: Thierry Escande Applied. Thanks. > --- > drivers/platform/chrome/cros_ec_lpc.c | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chr= ome/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_ta= ble[] __initconst =3D { > DMI_MATCH(DMI_PRODUCT_NAME, "Peppy"), > }, > }, > + { > + /* x86-glimmer, the Lenovo Thinkpad Yoga 11e. */ > + .matches =3D { > + DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), > + DMI_MATCH(DMI_PRODUCT_NAME, "Glimmer"), > + }, > + }, > { /* sentinel */ } > }; > MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table); > --=20 > 2.7.4 >=20 --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJaNLjrAAoJEB8J9XsKL+ZYLY4QAIZe0BCW7bbySt02B7HNNsIU nW4SihLmNvmVtdRUhGsvv6ReSrxaRazsHJJ6yamGA4Zersr56A+VvkRB0dbo8iAs TJ5IhvK9ZyfISrlYHo5IrQAWGKl2/qhNM+B6QDjF02Dz25/VllF3/lYmYvjt5WhH 7UWEx6MTTiDJDwkmS6amPiafdp4v34eZFuuv+YWd/Ya5oFQGAtFrih/z+W2lKYof dT+Yq2SRoyE2sZg2Sg1JeJ4bwDAInfy1qmSM/1cId2c0beUdTxHe28M2ru6mGHVO sO0/tzssV0FX4EYzEtwrRkEk57xk5Da1eeSRFli6WnULpgXE8R02pTbdbQHq9dWu HdRk997I0xX+XFnnGAKL3cl1+8VxZkcLXegDnfAAR3JR4EglifEwuEP5zarjIx20 xxt1hMLafVu7Gbk8XrEQl9uu3BKkEzB2zWf3Jfjj4yf0XxFbxNQ9Cy0CsAeRNlMh spj/2Sdaef+AGS4n4Q+cNvxOqRcG2Bk6DHULPw+KZt3xXcwtTIUpGyGlieIWyblx CpPl1SYxwZkaqyHkK5xZqw2K70ZUP3rIbQM6N5k/OW0JJi3ZTyIU5nlkwFB/e6tI MyPUzsJnnc/dPFdoAjRaZwzN/ThyUcIaZjRG/f4E95qqImOcK5JDZAr9F872h6GK 8wUTu2sch2uNMFrGTwd8 =2/eS -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--