ARM: configs: stm32: Add I2C support
authorM'boumba Cedric Madianga <cedric.madianga@gmail.com>
Fri, 31 Mar 2017 12:14:53 +0000 (14:14 +0200)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 31 Mar 2017 12:19:18 +0000 (14:19 +0200)
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>
arch/arm/configs/stm32_defconfig

index a9d8e3c9b4871fa1dcd9f980d80beb333ef098be..2a5c5dc379bbe4ce958cf2e7c4c5bccdcf37881b 100644 (file)
@@ -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