[PATCH 00/11] media: i2c: ov5640: Refactor ISP configuration
From: Kieran Bingham
Date: Fri May 01 2026 - 11:41:17 EST
The OV5640 has an internal ISP which has hard coded parameters for the
AWB, LSC, GMA and CMX encoded within the init register table.
This means that the original upstream submission contains module
specific tuning which do not match any subsequent users of the device
with the driver.
This series aims to commence the cleanup and abstraction of the
parameters of the OV5640 ISP to make them configurable and adaptable to
new modules.
Fortuantely a full register datasheet has been leaked publicly to enable
this work. I won't specify where this is here - but it can easily be
found online with your favourite search engines.
Signed-off-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx>
---
Kieran Bingham (11):
media: i2c: ov5640: Set default WB gains
media: i2c: ov5640: Set exposure minimum and defaults
media: i2c: ov5640: Fix minimum gain to 1.0x
media: i2c: ov5640: fix error path in ov5640_set_mode
media: i2c: ov5640: Remove unsupported bayer orders
media: i2c: ov5640: split out the LSC registers
media: i2c: ov5640: Split out AWB registers
media: i2c: ov5640: Document AWB control registers
media: i2c: ov5640: Add ISP Control registers
media: i2c: ov5640: Disable ISP for raw output
media: i2c: ov5640: Split out format mux registers
drivers/media/i2c/ov5640.c | 229 ++++++++++++++++++++++++++++++++-------------
1 file changed, 164 insertions(+), 65 deletions(-)
---
base-commit: 7666942083e1f5b82dab5fe8df17f2f932aeac7c
change-id: 20260501-ov5640_cleanup-a43fcfdb25fc
Best regards,
--
--
Kieran