Skip to content

dm: i2c: Set a timeline for conversion of i2c drivers

Simon Glass u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6arm: exynos: i2c: Convert exynos boards to use DM_I2Carch/arm/Kconfig board/samsung/common/misc.c board/samsung/trats/trats.c +6 more+54 -941 reply
2/6arm: samsung: Convert s5p_goni and smdkc100 to DM_I2Carch/arm/Kconfig board/samsung/goni/goni.c include/configs/s5p_goni.h+7 -201 reply
3/6samsung: i2c: Drop old code from I2C driverdrivers/i2c/s3c24x0_i2c.c+2 -5831 reply
4/6samsung: i2c: Split the high-speed I2C code into a new driverdrivers/i2c/Makefile drivers/i2c/exynos_hs_i2c.c drivers/i2c/s3c24x0_i2c.c +1 more+591 -5451 reply
5/6dm: i2c: Add a note to I2C drivers which need conversiondrivers/i2c/adi_i2c.c drivers/i2c/davinci_i2c.c drivers/i2c/fti2c010.c +11 more+42 -01 reply
6/6dm: Add timeline and guide for porting I2C driversdoc/driver-model/i2c-howto.txt+56 -02 replies
6/6dm: Add timeline and guide for porting I2C drivers+0 -00 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchHeiko Schocher
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/6] dm: i2c: Set a timeline for conversion of i2c drivers

Driver-model I2C support was added about 2 years ago. So far a little over half of the driveres have been converted. This series sets a timeline for conversion of the rest by June next year.

The Samsung I2C driver was one of the first converted, but some boards still remain using the old subsystem. This series converts these over in an experimental way: disabling code that uses the old framework. This should provide more time for the maintainers to take action while allowing the conversion to be completed.

Simon Glass (6):
arm: exynos: i2c: Convert exynos boards to use DM_I2C
arm: samsung: Convert s5p_goni and smdkc100 to DM_I2C
samsung: i2c: Drop old code from I2C driver
samsung: i2c: Split the high-speed I2C code into a new driver
dm: i2c: Add a note to I2C drivers which need conversion
dm: Add timeline and guide for porting I2C drivers

 arch/arm/Kconfig                         |    2 +
 board/samsung/common/misc.c              |    4 +
 board/samsung/goni/goni.c                |    7 +-
 board/samsung/trats/trats.c              |   20 +-
 board/samsung/trats2/trats2.c            |   18 +-
 board/samsung/universal_c210/universal.c |   22 +-
 configs/origen_defconfig                 |    1 +
 doc/driver-model/i2c-howto.txt           |   56 ++
 drivers/i2c/Makefile                     |    2 +-
 drivers/i2c/adi_i2c.c                    |    3 +
 drivers/i2c/davinci_i2c.c                |    3 +
 drivers/i2c/exynos_hs_i2c.c              |  561 +++++++++++++++
 drivers/i2c/fti2c010.c                   |    3 +
 drivers/i2c/ihs_i2c.c                    |    3 +
 drivers/i2c/kona_i2c.c                   |    3 +
 drivers/i2c/lpc32xx_i2c.c                |    3 +
 drivers/i2c/pca9564_i2c.c                |    3 +
 drivers/i2c/ppc4xx_i2c.c                 |    3 +
 drivers/i2c/rcar_i2c.c                   |    3 +
 drivers/i2c/s3c24x0_i2c.c                | 1136 +-----------------------------
 drivers/i2c/s3c24x0_i2c.h                |   22 +
 drivers/i2c/sh_i2c.c                     |    3 +
 drivers/i2c/sh_sh7734_i2c.c              |    3 +
 drivers/i2c/soft_i2c.c                   |    3 +
 drivers/i2c/tsi108_i2c.c                 |    3 +
 drivers/i2c/zynq_i2c.c                   |    3 +
 include/configs/s5p_goni.h               |   19 -
 include/configs/s5pc210_universal.h      |   19 -
 include/configs/trats.h                  |   30 -
 include/configs/trats2.h                 |   33 -
 30 files changed, 752 insertions(+), 1242 deletions(-)
 create mode 100644 doc/driver-model/i2c-howto.txt
 create mode 100644 drivers/i2c/exynos_hs_i2c.c
Signature · 1 line
2.8.0.rc3.226.g39d4020