Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions drivers/platform/x86/intel/int3472/discrete.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ static const char * const power_enable_hids_enable[] = {
NULL
};

static const char * const power_enable_hids_vdda[] = {
"INT347E", /* ov7251 */
NULL
};

/**
* struct int3472_gpio_map - Map GPIOs to whatever is expected by the
* sensor driver (as in DT bindings)
Expand Down Expand Up @@ -185,6 +190,13 @@ static const struct int3472_gpio_map int3472_gpio_map[] = {
.con_id = "dvdd",
.enable_time_us = 45 * USEC_PER_MSEC,
},
{ /* Sensors which expect "vdda" as con_id for power enable */
.hids = power_enable_hids_vdda,
.type_from = INT3472_GPIO_TYPE_POWER_ENABLE,
.type_to = INT3472_GPIO_TYPE_POWER_ENABLE,
.con_id = "vdda",
.enable_time_us = GPIO_REGULATOR_ENABLE_TIME,
},
{ /* Sensors which expect "vana" as con_id for power enable */
.hids = power_enable_hids_vana,
.type_from = INT3472_GPIO_TYPE_POWER_ENABLE,
Expand Down