diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-02 10:12:33 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-02 10:12:33 -0400 |
commit | 07fe79c93c5caba181f37844ca95fbda4db3f613 (patch) | |
tree | 9766b3de49837bae1d4ea6c6b69fc33710333fd2 /drivers/i2c/npcm_i2c.c | |
parent | b0c391ce0c01064a96711965e22f5d745e73edc3 (diff) | |
parent | 5b6ee512ceb8d990e010646c4fe7b8a3633fad68 (diff) |
Merge tag 'i2cfixes-for-v2024-01-rc2' of https://source.denx.de/u-boot/custodians/u-boot-i2c
i2c updates for v2024.01-rc2
- nuvoton: support standard/fast/fast plus mode
- bootcount: remove legacy i2c driver and implement
DM based version
Bugfixes:
- designware_i2c: adjust timing calculation
SPL probing failed on the StarFive VisionFive 2 board
Heinrich fixed this, by syncing timing calculation with
linux implementation.
Diffstat (limited to 'drivers/i2c/npcm_i2c.c')
-rw-r--r-- | drivers/i2c/npcm_i2c.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/npcm_i2c.c b/drivers/i2c/npcm_i2c.c index ea4ef53256..b867b6c8e9 100644 --- a/drivers/i2c/npcm_i2c.c +++ b/drivers/i2c/npcm_i2c.c @@ -517,11 +517,6 @@ static int npcm_i2c_init_clk(struct npcm_i2c_bus *bus, u32 bus_freq) u32 sclfrq; u8 hldt, val; - if (bus_freq > I2C_FREQ_100K) { - printf("Support standard mode only\n"); - return -EINVAL; - } - /* SCLFRQ = T(SCL)/4/T(CLK) = FREQ(CLK)/4/FREQ(SCL) */ sclfrq = freq / (bus_freq * 4); if (sclfrq < SCLFRQ_MIN || sclfrq > SCLFRQ_MAX) |