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 6/6] Platform: x86: chromeos_laptop - Add Acer C720
Date: Sun, 20 Oct 2013 20:58:29 -0700 [thread overview]
Message-ID: <1382327909-6140-7-git-send-email-bleung@chromium.org> (raw)
In-Reply-To: <1382327909-6140-1-git-send-email-bleung@chromium.org>
Add the Acer C720 entries for trackpad and light sensor.
Signed-off-by: Benson Leung <bleung@chromium.org>
---
drivers/platform/x86/chromeos_laptop.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/platform/x86/chromeos_laptop.c
index a9ab335..6e2e7fd 100644
--- a/drivers/platform/x86/chromeos_laptop.c
+++ b/drivers/platform/x86/chromeos_laptop.c
@@ -385,6 +385,15 @@ static struct chromeos_laptop hp_chromebook_14 = {
},
};
+static struct chromeos_laptop acer_c720 = {
+ .i2c_peripherals = {
+ /* Light Sensor. */
+ { .add = setup_isl29018_als, I2C_ADAPTER_I2C1 },
+ /* Touchpad. */
+ { .add = setup_cyapa_tp, I2C_ADAPTER_I2C0 },
+ },
+};
+
static struct chromeos_laptop acer_c7_chromebook = {
.i2c_peripherals = {
/* Touchpad. */
@@ -449,6 +458,13 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
_CBDD(hp_chromebook_14),
},
{
+ .ident = "Acer C720",
+ .matches = {
+ DMI_MATCH(DMI_PRODUCT_NAME, "Peppy"),
+ },
+ _CBDD(acer_c720),
+ },
+ {
.ident = "Acer C7 Chromebook",
.matches = {
DMI_MATCH(DMI_PRODUCT_NAME, "Parrot"),
--
1.8.3.2
next prev 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 ` [PATCH 5/6] Platform: x86: chromeos_laptop - Add HP Chromebook 14 Benson Leung
2013-10-21 3:58 ` Benson Leung [this message]
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-7-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
all inboxes | Powered by JetHome®