]> www.infradead.org Git - users/willy/pagecache.git/commit
platform/x86: int3472: Call "reset" GPIO "enable" for INT347E
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 11 Feb 2025 07:28:40 +0000 (09:28 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 11 Feb 2025 17:15:00 +0000 (19:15 +0200)
commit569617dbbd06286fb73f3f1c2ac91e51d863c7de
treebe4c3210f0a03d0defd3be5ba796211470227b80
parentfc22b06fbd2afefa1eddff69a6fd30c539cef577
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>
drivers/platform/x86/intel/int3472/discrete.c