Juno: Change I2C bus speed used for HDMI to 100kHz.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 3 Oct 2014 13:52:28 +0000 (14:52 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 7 Oct 2014 11:11:02 +0000 (12:11 +0100)
The I2C bus driver has problems under heavy load to keep the FIFO
filled. Combined with the auto-STOP setting baked into the hardware,
it spells disaster for conversations with HDMI chip, specially
around the boot time when we want to retrieve the EDID information.

Change the bus speed to 100kHz to increase the chance of servicing
the "FIFO empty" interrupt in time.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
arch/arm64/boot/dts/juno.dts

index f8ee9d3..5e0b530 100644 (file)
                compatible = "snps,designware-i2c";
                reg = <0x0 0x7ffa0000 0x0 0x1000>;
                interrupts = <0 104 4>;
-               clock-frequency = <400000>;
+               clock-frequency = <100000>;
                i2c-sda-hold-time-ns = <500>;
                clocks = <&soc_smc50mhz>;