]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: st: Update i2c timings
authorMaxime COQUELIN <maxime.coquelin@st.com>
Wed, 23 Jul 2014 15:44:07 +0000 (17:44 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 1 Aug 2014 17:47:17 +0000 (19:47 +0200)
commit52976fa74b9da790686ee116424458c238564cb1
tree16c9b609bf87346a42863e7ab7e159b02c72fa5e
parent28772ac8711e4d7268c06e765887dd8cb6924f98
i2c: st: Update i2c timings

The i2c timing values specified in the driver are the minimun values
defined in the I2C specifications. The I2C specification does not
specify any default or maximum values.

Some I2C devices are out of spec, such as the HDMI link of the Toshiba
19AV600 TV, and might not work properly with minimum values.

This patch adds a 10% margin on all the timings in both Normal and Fast modes.

Trial and error method have been used to find the minimum margin necessary to
have the out-of-spec device working, and a security margin has been added.

Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-st.c