]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: ov2740: Add powerdown GPIO support
authorHans de Goede <hdegoede@redhat.com>
Thu, 28 Nov 2024 15:23:37 +0000 (16:23 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 19 Dec 2024 11:50:17 +0000 (12:50 +0100)
commitfa3772f390c6aed371639c35383ceb4025597af1
treec9bdad0bdcbf981bec578033d561b8ccbc8402c6
parent17898af922834cf2673896715d9495b34ab70677
media: ov2740: Add powerdown GPIO support

The ov2740 sensor has both reset and power_down inputs according to
the datasheet one or the other should always be tied to DOVDD but on
some designs both are attached to GPIOs.

Add support for controlling both a reset and a powerdown GPIO.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Acked-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov2740.c