]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx6: tqma6: use lower driver stength for I2C pins
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Fri, 3 Feb 2017 15:24:59 +0000 (16:24 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
The current driver stength is too high, leading to spec violations
on the falling edge. Fix it with values from HW

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
board/tqc/tqma6/tqma6.c
board/tqc/tqma6/tqma6_mba6.c

index 59b4a6c2eee80c90ae8565a502d2773b85e1718c..49917c1d64b481ac5637b92196332e016bca1185 100644 (file)
@@ -47,7 +47,7 @@ DECLARE_GLOBAL_DATA_PTR;
        PAD_CTL_DSE_80ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS)
 
 #define I2C_PAD_CTRL   (PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \
-       PAD_CTL_DSE_40ohm | PAD_CTL_HYS |                       \
+       PAD_CTL_DSE_80ohm | PAD_CTL_HYS |                       \
        PAD_CTL_ODE | PAD_CTL_SRE_FAST)
 
 int dram_init(void)
index 4db1a0bb7d041267cf265551c7bbc236e5abccc0..af929673924a9809d00cbe79ece9e270e4be83c6 100644 (file)
@@ -51,7 +51,7 @@ DECLARE_GLOBAL_DATA_PTR;
        PAD_CTL_DSE_80ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS)
 
 #define I2C_PAD_CTRL   (PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \
-       PAD_CTL_DSE_40ohm | PAD_CTL_HYS |                       \
+       PAD_CTL_DSE_80ohm | PAD_CTL_HYS |                       \
        PAD_CTL_ODE | PAD_CTL_SRE_FAST)
 
 #if defined(CONFIG_MX6Q)