Skip to content

Commit 5fb2767

Browse files
sgilbert182carlescufi
authored andcommitted
i2c: stm32: Add config option to enable DMA support
Add option to enable DMA support Signed-off-by: Simon Gilbert <[email protected]>
1 parent 878ab53 commit 5fb2767

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/i2c/Kconfig.stm32

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,13 @@ config I2C_STM32_V2_TIMING
5555
help
5656
Enable STM32 driver bus to calculate the Timing.
5757

58+
config I2C_STM32_V2_DMA
59+
bool "DMA support"
60+
depends on I2C_STM32_V2
61+
select DMA
62+
select CACHE_MANAGEMENT if CPU_HAS_DCACHE
63+
select EXPERIMENTAL
64+
help
65+
Enable DMA support for the STM32 I2C driver.
66+
5867
endif # I2C_STM32

0 commit comments

Comments
 (0)