Skip to content

Commit aeb068c

Browse files
stmordretWolfram Sang
authored andcommitted
i2c: i2c-stm32f7: add driver
This patch adds initial support for the STM32F7 I2C controller. Signed-off-by: M'boumba Cedric Madianga <[email protected]> Signed-off-by: Pierre-Yves MORDRET <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent df8c847 commit aeb068c

File tree

3 files changed

+983
-0
lines changed

3 files changed

+983
-0
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,16 @@ config I2C_STM32F4
945945
This driver can also be built as module. If so, the module
946946
will be called i2c-stm32f4.
947947

948+
config I2C_STM32F7
949+
tristate "STMicroelectronics STM32F7 I2C support"
950+
depends on ARCH_STM32 || COMPILE_TEST
951+
help
952+
Enable this option to add support for STM32 I2C controller embedded
953+
in STM32F7 SoCs.
954+
955+
This driver can also be built as module. If so, the module
956+
will be called i2c-stm32f7.
957+
948958
config I2C_STU300
949959
tristate "ST Microelectronics DDC I2C interface"
950960
depends on MACH_U300

drivers/i2c/busses/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ obj-$(CONFIG_I2C_SIRF) += i2c-sirf.o
9494
obj-$(CONFIG_I2C_SPRD) += i2c-sprd.o
9595
obj-$(CONFIG_I2C_ST) += i2c-st.o
9696
obj-$(CONFIG_I2C_STM32F4) += i2c-stm32f4.o
97+
obj-$(CONFIG_I2C_STM32F7) += i2c-stm32f7.o
9798
obj-$(CONFIG_I2C_STU300) += i2c-stu300.o
9899
obj-$(CONFIG_I2C_SUN6I_P2WI) += i2c-sun6i-p2wi.o
99100
obj-$(CONFIG_I2C_TEGRA) += i2c-tegra.o

0 commit comments

Comments
 (0)