summary refs log tree commit diff
path: root/drivers/iio/dac/Makefile
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2017-04-10 17:49:50 +0200
committerJonathan Cameron <jic23@kernel.org>2017-04-14 16:36:16 +0100
commit4d4b30526eb88c4528ddfa8c113961c1ac178479 (patch)
treeeb212f4d39643823e2d757387799b34e8fa84d32 /drivers/iio/dac/Makefile
parent48428d17325291f5be8c0420efca7e312587d9ad (diff)
downloadlinux-4d4b30526eb88c4528ddfa8c113961c1ac178479.tar.gz
iio: dac: add support for stm32 DAC
Add support for STMicroelectronics STM32 DAC. It's a 12-bit, voltage
output digital-to-analog converter. It has two output channels, each
with its own converter.
It supports 8 bits or 12bits left/right aligned data format. Only
12bits right-aligned is used here. It has built-in noise or
triangle waveform generator, and supports external triggers for
conversions.
Each channel can be used independently, with separate trigger, then
separate IIO devices are used to handle this. Core driver is intended
to share common resources such as clock, reset, reference voltage and
registers.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac/Makefile')
-rw-r--r--drivers/iio/dac/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/dac/Makefile b/drivers/iio/dac/Makefile
index 6e4d99557309..603587cc2f07 100644
--- a/drivers/iio/dac/Makefile
+++ b/drivers/iio/dac/Makefile
@@ -30,4 +30,6 @@ obj-$(CONFIG_MAX517) += max517.o
 obj-$(CONFIG_MAX5821) += max5821.o
 obj-$(CONFIG_MCP4725) += mcp4725.o
 obj-$(CONFIG_MCP4922) += mcp4922.o
+obj-$(CONFIG_STM32_DAC_CORE) += stm32-dac-core.o
+obj-$(CONFIG_STM32_DAC) += stm32-dac.o
 obj-$(CONFIG_VF610_DAC) += vf610_dac.o