From 93ff86fab7bd07e9c53727d57e2ce3b2888910b8 Mon Sep 17 00:00:00 2001 From: Eren Terzioglu Date: Fri, 27 Mar 2026 10:44:34 +0100 Subject: [PATCH] boards/risc-v/esp32p4: Add LPI2C board support Add LPI2C board support for esp32p4 Signed-off-by: Eren Terzioglu --- boards/risc-v/esp32p4/common/src/esp_board_i2c.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boards/risc-v/esp32p4/common/src/esp_board_i2c.c b/boards/risc-v/esp32p4/common/src/esp_board_i2c.c index 76cbbc6cf43..90a69d3f53f 100644 --- a/boards/risc-v/esp32p4/common/src/esp_board_i2c.c +++ b/boards/risc-v/esp32p4/common/src/esp_board_i2c.c @@ -164,5 +164,9 @@ int board_i2c_init(void) ret = i2c_slave_driver_init(ESPRESSIF_I2C0_SLAVE, I2C0_SLAVE_ADDR); #endif +#ifdef CONFIG_ESPRESSIF_LP_I2C0 + ret = i2c_driver_init(ESPRESSIF_LP_I2C0); +#endif + return ret; }