summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-09-06 19:04:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-06 19:04:28 -0300
commit73417c50a08d93d5c209df8a49c8d0a0e0d0dc8b (patch)
tree74414bebe3d0e21fb3e0d00b183d74cf876c5e0c /v4l
parent9f9d0d9c21ed8c31ec1672eeb262502af5b1e326 (diff)
downloadmediapointer-dvb-s2-73417c50a08d93d5c209df8a49c8d0a0e0d0dc8b.tar.gz
mediapointer-dvb-s2-73417c50a08d93d5c209df8a49c8d0a0e0d0dc8b.tar.bz2
Improved i2c performance on software bitbang algoritm
From: Mauro Carvalho Chehab <mchehab@infradead.org> Software I2C were using a very conservative value of udelay=16, meaning about 20Kbps. According with Philips I2C datasheet, the i2c should answer well for times at the order of 4.7 us. So, using udelay=5 should work for all devices. After this patch, the speed should be close to 66,67 Kbps, with the current kernel software bitbang, with 30/60 duty cycle. Anyway, added a new parameter (i2c_udelay) that would allow using conservative values, if eventually a hardware doesn't support the datasheet values. Thanks to Jean Delvare <khali@linux-fr.org> for pointing this improvement. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
0 files changed, 0 insertions, 0 deletions