]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: renesas: rzg3e-smarc-som: Reduce I2C2 clock frequency
authorJohn Madieu <john.madieu.xa@bp.renesas.com>
Sun, 18 May 2025 22:08:12 +0000 (00:08 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 26 May 2025 10:07:27 +0000 (12:07 +0200)
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.
As the GreenPAK device is programmed to operate at 400kHz, the previous
1MHz setting was too aggressive, causing it to experience timing issues.

Fixes: f7a98e256ee3 ("arm64: dts: renesas: rzg3e-smarc-som: Add I2C2 device pincontrol")
Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250518220812.1480696-1-john.madieu.xa@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi

index 43d79158d81ad90a481cb07b83e6bf27e4d70b8b..ecea29a76b144ef6869e8a92a1b395e09cc8ac83 100644 (file)
@@ -85,7 +85,7 @@
 &i2c2 {
        pinctrl-0 = <&i2c2_pins>;
        pinctrl-names = "default";
-       clock-frequency = <1000000>;
+       clock-frequency = <400000>;
        status = "okay";
 
        raa215300: pmic@12 {