summaryrefslogtreecommitdiff
path: root/arch/arm/configs/stm32_defconfig
diff options
context:
space:
mode:
authorFabrice GASNIER <fabrice.gasnier@st.com>2016-12-02 16:57:00 +0300
committerAlexandre TORGUE <alexandre.torgue@st.com>2017-01-09 16:33:31 +0300
commite297b7343d04afc78329915348d00e1028d8c193 (patch)
tree00bceadb39d37365bbd1a788bc68962e380db3e5 /arch/arm/configs/stm32_defconfig
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
downloadlinux-e297b7343d04afc78329915348d00e1028d8c193.tar.xz
ARM: configs: stm32: enable ADC driver
ADC driver depends on REGULATOR and IIO that are not yet selected. Current hardware boards (like stm32f429i-eval) is using fixed regulators. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/configs/stm32_defconfig')
-rw-r--r--arch/arm/configs/stm32_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 5a72d694662f..8c27c9e11e7a 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -48,6 +48,8 @@ CONFIG_SERIAL_STM32=y
CONFIG_SERIAL_STM32_CONSOLE=y
# CONFIG_HW_RANDOM is not set
# CONFIG_HWMON is not set
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_USB_SUPPORT is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
@@ -56,6 +58,9 @@ CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_DMADEVICES=y
CONFIG_STM32_DMA=y
+CONFIG_IIO=y
+CONFIG_STM32_ADC_CORE=y
+CONFIG_STM32_ADC=y
# CONFIG_FILE_LOCKING is not set
# CONFIG_DNOTIFY is not set
# CONFIG_INOTIFY_USER is not set