media: ov5647: Add V4L2 controls for analogue gain, exposure and AWB
authorDavid Plowman <david.plowman@raspberrypi.com>
Wed, 29 Jan 2020 15:31:23 +0000 (15:31 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:09 +0000 (19:13 +0000)
commitbc19e9ea06d57883961d0d96119f9813d146e0b9
treecb3268448794f14a4e727912cbd060a7b91c7d63
parent12fef7be456bc2c39bbf0e8043ab7d3c14e8fd03
media: ov5647: Add V4L2 controls for analogue gain, exposure and AWB

Added basic v4l2_ctrl_handler infrastructure (there was none
previously).

Added controls to let AWB/AEC/AGC run in the sensor's auto mode or
manually. Also controls to set exposure (in lines) and analogue gain
(as a register code) from user code.

Also delete registers (just the one) from the VGA mode register set
that are now controlled by the new V4L2 controls.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/i2c/ov5647.c