Re: [PATCH] arm64: dts: renesas: r9a09g047e57-smarc: Reduce I2C2 clock frequency

From: Geert Uytterhoeven
Date: Mon May 19 2025 - 04:29:26 EST


Hi John,

On Mon, 19 May 2025 at 00:08, John Madieu <john.madieu.xa@xxxxxxxxxxxxxx> wrote:
> Lower the I2C2 bus clock frequency on the RZ/G3E SMARC SoM from 1MHz to 400KHz
> to improve compatibility with a wider range of I2C peripherals. The previous
> 1MHz setting was too aggressive for some devices on the bus, which experienced
> timing issues at such a frequency.
>
> Fixes: f7a98e256ee3 ("arm64: dts: renesas: rzg3e-smarc-som: Add I2C2 device pincontrol")
> Signed-off-by: John Madieu <john.madieu.xa@xxxxxxxxxxxxxx>

Thanks for your patch!

> --- a/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi
> +++ b/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi
> @@ -85,7 +85,7 @@ &gpu {
> &i2c2 {
> pinctrl-0 = <&i2c2_pins>;
> pinctrl-names = "default";
> - clock-frequency = <1000000>;
> + clock-frequency = <400000>;
> status = "okay";
>
> raa215300: pmic@12 {

Can you please clarify which devices on this bus do not support 1 MHz?
Or perhaps this is a board layout issue?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds