arm64: dts: stratix10: i2c clock running out of spec
Subsystems (2)
PATCH 1/1 arm64: dts: stratix10: i2c clock running out of spec
DesignWare I2C controller was observed running at 105.93kHz rather than the specified 100kHz. Adjust device tree settings to bring it within spec (a slightly conservative 98 MHz).
Signed-off-by Alan Tull <[email protected]>
--- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +2 -0
@@ -124,6 +124,8 @@ &i2c1 { status = "okay"; clock-frequency = <100000>; + i2c-sda-falling-time-ns = <890>; /* hcnt */ + i2c-sdl-falling-time-ns = <890>; /* lcnt */ adc at 14 { compatible = "lltc,ltc2497";
Signature · 1 line
2.7.4
Quoted 15 lines · Alan Tull
DesignWare I2C controller was observed running at 105.93kHz rather than the specified 100kHz. Adjust device tree settings to bring it within spec (a slightly conservative 98 MHz).
Signed-off-by Alan Tull <[email protected]>--- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +0
-0
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts line 131
Quoted 8 lines
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +2
-0@@ -124,6 +124,8 @@ &i2c1 { status = "okay"; clock-frequency = <100000>; + i2c-sda-falling-time-ns = <890>; /* hcnt */ + i2c-sdl-falling-time-ns = <890>; /* lcnt */ adc at 14 { compatible = "lltc,ltc2497";
Applied!
Thanks,
Dinh