summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM'boumba Cedric Madianga <cedric.madianga@gmail.com>2017-03-31 15:14:53 +0300
committerAlexandre TORGUE <alexandre.torgue@st.com>2017-03-31 15:19:18 +0300
commit0899cd2a5fba6573decf5baad0757502fef86885 (patch)
treeff54f2896c584e53226a2390c81fa5438351128f
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
downloadlinux-0899cd2a5fba6573decf5baad0757502fef86885.tar.xz
ARM: configs: stm32: Add I2C support
This patch adds I2C support for STM32 default configuration Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
-rw-r--r--arch/arm/configs/stm32_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index a9d8e3c9b487..2a5c5dc379bb 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -47,6 +47,9 @@ CONFIG_SERIAL_NONSTANDARD=y
CONFIG_SERIAL_STM32=y
CONFIG_SERIAL_STM32_CONSOLE=y
# CONFIG_HW_RANDOM is not set
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_STM32F4=y
# CONFIG_HWMON is not set
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y