diff options
| author | Chuanhua Han <[email protected]> | 2019-08-02 16:53:53 +0800 |
|---|---|---|
| committer | Prabhakar Kushwaha <[email protected]> | 2019-08-22 09:07:36 +0530 |
| commit | 71a2da3fa94a546ce6c36ed48d4c3dc80183af37 (patch) | |
| tree | e27f986fb8d0a97c1a3603c1849d89da72d9c44a | |
| parent | 1748990ab2a0e995beeed6b3856335f579bb77d9 (diff) | |
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: Chuanhua Han <[email protected]>
Reviewed-by: Prabhakar Kushwaha <[email protected]>
| -rw-r--r-- | arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig index 9566dc51080..42d31fdab0a 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig @@ -497,6 +497,10 @@ config SYS_FSL_DUART_CLK_DIV config SYS_FSL_I2C_CLK_DIV int "I2C clock divider" 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 help This is the divider that is used to derive I2C clock from Platform |
