diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-12-04 13:39:38 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-12-13 13:21:20 +0100 |
commit | 1a140854bc8c9d258ddb31912b80f63faf760144 (patch) | |
tree | 0c35e4ce24a22332ea41101b0de51e234eaeea75 /drivers/media/i2c/imx219.c | |
parent | media: i2c: Add support for alvium camera (diff) | |
download | linux-1a140854bc8c9d258ddb31912b80f63faf760144.tar.xz linux-1a140854bc8c9d258ddb31912b80f63faf760144.zip |
media: ov2740: Add support for reset GPIO
On some ACPI platforms, such as Chromebooks the ACPI methods to
change the power-state (_PS0 and _PS3) fully take care of powering
on/off the sensor.
On other ACPI platforms, such as e.g. various ThinkPad models with
IPU6 + ov2740 sensor, the sensor driver must control the reset GPIO
and the sensor's clock itself.
Add support for having the driver control an optional reset GPIO.
Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/imx219.c')
0 files changed, 0 insertions, 0 deletions