Hi Sebastian, On Mon, Mar 10, 2025 at 03:39:02PM -0400, Sebastian LaVine wrote: > On Thu Feb 13, 2025 at 5:19 AM EST, Laurent Pinchart wrote: > > > > ... > > > >> +static const struct cci_reg_sequence imx728_wdr_12bit_3856x2176[] = { > > > > This table is way too big, with over 8000 entries. Some are even > > duplicated, with identical or different values for the same register. It > > will take more than a second at 400kHz to program this. > > > > At the very least I would expect a way to compact the table and make use > > of I2C register address auto-increment. Default power-up values should > > also likely be just dropped. > > > > I haven't checked in details, but doesn't this table also contain tuning > > data for your specific camera ? > > > > In my testing, it takes around two seconds to write this table to the sensor. > > I can investigate how to condense the table further, though the > registers for this sensor are more complex than just writing values to > addresses. The meaning of certain address writes depend on previous > writes -- thus the "duplicated" writes you mentioned. > > I do not believe this table contains tuning information for our camera > module in particular. The amount of the data is significantly higher than what sensors mostly have for configuring the analogue processing and does not look like executable code either (I've seen that, too). Any idea what that data is? -- Kind regards, Sakari Ailus