[U-Boot] [PATCH V3 0/3] dm: i2c: enable driver model for i2c gpio
Przemyslaw Marczak
p.marczak at samsung.com
Tue Mar 31 18:57:15 CEST 2015
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 doc binding file, add i2c-gpio 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: gpio: request list: return the count if requests max_count reached
Kconfig: i2c: fix help message related to dm i2c
dm: i2c: add i2c-gpio driver
doc/device-tree-bindings/i2c/i2c-gpio.txt | 37 ++++
drivers/gpio/gpio-uclass.c | 6 +-
drivers/i2c/Kconfig | 26 ++-
drivers/i2c/Makefile | 1 +
drivers/i2c/i2c-gpio.c | 345 ++++++++++++++++++++++++++++++
5 files changed, 400 insertions(+), 15 deletions(-)
create mode 100644 doc/device-tree-bindings/i2c/i2c-gpio.txt
create mode 100644 drivers/i2c/i2c-gpio.c
--
1.9.1
More information about the U-Boot
mailing list