From bbbfc0a96dcc87f3c0d1bc486d76cd69591dc938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Bj=C3=B6rnsson?= Date: Mon, 15 May 2023 20:06:12 +0200 Subject: [PATCH] drivers: i2c: stm32: Add I2C support for STM32C0-series MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add STM32C0 SOC to combined interrupt config in order to make it support the I2C driver. Signed-off-by: Benjamin Björnsson --- drivers/i2c/Kconfig.stm32 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/Kconfig.stm32 b/drivers/i2c/Kconfig.stm32 index eff338d9c9c..e6e98df33a0 100644 --- a/drivers/i2c/Kconfig.stm32 +++ b/drivers/i2c/Kconfig.stm32 @@ -41,7 +41,8 @@ config I2C_STM32_INTERRUPT config I2C_STM32_COMBINED_INTERRUPT bool depends on I2C_STM32_INTERRUPT - default y if SOC_SERIES_STM32F0X || SOC_SERIES_STM32G0X || SOC_SERIES_STM32L0X + default y if SOC_SERIES_STM32C0X || SOC_SERIES_STM32F0X || \ + SOC_SERIES_STM32G0X || SOC_SERIES_STM32L0X config I2C_STM32_BUS_RECOVERY bool "Bus recovery support"