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 4/6] Platform: x86: chromeos_laptop - Add names of Haswell ULT i2c busses
Date: Sun, 20 Oct 2013 20:58:27 -0700	[thread overview]
Message-ID: <1382327909-6140-5-git-send-email-bleung@chromium.org> (raw)
In-Reply-To: <1382327909-6140-1-git-send-email-bleung@chromium.org>

The designware-pci i2c busses will be named "i2c-designware-pci-0"
and "i2c-designware-pci-1" accordingly.

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

diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/platform/x86/chromeos_laptop.c
index 1c2747f..57ded03 100644
--- a/drivers/platform/x86/chromeos_laptop.c
+++ b/drivers/platform/x86/chromeos_laptop.c
@@ -45,6 +45,8 @@ const char *i2c_adapter_names[] = {
 	"SMBus I801 adapter",
 	"i915 gmbus vga",
 	"i915 gmbus panel",
+	"i2c-designware-pci-0",
+	"i2c-designware-pci-1",
 };
 
 /* Keep this enum consistent with i2c_adapter_names */
@@ -52,6 +54,8 @@ enum i2c_adapter_type {
 	I2C_ADAPTER_SMBUS = 0,
 	I2C_ADAPTER_VGADDC,
 	I2C_ADAPTER_PANEL,
+	I2C_ADAPTER_I2C0,
+	I2C_ADAPTER_I2C1,
 };
 
 struct i2c_peripheral {
-- 
1.8.3.2


  parent reply	other threads:[~2013-10-21  3:58 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 ` Benson Leung [this message]
2013-10-21  3:58 ` [PATCH 5/6] Platform: x86: chromeos_laptop - Add HP Chromebook 14 Benson Leung
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-5-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).