Hi Alexander, Dave, On 2/20/25 19:47, Alexander Shiyan wrote: > Hello Dave. > >>> The imx415 sensor has one more register for setting the output >>> format (10/12 bit), which is currently not in the driver. >> >> The datasheet states it is the "internal A/D conversion bits" setting, >> not output format. >> Output format is set via MDBIT (reg 0x3032). >> >> The sensor may well happily truncate 12bit A/D readout to RAW10 >> output, or left shift 10bit A/D values to RAW12 output. >> >> I'll defer to Wolfvision on this one as I would expect them as the >> original authors to have been given a register list by Sony for the >> readout modes that they were interested in. Sony may therefore have >> recommended this apparent mismatch in A/D depth vs output format. Cc: Gerald who is already looking into this As far as I can gather, the register is not crucial for the correct operation. The chip works fine for us with the current driver and ADBIT1 is not mentioned in the register lists for the different modes. However, we have successfully set the register in a different project (MCU + IMX415). The patch may not be essential, but it is clearly correct IMHO. Best regards, Michael > > As far as I can see from the datasheet, the "Operating mode" table (page 48) > clearly states that the AS-conversion and output bit width values are equal. > > Thanks!