armv8: fsl-layerscape: Correct I2C clock divider for some of the plarforms
PATCH v2 1/1 armv8: fsl-layerscape: Correct I2C clock divider for some of the plarforms
By default, i2c input clock is platform clk / 2, but this is not correct for all the platforms, so correct I2C clock divider's default values for LS1012A, LS1028A, LX2160A and LS1088A.
---
Changes in v2:
- Modify subject and submit information.
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +4 -0
@@ -513,6 +513,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
Signature · 1 line
2.9.5
A message that is not in the archive (sent off-list or not yet received): VI1PR0402MB38543A071323ADA240DF8936978C0@VI1PR0402MB3854.eurprd04.prod.outlook.com
PATCH v2 1/1 armv8: fsl-layerscape: Correct I2C clock divider for some of the plarforms
Quoted 9 lines
-----Original Message-----
From: Chuanhua Han <[email protected]>
Sent: Thursday, August 8, 2019 2:35 PM
To: albert.u.boot at aribaud.ne; Prabhakar Kushwaha <[email protected]>
Cc: u-boot at lists.denx.de; Chuanhua Han <[email protected]>
Subject: [PATCH v2] armv8: fsl-layerscape: Correct I2C clock divider for some of the plarforms
Quoted 5 lines
By default, i2c input clock is platform clk / 2, but this is not correct for all the platforms, so correct I2C clock divider's default values for LS1012A, LS1028A, LX2160A and LS1088A.
Signed-off-by Chuanhua Han <[email protected]>
Slight update in subject and description
Applied to fsl-qoriq master, awaiting upstream.
Thanks
priyankajain