]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: adc: add iMX93 ADC support
authorLuca Ellero <l.ellero@asem.it>
Wed, 5 Jul 2023 12:56:16 +0000 (14:56 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:40 +0000 (11:29 +0200)
commit1ac30d1301fa7681dd400c21fb5cc41470c85d0a
treeb22cd1b3958d4d2c9f168d37aa8cb8492ba5570d
parentcb5fe9e33697962e4821acc040d0fe9e5eea6712
dm: adc: add iMX93 ADC support

This commit adds driver for iMX93 ADC.

The driver is implemented using driver model and provides
ADC uclass's methods for ADC single channel operations:
    - adc_start_channel()
    - adc_channel_data()
    - adc_stop()

ADC features:
    - channels: 4
    - resolution: 12-bit

Signed-off-by: Luca Ellero <l.ellero@asem.it>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
drivers/adc/Kconfig
drivers/adc/Makefile
drivers/adc/imx93-adc.c [new file with mode: 0644]