summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/fti2c010.c
Commit message (Collapse)AuthorAgeFilesLines
* i2c: fti2c010: fix compiler warning on paddr[]Kuo-Jung Su2014-01-131-2/+2
| | | | | | | | | | | | This fixes the following compiler warnings: fti2c010.c: In function 'fti2c010_read': fti2c010.c:204:8: warning: 'paddr' may be used uninitialized in this function [-Wuninitialized] fti2c010.c: In function 'fti2c010_write': fti2c010.c:266:8: warning: 'paddr' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com> Cc: Heiko Schocher <hs@denx.de>
* i2c: fti2c010: serial out r/w address in MSB orderKuo-Jung Su2013-12-051-8/+18
| | | | | | | | For a eeprom with a 2-bytes address (e.g., Ateml AT24C1024B), the r/w address should be serial out in MSB order. Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com> Cc: Heiko Schocher <hs@denx.de>
* i2c: fti2c010: migrate to new i2c modelKuo-Jung Su2013-12-051-166/+133
| | | | | | | Replace the legacy i2c model with the new one. Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com> Cc: Heiko Schocher <hs@denx.de>
* i2c: fti2c010: cosmetic: coding style cleanupKuo-Jung Su2013-12-051-15/+16
| | | | | | | Coding style cleanup Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com> Cc: Heiko Schocher <hs@denx.de>
* drivers/i2c: Update fti2c010.[ch], i2c_core.c to use SPDX identifiersTom Rini2013-07-251-2/+1
| | | | | Acked-by: Heiko Schocher <hs@denx.de> Signed-off-by: Tom Rini <trini@ti.com>
* i2c: add Faraday FTI2C010 I2C controller supportKuo-Jung Su2013-07-231-0/+369
Faraday FTI2C010 is a multi-function I2C controller which supports both master and slave mode. This patch simplily implements the master mode only. Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com> CC: Heiko Schocher <hs@denx.de>
OpenPOWER on IntegriCloud