linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benson Leung <bleung@chromium.org>
To: matthew.garrett@nebula.com, platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, adurbin@chromium.org,
	dlaurie@chromium.org, olofj@chromium.org, enselic@gmail.com
Cc: bleung@chromium.org
Subject: [PATCH 5/6] Platform: x86: chromeos_laptop - Add HP Chromebook 14
Date: Sun, 20 Oct 2013 20:58:28 -0700	[thread overview]
Message-ID: <1382327909-6140-6-git-send-email-bleung@chromium.org> (raw)
In-Reply-To: <1382327909-6140-1-git-send-email-bleung@chromium.org>

Add support for the trackpad on HP Chromebook 14.

Signed-off-by: Benson Leung <bleung@chromium.org>
---
 drivers/platform/x86/chromeos_laptop.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/platform/x86/chromeos_laptop.c
index 57ded03..a9ab335 100644
--- a/drivers/platform/x86/chromeos_laptop.c
+++ b/drivers/platform/x86/chromeos_laptop.c
@@ -378,6 +378,13 @@ static struct chromeos_laptop chromebook_pixel = {
 	},
 };
 
+static struct chromeos_laptop hp_chromebook_14 = {
+	.i2c_peripherals = {
+		/* Touchpad. */
+		{ .add = setup_cyapa_tp, I2C_ADAPTER_I2C0 },
+	},
+};
+
 static struct chromeos_laptop acer_c7_chromebook = {
 	.i2c_peripherals = {
 		/* Touchpad. */
@@ -435,6 +442,13 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
 		_CBDD(chromebook_pixel),
 	},
 	{
+		.ident = "HP Chromebook 14",
+		.matches = {
+			DMI_MATCH(DMI_PRODUCT_NAME, "Falco"),
+		},
+		_CBDD(hp_chromebook_14),
+	},
+	{
 		.ident = "Acer C7 Chromebook",
 		.matches = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Parrot"),
-- 
1.8.3.2


  parent reply	other threads:[~2013-10-21  3:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-21  3:58 [PATCH 0/6] Platform: x86: chromeos_laptop - Deferring and Haswell Benson Leung
2013-10-21  3:58 ` [PATCH 1/6] Platform: x86: chromeos_laptop - Restructure device associations Benson Leung
2013-10-21  3:58 ` [PATCH 2/6] Platform: x86: chromeos_laptop - Use deferred probing Benson Leung
2013-10-21  3:58 ` [PATCH 3/6] Platform: x86: chromeos_laptop - fix incorrect placement of __initdata tag Benson Leung
2013-10-21  3:58 ` [PATCH 4/6] Platform: x86: chromeos_laptop - Add names of Haswell ULT i2c busses Benson Leung
2013-10-21  3:58 ` Benson Leung [this message]
2013-10-21  3:58 ` [PATCH 6/6] Platform: x86: chromeos_laptop - Add Acer C720 Benson Leung
2013-11-25 21:13 ` [PATCH 0/6] Platform: x86: chromeos_laptop - Deferring and Haswell Olof Johansson
2013-11-25 23:05   ` Benson Leung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1382327909-6140-6-git-send-email-bleung@chromium.org \
    --to=bleung@chromium.org \
    --cc=adurbin@chromium.org \
    --cc=dlaurie@chromium.org \
    --cc=enselic@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew.garrett@nebula.com \
    --cc=olofj@chromium.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).