[PATCH v1] libipa: camera_sensor_helper: Add OV5675 black level
Quentin Schulz
quentin.schulz at cherry.de
Tue Jul 23 16:25:34 CEST 2024
Hi Daniel,
On 7/23/24 4:17 PM, Daniel Semkowicz wrote:
> Add black level value for OV5675 camera.
> According to datasheet, default value is 0x10, 10 bits width.
>
> Signed-off-by: Daniel Semkowicz <dse at thaumatec.com>
Yes.... but I just checked now the init sequence in the Linux kernel
driver and it's different from the default :/
The 10b value is stored in two registers: 0x4002 BLC[9:8] as LSBs and
0x4003 for BLC[7:0]. The default value is indeed 0x00 and 0x10, BUT the
driver sets 0x4003 to 0x40 so I think this needs to be 0x40? Can you see
if this makes things better?
Cheers,
Quentin
More information about the libcamera-devel
mailing list