Skip to content

Commit 1e23dca

Browse files
caihuoqing1990Jonathan Cameron
authored andcommitted
iio: imx8qxp-adc: Add driver support for NXP IMX8QXP ADC
The NXP i.MX 8QuadXPlus SOC has a new ADC IP, so add driver support for this ADC. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20210925020555.129-2-caihuoqing@baidu.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 269efcf commit 1e23dca

3 files changed

Lines changed: 505 additions & 0 deletions

File tree

‎drivers/iio/adc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,16 @@ config IMX7D_ADC
530530
This driver can also be built as a module. If so, the module will be
531531
called imx7d_adc.
532532

533+
config IMX8QXP_ADC
534+
tristate "NXP IMX8QXP ADC driver"
535+
depends on ARCH_MXC_ARM64 || COMPILE_TEST
536+
depends on HAS_IOMEM
537+
help
538+
Say yes here to build support for IMX8QXP ADC.
539+
540+
This driver can also be built as a module. If so, the module will be
541+
called imx8qxp-adc.
542+
533543
config LP8788_ADC
534544
tristate "LP8788 ADC driver"
535545
depends on MFD_LP8788

‎drivers/iio/adc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ obj-$(CONFIG_FSL_MX25_ADC) += fsl-imx25-gcq.o
4646
obj-$(CONFIG_HI8435) += hi8435.o
4747
obj-$(CONFIG_HX711) += hx711.o
4848
obj-$(CONFIG_IMX7D_ADC) += imx7d_adc.o
49+
obj-$(CONFIG_IMX8QXP_ADC) += imx8qxp-adc.o
4950
obj-$(CONFIG_INA2XX_ADC) += ina2xx-adc.o
5051
obj-$(CONFIG_INGENIC_ADC) += ingenic-adc.o
5152
obj-$(CONFIG_INTEL_MRFLD_ADC) += intel_mrfld_adc.o

0 commit comments

Comments
 (0)