[PATCH 0/2] Make i.MX 93 ADC calibration params configurable
Primoz Fiser
primoz.fiser at norik.com
Thu Jul 10 00:39:02 PDT 2025
The i.MX 93 ADC calibration parameters are configurable in the MCR
(Main Configuration Register). One can tweak bits:
- MCR[AVGEN]: Enable calibration averaging function,
- MCR[NRSMPL]: Select number of calibration samples,
- MCR[TSAMP]: Select sample time of calibration conversions,
Make it possible to configure those parameters via the corresponding
device-tree properties.
This patch series is based on the one we submitted in March 2024:
https://lore.kernel.org/linux-arm-kernel/20240320100407.1639082-1-andrej.picej@norik.com/
Changes since the original submission:
- rebase on linux-next
- reorder patches (bindings before users)
- fix checkpatch errors
- reword commit subject & body
- implement feedback from reviewers
Andrej Picej (2):
dt-bindings: iio: adc: imx93: Add calibration properties
iio: adc: imx93: Make calibration parameters configurable
.../bindings/iio/adc/nxp,imx93-adc.yaml | 21 ++++++
drivers/iio/adc/imx93_adc.c | 75 +++++++++++++++++--
2 files changed, 91 insertions(+), 5 deletions(-)
--
2.34.1
More information about the linux-arm-kernel
mailing list