This patchset enables driver model support for software i2c bus driver.
It was tested on Trats2 and Odroid U3 devices.

It can be tested on any other device by just modifying the dts file,
first by disabling the hardware i2c bus and then, as it is described
in the Kconfig help entry, setup soft-i2c node.

The drivers, which are using the old api are not converted with this patchset.
I hope that maintainers will do this if required.

Probably the software i2c is used for PMIC devices not only for Trats2,
or Universal C210, so I suggest to wait with moving the drivers until
the pmic is done - this will prevent adding temporary code.

Przemyslaw Marczak (3):
  dm: i2c soft: enable driver model for software i2c driver
  Kconfig: i2c: remove wrong help message related to dm i2c
  Kconfig: i2c: add entry for driver-model software i2c

 drivers/i2c/Kconfig    |  54 +++++--
 drivers/i2c/Makefile   |   1 +
 drivers/i2c/soft_i2c.c | 410 +++++++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 444 insertions(+), 21 deletions(-)

-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to