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

Simon Glass sjg at chromium.org
Wed Nov 23 14:34:39 CET 2016


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

-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list