summaryrefslogtreecommitdiffstats
path: root/drivers/aiodev/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-10-24 11:56:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-10-28 06:52:53 +0200
commit94729ba85abb3deb77d7ba67c6ded2217cc436c8 (patch)
tree233d7590f7175c38c03cd53602f033684a85b6bf /drivers/aiodev/Makefile
parentd9db4ac446fa601125b1dbafd9d6c280b429edaa (diff)
downloadbarebox-94729ba85abb3deb77d7ba67c6ded2217cc436c8.tar.gz
barebox-94729ba85abb3deb77d7ba67c6ded2217cc436c8.tar.xz
aiodev: port Linux imx7d-adc driver
The i.MX7 has two ADCs of 4 logical channels each. Port the Linux v6.0 driver of the peripheral to make them usable in barebox. This can be useful for board type/revision detection that employs voltage dividers. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221024095612.1537704-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/aiodev/Makefile')
-rw-r--r--drivers/aiodev/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/aiodev/Makefile b/drivers/aiodev/Makefile
index 06a63b0d2d..9cb11605ed 100644
--- a/drivers/aiodev/Makefile
+++ b/drivers/aiodev/Makefile
@@ -9,3 +9,4 @@ obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
obj-$(CONFIG_AM335X_ADC) += am335x_adc.o
obj-$(CONFIG_STM32_ADC) += stm32-adc.o stm32-adc-core.o
obj-$(CONFIG_ROCKCHIP_SARADC) += rockchip_saradc.o
+obj-$(CONFIG_IMX7D_ADC) += imx7d_adc.o