platform/x86: int3472: For mt9m114 sensors map powerdown to powerenable
authorHans de Goede <hdegoede@redhat.com>
Wed, 7 May 2025 18:47:36 +0000 (20:47 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 8 May 2025 14:36:55 +0000 (17:36 +0300)
commitd4860025a3fd9c20a801c2273227906874e76413
tree7e5c40db575999718402698b57e4493823c80a0f
parent45adb05473aa4afd6ff19fd0c46c17a6294ae788
platform/x86: int3472: For mt9m114 sensors map powerdown to powerenable

mt9m114 atomisp designs declare both reset and powerdown pins in their
GPIO type DSM, but the mt9m114 only has a reset pin. The powerdown pin
seems to control the regulators suppyling power to the sensor and
the privacy LED.

Add a mapping of powerdown to powerenable for the mt9m114 for this.

While at is also add a comment to document the ov7251 mapping.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250507184737.154747-6-hdegoede@redhat.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