linux/drivers/platform/x86/intel/int3472
Sakari Ailus 569617dbbd
platform/x86: int3472: Call "reset" GPIO "enable" for INT347E
The DT bindings for ov7251 specify "enable" GPIO (xshutdown in
documentation) but the int3472 indiscriminately provides this as a "reset"
GPIO to sensor drivers. Take this into account by assigning it as "enable"
with active high polarity for INT347E devices, i.e. ov7251. "reset" with
active low polarity remains the default GPIO name for other devices.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250211072841.7713-3-sakari.ailus@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-02-11 19:15:00 +02:00
..
clk_and_regulator.c platform/x86: int3472: Switch to devm_get_gpiod() 2023-10-06 13:34:58 +03:00
common.c platform/x86: int3472: Debug log the sensor name 2024-12-10 15:41:26 +02:00
common.h platform/x86: int3472: Stop using gpiod_toggle_active_low() 2023-10-06 13:34:56 +03:00
discrete.c platform/x86: int3472: Call "reset" GPIO "enable" for INT347E 2025-02-11 19:15:00 +02:00
Kconfig
led.c platform/x86: int3472: Switch to devm_get_gpiod() 2023-10-06 13:34:58 +03:00
Makefile platform/x86: int3472: make common part a separate module 2024-08-05 17:00:09 +02:00
tps68470.c platform/x86: int3472: Check for adev == NULL 2024-12-10 15:41:20 +02:00
tps68470.h
tps68470_board_data.c platform/x86: int3472: Add GPIOs to Surface Go 3 Board data 2023-03-07 12:08:30 +01:00