diff options
| author | Sakari Ailus <[email protected]> | 2025-02-11 07:28:40 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-02-11 17:15:00 +0000 |
| commit | 569617dbbd06286fb73f3f1c2ac91e51d863c7de (patch) | |
| tree | be4c3210f0a03d0defd3be5ba796211470227b80 /drivers/platform/x86/intel/vsec.c | |
| parent | platform/x86: int3472: Use correct type for "polarity", call it gpio_flags (diff) | |
| download | kernel-569617dbbd06286fb73f3f1c2ac91e51d863c7de.tar.gz kernel-569617dbbd06286fb73f3f1c2ac91e51d863c7de.zip | |
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 <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/vsec.c')
0 files changed, 0 insertions, 0 deletions
