arch/risc-v: Add LP I2C for esp32[-c6]

Add LP I2C peripheral support for esp32c6

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
This commit is contained in:
Eren Terzioglu
2025-06-30 11:05:05 +02:00
committed by Xiang Xiao
parent cf1b087504
commit 8995226e0a
6 changed files with 196 additions and 20 deletions
@@ -160,5 +160,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;
}