diff options
author | Mikhail Rudenko <mike.rudenko@gmail.com> | 2024-04-16 23:45:12 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-04-26 11:20:57 +0100 |
commit | 8fe37e596b020d6d0727b7557bc3ad2a08f0a177 (patch) | |
tree | 11187dcb9f6db6a424e1db9994ce778fc9fa8479 /drivers/media/i2c/Kconfig | |
parent | 61198ad4b3b0144f1138b4d96173c685ad41cde9 (diff) | |
download | linux-8fe37e596b020d6d0727b7557bc3ad2a08f0a177.tar.gz linux-8fe37e596b020d6d0727b7557bc3ad2a08f0a177.tar.bz2 linux-8fe37e596b020d6d0727b7557bc3ad2a08f0a177.zip |
media: i2c: ov4689: CCI conversion
Convert the i2c register accesses to utilize the CCI helper library
rather than relying on driver-specific functions. Also, set analogue
gain in a single 16-bit write instead of two 8-bit writes.
[Sakari Ailus: Initialise sensor_gain as 0.]
Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/i2c/Kconfig')
-rw-r--r-- | drivers/media/i2c/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 8d248b9c9562..c6d3ee472d81 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -406,6 +406,7 @@ config VIDEO_OV2740 config VIDEO_OV4689 tristate "OmniVision OV4689 sensor support" depends on GPIOLIB + select V4L2_CCI_I2C help This is a Video4Linux2 sensor-level driver for the OmniVision OV4689 camera. |