mirror-linux/include/linux/platform_data/x86
Leif Skunberg 2a7b7652b1
platform/x86: int3472: Handle GPIO type 0x10 (DOVDD)
The Lenovo ThinkPad X1 Fold 16 Gen 1 has an OV5675 sensor (ACPI HID
OVTI5675) behind an INT3472 discrete PMIC controller. The INT3472
_DSM returns GPIO type 0x10 for one of the pins, which controls the
DOVDD (digital I/O power) regulator enable.

Type 0x10 is not currently handled by the driver, causing the GPIO to
be ignored with a warning. Add INT3472_GPIO_TYPE_DOVDD (0x10) and
handle it as a regulator with con_id "dovdd" to match the supply name
used by sensor drivers (e.g. ov5675).

Also increase GPIO_SUPPLY_NAME_LENGTH from 5 to 6 to accommodate
the "dovdd" name (5 chars + null terminator).

Signed-off-by: Leif Skunberg <diamondback@cohunt.app>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/20260210132129.17943-1-diamondback@cohunt.app
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2026-02-23 17:49:36 +02:00
..
amd-fch.h Move FCH header to a location accessible by all archs 2025-06-30 13:42:11 +03:00
apple.h
asus-wmi.h platform-drivers-x86 for v7.0-1 2026-02-13 15:39:15 -08:00
clk-lpss.h
clk-pmc-atom.h
int3472.h platform/x86: int3472: Handle GPIO type 0x10 (DOVDD) 2026-02-23 17:49:36 +02:00
intel-mid_wdt.h
intel_pmc_ipc.h platform/x86: intel_pmc_ipc: fix ACPI buffer memory leak 2025-12-01 11:56:28 +02:00
intel_scu_ipc.h
nvidia-wmi-ec-backlight.h
p2sb.h
pmc_atom.h
pwm-lpss.h
simatic-ipc-base.h
simatic-ipc.h
soc.h
spi-intel.h