Patchwork [U-Boot,V2,4/5] designware_i2c.h: Fixed the correct values for SCL low/high time

login
register
mail settings
Submitter Armando Visconti
Date Dec. 6, 2012, 10:04 a.m.
Message ID <1354788259-32688-5-git-send-email-armando.visconti@st.com>
Download mbox | patch
Permalink /patch/204203/
State Accepted
Delegated to: Heiko Schocher
Headers show

Comments

Armando Visconti - Dec. 6, 2012, 10:04 a.m.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
---
 drivers/i2c/designware_i2c.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/drivers/i2c/designware_i2c.h b/drivers/i2c/designware_i2c.h
index e004152..0dc8884 100644
--- a/drivers/i2c/designware_i2c.h
+++ b/drivers/i2c/designware_i2c.h
@@ -65,9 +65,9 @@  struct i2c_regs {
 
 /* High and low times in different speed modes (in ns) */
 #define MIN_SS_SCL_HIGHTIME	4000
-#define MIN_SS_SCL_LOWTIME	5000
-#define MIN_FS_SCL_HIGHTIME	800
-#define MIN_FS_SCL_LOWTIME	1700
+#define MIN_SS_SCL_LOWTIME	4700
+#define MIN_FS_SCL_HIGHTIME	600
+#define MIN_FS_SCL_LOWTIME	1300
 #define MIN_HS_SCL_HIGHTIME	60
 #define MIN_HS_SCL_LOWTIME	160