]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: int3472: Rework regulator enable-time handling
authorHans de Goede <hansg@kernel.org>
Fri, 25 Jul 2025 21:52:58 +0000 (23:52 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 19 Aug 2025 08:37:44 +0000 (11:37 +0300)
commitf11f8948a826afba66355302ba7e4b3e36333038
tree2b9c11a0e57c590c356e1f01a72b98719420923e
parentb33b696f86f6d17c9083d69a13d7f32380d818d3
platform/x86: int3472: Rework regulator enable-time handling

Instead of hardcoding the regulator enable-time for INT3472_GPIO_TYPE-
POWER_ENABLE and -HANDSHAKE, make int3472_get_con_id_and_polarity()
set the enable-time.

This will allow overriding the enable time through quirks in
the int3472_gpio_map[].

Signed-off-by: Hans de Goede <hansg@kernel.org>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250725215259.402796-3-hansg@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/int3472/discrete.c