Skip to content

Commit

Permalink
Platform: x86: chromeos_laptop - add i915 gmbuses to adapter names
Browse files Browse the repository at this point in the history
Add the two other i2c buses (vga and panel) from i915.
Chromebook Pixel has input and light sensor devices on these busses.

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
  • Loading branch information
Benson Leung authored and Matthew Garrett committed Feb 27, 2013
1 parent cc5c398 commit 741bf0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/platform/x86/chromeos_laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,15 @@ static struct i2c_client *ts;

const char *i2c_adapter_names[] = {
"SMBus I801 adapter",
"i915 gmbus vga",
"i915 gmbus panel",
};

/* Keep this enum consistent with i2c_adapter_names */
enum i2c_adapter_type {
I2C_ADAPTER_SMBUS = 0,
I2C_ADAPTER_VGADDC,
I2C_ADAPTER_PANEL,
};

static struct i2c_board_info __initdata cyapa_device = {
Expand Down

0 comments on commit 741bf0c

Please sign in to comment.