openwrtv4/target
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
..
imagebuilder build: split scripts/metadata.pl into target-metadata.pl and package-metadata.pl 2016-06-07 08:58:40 +02:00
linux ramips: update i2c drivers 2016-06-20 11:45:44 +02:00
sdk IB/SDK/toolchain: use lower cases filenames 2016-06-01 17:54:36 +02:00
toolchain IB/SDK/toolchain: use lower cases filenames 2016-06-01 17:54:36 +02:00
Config.in config: add a small_flash feature 2016-06-13 22:51:43 +02:00
Makefile