From a6d4e5adaa0847f428dec34baca2924c6970a067 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Thu, 27 Nov 2025 12:12:13 +0200 Subject: [PATCH] bdk: clock: add i2c to the errata affected list --- bdk/soc/clock.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bdk/soc/clock.c b/bdk/soc/clock.c index a1fdc95b..bec3b1b0 100644 --- a/bdk/soc/clock.c +++ b/bdk/soc/clock.c @@ -240,7 +240,13 @@ int clock_uart_use_src_div(u32 idx, u32 baud) void clock_enable_i2c(u32 idx) { + // Ease the stress to APB. + bpmp_clk_rate_relaxed(true); + clock_enable(&_clock_i2c[idx]); + + // Restore sys clock. + bpmp_clk_rate_relaxed(false); } void clock_disable_i2c(u32 idx)