Commit 71a2da3f authored by Chuanhua Han's avatar Chuanhua Han Committed by Prabhakar Kushwaha
Browse files

armv8: kconfig: Fix some platforms incorrect I2C clock divider



By default, i2c input clock is platform clk / 2, but some of the
platform of i2c clock divider does not meet this kind of circumstance,
so alone to set default values for these platforms.
Signed-off-by: default avatarChuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: default avatarPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
parent 1748990a
...@@ -497,6 +497,10 @@ config SYS_FSL_DUART_CLK_DIV ...@@ -497,6 +497,10 @@ config SYS_FSL_DUART_CLK_DIV
config SYS_FSL_I2C_CLK_DIV config SYS_FSL_I2C_CLK_DIV
int "I2C clock divider" int "I2C clock divider"
default 1 if ARCH_LS1043A default 1 if ARCH_LS1043A
default 4 if ARCH_LS1012A
default 4 if ARCH_LS1028A
default 8 if ARCH_LX2160A
default 8 if ARCH_LS1088A
default 2 default 2
help help
This is the divider that is used to derive I2C clock from Platform This is the divider that is used to derive I2C clock from Platform
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment