Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 741bf0c7 authored by Benson Leung's avatar Benson Leung Committed by Matthew Garrett
Browse files

Platform: x86: chromeos_laptop - add i915 gmbuses to adapter names



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: default avatarBenson Leung <bleung@chromium.org>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent cc5c3985
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 = {