u-boot-brain/doc/device-tree-bindings
Przemyslaw Marczak c54473cb25 dm: i2c: add i2c-gpio driver
This commit adds driver model support to software emulated i2c bus driver.
This driver supports kernel-style device tree bindings. Fdt properties in use:
- compatible - "i2c-gpio"
- gpios      - data and clock GPIO pin phandles
- delay-us   - micro seconds delay between GPIOs toggle operations,
               which is 1/4 of I2C speed clock period.

Added:
- Config: CONFIG_DM_I2C_GPIO
- File: drivers/i2c/i2c-gpio.c
- File: doc/device-tree-bindings/i2c/i2c-gpio.txt

Driver base code is taken from: drivers/i2c/soft-i2c.c, changes:
- use "i2c-gpio" naming
- update comments style
- move preprocesor macros into functions
- add device tree support
- add driver model i2c support
- code cleanup,
- add Kconfig entry

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Added braces in i2c_gpio_xfer() to fix style nit:
Signed-off-by: Simon Glass <sjg@chromium.org>
2015-04-18 11:11:17 -06:00
..
ata x86: ivybridge: Add SATA init 2014-11-25 06:34:01 -07:00
clock tegra: fdt: Add clock bindings 2012-03-29 08:12:48 +02:00
exynos samsung: board: support eMMC reset using DT 2015-02-13 17:17:10 +09:00
gpio Documentation: gpio: fix bindings document 2015-02-19 06:19:19 -07:00
i2c dm: i2c: add i2c-gpio driver 2015-04-18 11:11:17 -06:00
input cros-ec-keyboard: Synchronize DT binding from linux 2015-01-05 17:45:16 -07:00
misc x86: ivybridge: Add additional LPC init 2014-11-25 06:34:01 -07:00
mtd/spi sandbox: dts: Add a SPI device and cros_ec device 2014-10-22 10:36:45 -06:00
nand tegra: fdt: Add NAND controller binding and definitions 2012-09-07 13:54:30 -07:00
power power: Add support for TPS65090 PMU chip. 2014-05-28 10:58:19 +09:00
pwm tegra: fdt: Add pwm binding and node 2012-11-19 08:15:35 -07:00
regulator power: Add support for TPS65090 PMU chip. 2014-05-28 10:58:19 +09:00
serial dm: serial: Add driver model support for ns16550 2014-09-10 13:00:01 -06:00
spi dm: spi: Add soft_spi implementation 2014-10-22 10:36:48 -06:00
usb tegra: fdt: Add additional USB binding 2012-03-29 08:12:48 +02:00
video video: exynos_fb: configure backlight GPIOs if specified in DT 2015-04-06 14:34:40 +09:00
README fdt: Add staging area for device tree binding documentation 2012-03-29 08:12:47 +02:00

Device Tree Bindings Staging Area
=================================

This directory contains device tree bindings for U-Boot.

These follow along with Linux kernel bindings, with a few additions. By
adding the files here, U-Boot patches can clearly show thees additions.
This makes it easier for device tree people to review these additions in
patches sent to the U-Boot mailing list.

The intent IS to commit these files to U-Boot. Hopefully at some point
the files will be stored in another repo (shared with Linux) which is
brought in as needed. Changes here are intended to mirror changes in the
Linux Documentation/devicetree/bindings/ directory.

sjg@chromium.org
17-Jan-12