Commit
e6b1b58bedbc507f840b2bae06eadb1d34512efa
Exists in
v2017.01-smarct4x
and in
35 other branches
8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_2.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, ti-u-boot-2015.07, v2015.07-smarct33, v2015.07-smarct33-emmc, v2015.07-smarct4x, v2016.05-dlt, v2016.05-smarct3x, v2016.05-smarct3x-emmc, v2016.05-smarct4x, v2017.01-smarct3x, v2017.01-smarct3x-emmc
arm: baltos: drop I2C speed to 1000 Hz
This action is need to make I2C communication with PMIC
stable for low temperature. Print current I2C speed in
SPL for visual control.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Showing
2 changed files
with
3 additions
and
1 deletions
Side-by-side Diff
... |
... |
@@ -184,6 +184,8 @@ |
184
|
184 |
*/ |
185
|
185 |
i2c_set_bus_num(1); |
186
|
186 |
|
|
187 |
+ printf("I2C speed: %d Hz\n", CONFIG_SYS_OMAP24_I2C_SPEED); |
|
188 |
+ |
187
|
189 |
if (i2c_probe(TPS65910_CTRL_I2C_ADDR)) { |
188
|
190 |
puts("i2c: cannot access TPS65910\n"); |
189
|
191 |
return; |
... |
... |
@@ -52,7 +52,7 @@ |
52
|
52 |
|
53
|
53 |
/* I2C configuration */ |
54
|
54 |
#undef CONFIG_SYS_OMAP24_I2C_SPEED |
55
|
|
-#define CONFIG_SYS_OMAP24_I2C_SPEED 10000 |
|
55 |
+#define CONFIG_SYS_OMAP24_I2C_SPEED 1000 |
56
|
56 |
|
57
|
57 |
#ifdef CONFIG_NAND |
58
|
58 |
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x000c0000 |