[U-Boot] Please pull from u-boot-i2c

Heiko Schocher
2020-01-29T06:01:00Z

Hello Tom,

please pull from u-boot-i2c master branch:

The following changes since commit c05b38df477a50c3918b50c5f986592411785859:

common: fix regression on block cache init (2020-01-26 13:36:14 -0500)

are available in the Git repository at:

https://gitlab.denx.de/u-boot/custodians/u-boot-i2c.git tags/for-v2020.04

for you to fetch changes up to 2034f6c27fc91407fe8bbd36670714b77d9ef1dc:

i2c: designware_i2c: Do more in the probe() method (2020-01-27 07:25:00 +0100)

----------------------------------------------------------------
i2c changes for 2020.04
- updates the Designware I2C driver
- get timings from device tree
- handle units in nanoseconds
- make sure that the requested bus speed is not exceeded
- few smaller clean-ups
- adds enums for i2c speed and update drivers which use them
- global_data: remove unused mxc_i2c specific field

----------------------------------------------------------------
Baruch Siach (1):
global_data: remove unused mxc_i2c specific field

Simon Glass (23):
i2c: designware_i2c: Add more registers
i2c: designware_i2c: Don't allow changing IC_CLK
i2c: designware_i2c: Include clk.h in the header file
i2c: designware_i2c: Rename 'max' speed to 'high' speed
i2c: designware_i2c: Use an enum for selected speed mode
i2c: designware_i2c: Use an accurate bus clock instead of MHz
i2c: designware_i2c: Bring in the binding file
i2c: designware_i2c: Read device-tree properties
i2c: designware_i2c: Drop scl_sda_cfg parameter
i2c: designware_i2c: Put hold config in a struct
i2c: designware_i2c: Rewrite timing calculation
i2c: designware_i2c: Add spike supression
i2c: Add enums for i2c speed and address size
i2c: ast_i2c: Update to use standard enums for speed
i2c: designware_i2c: Update to use standard enums for speed
i2c: kona_i2c: Update to use standard enums for speed
i2c: omap: Update to use standard enums for speed
i2c: stm32: Update to use standard enums for speed
i2c: Update drivers to use enum for speed
i2c: designware_i2c: Add support for fast-plus speed
i2c: designware_i2c: Move dw_i2c_speed_config to header
i2c: designware_i2c: Separate out the speed calculation
i2c: designware_i2c: Do more in the probe() method

doc/device-tree-bindings/i2c/i2c-designware.txt | 73 ++++++++++++++++++++++++++++
drivers/i2c/ast_i2c.c | 2 +-
drivers/i2c/ast_i2c.h | 2 -
drivers/i2c/designware_i2c.c | 300
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------
drivers/i2c/designware_i2c.h | 73 +++++++++++++++++++++-------
drivers/i2c/designware_i2c_pci.c | 4 +-
drivers/i2c/exynos_hs_i2c.c | 5 +-
drivers/i2c/fsl_i2c.c | 3 +-
drivers/i2c/i2c-cdns.c | 2 +-
drivers/i2c/i2c-uclass.c | 12 ++---
drivers/i2c/i2c-uniphier-f.c | 2 +-
drivers/i2c/i2c-uniphier.c | 2 +-
drivers/i2c/imx_lpi2c.c | 8 ++--
drivers/i2c/kona_i2c.c | 28 +++++------
drivers/i2c/mv_i2c.c | 4 +-
drivers/i2c/mvtwsi.c | 5 +-
drivers/i2c/omap24xx_i2c.c | 5 +-
drivers/i2c/omap24xx_i2c.h | 4 --
drivers/i2c/rcar_i2c.c | 2 +-
drivers/i2c/rcar_iic.c | 2 +-
drivers/i2c/s3c24x0_i2c.c | 5 +-
drivers/i2c/sandbox_i2c.c | 3 +-
drivers/i2c/stm32f7_i2c.c | 43 +++++++----------
include/asm-generic/global_data.h | 3 --
include/i2c.h | 26 ++++++++++
25 files changed, 454 insertions(+), 164 deletions(-)
create mode 100644 doc/device-tree-bindings/i2c/i2c-designware.txt

Travis build:
https://travis-ci.org/hsdenx/u-boot-i2c/builds/642382247

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de