mbox series

[0/2] media: ov2740: Add support for reset GPIO and external clock

Message ID 20231115123817.196252-1-hdegoede@redhat.com (mailing list archive)
Headers show
Series media: ov2740: Add support for reset GPIO and external clock | expand

Message

Hans de Goede Nov. 15, 2023, 12:38 p.m. UTC
Hi All,

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.

This series adds support for having the driver control
an optional reset GPIO and an optional external clock.

Regards,

Hans


Hans de Goede (2):
  media: ov2740: Add support for reset GPIO
  media: ov2740: Add support for external clock

 drivers/media/i2c/ov2740.c | 60 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 58 insertions(+), 2 deletions(-)