浏览代码

designware_i2c.h: Fixed the correct values for SCL low/high time

Signed-off-by: Armando Visconti <armando.visconti@st.com>
Armando Visconti 12 年之前
父节点
当前提交
ea31b7a7be
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      drivers/i2c/designware_i2c.h

+ 3 - 3
drivers/i2c/designware_i2c.h

@@ -65,9 +65,9 @@ struct i2c_regs {
 
 
 /* High and low times in different speed modes (in ns) */
 /* High and low times in different speed modes (in ns) */
 #define MIN_SS_SCL_HIGHTIME	4000
 #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_HIGHTIME	60
 #define MIN_HS_SCL_LOWTIME	160
 #define MIN_HS_SCL_LOWTIME	160