Re: [PATCH v3 09/17] media: i2c: os05b10: update pixel rate on 10/12-bit mode switch
From: Jai Luthra
Date: Wed Jul 22 2026 - 02:22:00 EST
Quoting Tarang Raval (2026-07-19 01:39:00)
> After adding 12-bit RAW support, the pixel rate depends on the selected
> mode bpp. Store the V4L2_CID_PIXEL_RATE control pointer and update its
> range/value when the mode changes so 10/12-bit switching reports the
> correct pixel rate.
>
Link frequency (output bus rate) and Pixel rate (sensor internal readout)
can often be independent of each other. It would be good to verify that in
the sensor documentation.
A quick test would be different bpp and the same HTS/VTS and frame size
registers if you get the same frame rate, it's likely that the sensor's
internal PIXEL_RATE doesn't change due to bpp.
> Signed-off-by: Tarang Raval <tarang.raval@xxxxxxxxxxxxxxxxx>
Thanks,
Jai