openwrtv3/target/linux/ramips
Michael Lee 60ccfbbad0 ramips: update i2c drivers
* add rt_i2c structure to store driver data
* rewrite read/write check function and add i2c error status check.
  so we don't need to wait until time out.
* add 10 bits address support. according to the data sheet i think
  it is possible. but i haven't verify it.
* the most important is start transfer only need once. otherwise
  it cause I2C_STARTERR status.
* add set i2c clock speed register by dts options "clock-frequency".
  not just hard code it.
* add mt7621 i2c driver. i just copy i2c-ralink.c and change register
  names. and the hardware don't support error status. so i remove it.
  but the logic is the same.

Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-20 11:45:44 +02:00
..
base-files ramips/base-files: Add support for Archer C50 2016-06-13 22:51:43 +02:00
dts ramips/dts: Add support for Archer C50 2016-06-13 22:51:43 +02:00
image ramips/image: Add Archer C50 to mt7620 Makefile 2016-06-13 22:51:43 +02:00
mt7620 ramips: fix the number of uarts for each SoC 2016-06-03 12:20:33 +02:00
mt7621 ramips: fix the number of uarts for each SoC 2016-06-03 12:20:33 +02:00
mt7628 ramips: fix the number of uarts for each SoC 2016-06-03 12:20:33 +02:00
mt7688 ramips: set default profile to priority 1 2016-05-14 21:27:16 +02:00
patches-4.4 ramips: update i2c drivers 2016-06-20 11:45:44 +02:00
rt288x ramips: fix the number of uarts for each SoC 2016-06-03 12:20:33 +02:00
rt305x ramips: fix the number of uarts for each SoC 2016-06-03 12:20:33 +02:00
rt3883 ramips: fix the number of uarts for each SoC 2016-06-03 12:20:33 +02:00
Makefile mediatek/ralink: fix boardnames 2016-06-14 13:00:30 +02:00
modules.mk ramips: fix kmod-sound-mt7620 packaging 2016-06-14 14:31:18 +02:00