media: i2c: ov4689: Set timing registers programmatically
authorMikhail Rudenko <mike.rudenko@gmail.com>
Tue, 16 Apr 2024 22:45:24 +0000 (23:45 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 10:29:06 +0000 (11:29 +0100)
commit05e8c95e751d2921faee24bedac93c7508bd605a
treeb6a04d5d483048077c8ed5174837cbbda12b5ce6
parentbf475d32eee5fa71f9533d3200d7b6116e2ef7ac
media: i2c: ov4689: Set timing registers programmatically

Set timing-related and BLC anchor registers via cci calls instead of
hardcoding them in the register table. This prepares the driver for
implementation of configurable analogue crop and binning. No
functional change intended.

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>
drivers/media/i2c/ov4689.c