media: atomisp: ov2680: Add exposure and gain controls
authorHans de Goede <hdegoede@redhat.com>
Fri, 30 Dec 2022 18:37:42 +0000 (19:37 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 07:24:33 +0000 (08:24 +0100)
commit250b9a99bed87828e1beee8d3e8c2df6d7206d15
treea836adf2fd34eb84d0970c7fdc7faeb147e14591
parent8eb47aa3a156fcebe7d5b4d4c34a1341da0df253
media: atomisp: ov2680: Add exposure and gain controls

Add exposure and gain controls. This allows controlling
the exposure and gain through standard v4l2 IOCTLs.

Note the register defines for the exposure and gain registers
are renamed to match the datasheet.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c
drivers/staging/media/atomisp/i2c/ov2680.h