linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benson Leung <bleung@chromium.org>
To: gene.chen@intel.com, moch@chromium.org,
	mika.westerberg@linux.intel.com, kirill.shutemov@linux.intel.com,
	olof@lixom.net, linux-kernel@vger.kernel.org
Cc: bleung@chromium.org
Subject: [PATCH 3/3] platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch
Date: Tue,  3 Jun 2014 15:44:24 -0700	[thread overview]
Message-ID: <1401835464-15267-4-git-send-email-bleung@chromium.org> (raw)
In-Reply-To: <1401835464-15267-1-git-send-email-bleung@chromium.org>

From: Gene Chen <gene.chen@intel.com>

Add support for Leon touch devices, which is the same as
falco/peppy/wolf on the same buses using the LynxPoint-LP I2C
via the i2c-designware-pci driver.

Based on these patches from the chromeos-3.8 kernel:
https://chromium-review.googlesource.com/168351
https://chromium-review.googlesource.com/173445

Signed-off-by: Gene Chen <gene.chen@intel.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
---
 drivers/platform/chrome/chromeos_laptop.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
index c4d89ae..0f06ab5 100644
--- a/drivers/platform/chrome/chromeos_laptop.c
+++ b/drivers/platform/chrome/chromeos_laptop.c
@@ -405,6 +405,13 @@ static struct chromeos_laptop dell_chromebook_11 = {
 	},
 };
 
+static struct chromeos_laptop toshiba_cb35 = {
+	.i2c_peripherals = {
+		/* Touchpad. */
+		{ .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
+	},
+};
+
 static struct chromeos_laptop acer_c7_chromebook = {
 	.i2c_peripherals = {
 		/* Touchpad. */
@@ -486,6 +493,14 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
 		_CBDD(hp_chromebook_14),
 	},
 	{
+		.ident = "Toshiba CB35",
+		.matches = {
+			DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Leon"),
+		},
+		_CBDD(toshiba_cb35),
+	},
+	{
 		.ident = "Acer C7 Chromebook",
 		.matches = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Parrot"),
-- 
1.9.1.423.g4596e3a


  parent reply	other threads:[~2014-06-03 22:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-03 22:44 [PATCH 0/3] platform/chrome: chromeos_laptop - Add Haswell Chromebooks Benson Leung
2014-06-03 22:44 ` [PATCH 1/3] platform/chrome: chromeos_laptop - Add HP Chromebook 14 Benson Leung
2014-06-03 22:44 ` [PATCH 2/3] platform/chrome: chromeos_laptop - Add Dell Chromebook 11 touch Benson Leung
2014-06-03 22:44 ` Benson Leung [this message]
2014-06-03 22:59 ` [PATCH 0/3] platform/chrome: chromeos_laptop - Add Haswell Chromebooks Olof Johansson
2014-06-17 14:45   ` Benson Leung
2014-07-01  0:05     ` Scot Doyle
2014-07-01  0:06       ` Olof Johansson
2014-07-10 13:11         ` Scot Doyle
2014-08-01 13:08           ` Oliver Neukum
2014-08-01 14:18             ` Scot Doyle
2014-06-17 21:01 ` [PATCHv2 0/4] " Benson Leung
2014-06-17 21:02   ` [PATCHv2 1/4] platform/chrome: chromeos_laptop - Add support for Acer C720 Benson Leung
2014-06-17 21:02   ` [PATCHv2 2/4] platform/chrome: chromeos_laptop - Add HP Chromebook 14 Benson Leung
2014-06-18 10:20     ` Mika Westerberg
2014-06-17 21:02   ` [PATCHv2 3/4] platform/chrome: chromeos_laptop - Add Dell Chromebook 11 touch Benson Leung
2014-06-18 10:21     ` Mika Westerberg
2014-06-17 21:02   ` [PATCHv2 4/4] platform/chrome: chromeos_laptop - Add Toshiba CB35 Touch Benson Leung
2014-06-18 10:22     ` Mika Westerberg
2014-07-10 16:36   ` [PATCHv2 0/4] platform/chrome: chromeos_laptop - Add Haswell Chromebooks Olof Johansson

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=1401835464-15267-4-git-send-email-bleung@chromium.org \
    --to=bleung@chromium.org \
    --cc=gene.chen@intel.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=moch@chromium.org \
    --cc=olof@lixom.net \
    /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).