linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Make i.MX 93 ADC calibration params configurable
@ 2025-07-10  7:39 Primoz Fiser
  2025-07-10  7:39 ` [PATCH 1/2] dt-bindings: iio: adc: imx93: Add calibration properties Primoz Fiser
  2025-07-10  7:39 ` [PATCH 2/2] iio: adc: imx93: Make calibration parameters configurable Primoz Fiser
  0 siblings, 2 replies; 18+ messages in thread
From: Primoz Fiser @ 2025-07-10  7:39 UTC (permalink / raw)
  To: Haibo Chen, Jonathan Cameron, David Lechner, Nuno Sa,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: linux-iio, imx, devicetree, linux-arm-kernel, linux-kernel,
	upstream, andrej.picej

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



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-08-07  9:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-10  7:39 [PATCH 0/2] Make i.MX 93 ADC calibration params configurable Primoz Fiser
2025-07-10  7:39 ` [PATCH 1/2] dt-bindings: iio: adc: imx93: Add calibration properties Primoz Fiser
2025-07-10 15:33   ` Frank Li
2025-07-10 15:46   ` David Lechner
2025-07-13 15:02     ` Jonathan Cameron
2025-07-14  5:56       ` Primoz Fiser
2025-07-14 16:11         ` Nuno Sá
2025-07-15  5:46           ` Primoz Fiser
2025-07-19 11:49             ` Jonathan Cameron
2025-07-21  9:38           ` Peng Fan
2025-07-21  9:09             ` Bough Chen
2025-07-24 15:18               ` Jonathan Cameron
2025-08-07  4:37               ` Primoz Fiser
2025-08-07  9:26                 ` Bough Chen
2025-07-10  7:39 ` [PATCH 2/2] iio: adc: imx93: Make calibration parameters configurable Primoz Fiser
2025-07-10  9:22   ` Andy Shevchenko
2025-07-10 10:23     ` Primoz Fiser
2025-07-10 12:20       ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).