[PATCH v5 0/2 RESEND] imx93: add ADC support

Luca Ellero
2023-07-05T12:56:26Z

Add ADC support for NXP iMX93

Changes for v2:
- add "static" to functions
- enable ADC in iMX93 EVK

Changes for v3:
- split in 3 commits
- keep dts file in sync with Linux devicetree
- add comments to commits

Changes for v4:
- add imx93_adc_power_down() in imx93_adc_stop()

Changes for v5:
- simplify code
- remove redundant code
- add clock handling

Luca Ellero (2):
dm: adc: add iMX93 ADC support
imx93_evk: defconfig: add adc support

configs/imx93_11x11_evk_defconfig | 1 +
drivers/adc/Kconfig | 8 +
drivers/adc/Makefile | 1 +
drivers/adc/imx93-adc.c | 290 ++++++++++++++++++++++++++++++
4 files changed, 300 insertions(+)
create mode 100644 drivers/adc/imx93-adc.c

--
2.25.1