u-boot-brain/arch
Ley Foon Tan a0bda1dd83 arm: dts: socfpga: cyclone5: Update i2c-scl-falling-time-ns
Commit e71b6f6622 ("i2c: designware_i2c: Rewrite timing calculation")
change the hcnt and lcnt timing calculation. New timing calculation is
based on calculation from Designware i2c databook.

After this new timing calculation, hcnt will have negative value
with i2c-scl-falling-time-ns 5000 that set in socfpga_cyclone5_socdk.dts.

This patch overwrite i2c-scl-falling-time-ns to 300ns (default SCL fall
time used in Designware i2c driver) for Uboot.

Before the fix:
=> i2c dev 0
Setting bus to 0
Failure changing bus number (-22)

After the fix:
=> i2c dev 0
Setting bus to 0
=> i2c probe
Valid chip addresses: 17 51 55 5B 5C 5E 66 68 70

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
2020-06-14 13:37:31 +02:00
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm arm: dts: socfpga: cyclone5: Update i2c-scl-falling-time-ns 2020-06-14 13:37:31 +02:00
m68k common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
microblaze common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
nios2 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
powerpc ddr: Rework errata A008109, A008378, 009942 workaround 2020-06-04 18:53:20 +05:30
riscv riscv: sbi: Move sbi_probe_extension() out of CONFIG_SBI_V01 2020-06-04 09:44:21 +08:00
sandbox common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sh sh: Enable ffunction-sections and fdata-sections 2020-05-20 13:20:25 +02:00
x86 x86: quark: acpi: Replace _ADR() by _UID() in description of PCI host bridge 2020-06-02 09:16:13 +08:00
xtensa common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00