From: Alan Tull Date: Wed, 8 Aug 2018 15:42:41 +0000 (-0500) Subject: arm64: dts: stratix10: i2c clock running out of spec X-Git-Tag: v4.20-rc1~66^2~61^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8da1d15b8a4957f105ad77bb1404d72e304566f;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Dinh Nguyen --- diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts index 6edc4fa9fd426..53cf195c2ada2 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts @@ -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@14 { compatible = "lltc,ltc2497";