diff options
author | Michael Lee <igvtee@gmail.com> | 2016-06-24 13:10:29 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-24 13:10:29 +0200 |
commit | 430f86eff165a36aa0e636705525fadcd2011c6b (patch) | |
tree | ceb839d6d826f36c16ed03487995d4e67ca2f4ee /target/linux/mvebu/Makefile | |
parent | 140099a4e6f459b362c19a31bcb0664b8c5e4302 (diff) | |
download | master-187ad058-430f86eff165a36aa0e636705525fadcd2011c6b.tar.gz master-187ad058-430f86eff165a36aa0e636705525fadcd2011c6b.tar.bz2 master-187ad058-430f86eff165a36aa0e636705525fadcd2011c6b.zip |
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>
Diffstat (limited to 'target/linux/mvebu/Makefile')
0 files changed, 0 insertions, 0 deletions