Skip to content

Commit 7d02296

Browse files
Haibo Chenjic23
authored andcommitted
iio: adc: add imx93 adc support
The ADC in i.mx93 is a total new ADC IP, add a driver to support this ADC. Currently, only support one shot normal conversion triggered by software. For other mode, will add in future. Signed-off-by: Haibo Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 2315b5c commit 7d02296

File tree

4 files changed

+498
-1
lines changed

4 files changed

+498
-1
lines changed

MAINTAINERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15020,14 +15020,16 @@ S: Maintained
1502015020
F: Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml
1502115021
F: drivers/iio/adc/imx8qxp-adc.c
1502215022

15023-
NXP i.MX 7D/6SX/6UL AND VF610 ADC DRIVER
15023+
NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER
1502415024
M: Haibo Chen <[email protected]>
1502515025
1502615026
1502715027
S: Maintained
1502815028
F: Documentation/devicetree/bindings/iio/adc/fsl,imx7d-adc.yaml
1502915029
F: Documentation/devicetree/bindings/iio/adc/fsl,vf610-adc.yaml
15030+
F: Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml
1503015031
F: drivers/iio/adc/imx7d_adc.c
15032+
F: drivers/iio/adc/imx93_adc.c
1503115033
F: drivers/iio/adc/vf610_adc.c
1503215034

1503315035
NXP PF8100/PF8121A/PF8200 PMIC REGULATOR DEVICE DRIVER

drivers/iio/adc/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,16 @@ config IMX8QXP_ADC
566566
This driver can also be built as a module. If so, the module will be
567567
called imx8qxp-adc.
568568

569+
config IMX93_ADC
570+
tristate "IMX93 ADC driver"
571+
depends on ARCH_MXC || COMPILE_TEST
572+
depends on HAS_IOMEM
573+
help
574+
Say yes here to build support for IMX93 ADC.
575+
576+
This driver can also be built as a module. If so, the module will be
577+
called imx93_adc.
578+
569579
config LP8788_ADC
570580
tristate "LP8788 ADC driver"
571581
depends on MFD_LP8788

drivers/iio/adc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ obj-$(CONFIG_HI8435) += hi8435.o
4949
obj-$(CONFIG_HX711) += hx711.o
5050
obj-$(CONFIG_IMX7D_ADC) += imx7d_adc.o
5151
obj-$(CONFIG_IMX8QXP_ADC) += imx8qxp-adc.o
52+
obj-$(CONFIG_IMX93_ADC) += imx93_adc.o
5253
obj-$(CONFIG_INA2XX_ADC) += ina2xx-adc.o
5354
obj-$(CONFIG_INGENIC_ADC) += ingenic-adc.o
5455
obj-$(CONFIG_INTEL_MRFLD_ADC) += intel_mrfld_adc.o

0 commit comments

Comments
 (0)