Moi, On Thu, Mar 14, 2024 at 09:30:50AM +0200, Tomi Valkeinen wrote: > On 13/03/2024 09:24, Sakari Ailus wrote: > > Add generic serial metadata mbus formats. These formats describe data > > width and packing but not the content itself. The reason for specifying > > such formats is that the formats as such are fairly device specific but > > they are still handled by CSI-2 receiver drivers that should not be aware > > of device specific formats. What makes generic metadata formats possible > > is that these formats are parsed by software only, after capturing the > > data to system memory. > > > > Also add a definition for "Data unit" to cover what is essentially a pixel > > but is not image data. > > The CCS spec talks about legacy packing and optimized packing for 16+ bit > formats. You cover only the "legacy" ones here. Did you look at those? The reason is that the bus data layout of the new packing at higher bit depth matches with packing at lower bit depths (half to be precise). That's why there's no need to define formats for the new packing methods at higher bit depths (the driver simply uses the packing at half of the bit depth). -- Terveisin, Sakari Ailus