Skip to content

Commit e8059d3

Browse files
djrscallyjwrdegoede
authored andcommitted
platform/x86: int3472: Add GPIOs to Surface Go 3 Board data
Add the INT347E GPIO lookup table to the board data for the Surface Go 3. This is necessary to allow the ov7251 IR camera to probe properly on that platform. Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Link: https://lore.kernel.org/r/20230302102611.314341-1-dan.scally@ideasonboard.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent 94e9cbd commit e8059d3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

drivers/platform/x86/intel/int3472/tps68470_board_data.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,10 @@ static const struct int3472_tps68470_board_data surface_go_tps68470_board_data =
159159
static const struct int3472_tps68470_board_data surface_go3_tps68470_board_data = {
160160
.dev_name = "i2c-INT3472:01",
161161
.tps68470_regulator_pdata = &surface_go_tps68470_pdata,
162-
.n_gpiod_lookups = 1,
162+
.n_gpiod_lookups = 2,
163163
.tps68470_gpio_lookup_tables = {
164-
&surface_go_int347a_gpios
164+
&surface_go_int347a_gpios,
165+
&surface_go_int347e_gpios,
165166
},
166167
};
167168

0 commit comments

Comments
 (0)