On Wed, 20 Mar 2024 11:04:04 +0100 Andrej Picej <andrej.picej@xxxxxxxxx> wrote: > Hi all, > > we had some problems with failing ADC calibration on the i.MX93 boards. > Changing default calibration settings fixed this. The board where this > patches are useful is not yet upstream but will be soon (hopefully). Tell us more. My initial instinct is that this shouldn't be board specific. What's the trade off we are making here? Time vs precision of calibration or something else? If these are set to a level by default that doesn't work for our board, maybe we should just change them for all devices? Jonathan > > Since we had these patches laying around we thought they might also be > useful for someone else. > > Best regards, > Andrej > > Andrej Picej (2): > iio: adc: imx93: Make calibration properties configurable > dt-bindings: iio: adc: nxp,imx93-adc.yaml: Add calibration properties > > .../bindings/iio/adc/nxp,imx93-adc.yaml | 15 +++++ > drivers/iio/adc/imx93_adc.c | 66 +++++++++++++++++-- > 2 files changed, 76 insertions(+), 5 deletions(-) >