Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1534928

[PATCH 1/3] ARM: configs: stm32: enable ADC driver

From Fabrice Gasnier <fabrice.gasnier@st.com>
Newsgroups linux.kernel
Subject [PATCH 1/3] ARM: configs: stm32: enable ADC driver
Date 2016-12-02 15:00 +0100
Message-ID <sJWxz-4wP-9@gated-at.bofh.it> (permalink)
References <sJWxz-4wP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arm/configs/stm32_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index a60b5cb..92ccc3c 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -49,6 +49,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
@@ -57,6 +59,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
-- 
1.9.1

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] Enable ADC on STM32 Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-12-02 15:00 +0100
  [PATCH 1/3] ARM: configs: stm32: enable ADC driver Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-12-02 15:00 +0100
  [PATCH 3/3] ARM: dts: stm32: enable ADC on stm32f429i-eval board Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-12-02 15:00 +0100
  [PATCH 2/3] ARM: dts: stm32: Add ADC support to stm32f429 Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-12-02 15:00 +0100

csiph-web