git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2953e
)
imx9: correct getting LPI2C clk
author
Peng Fan
<peng.fan@nxp.com>
Fri, 28 Apr 2023 04:08:18 +0000
(12:08 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 21 May 2023 14:54:40 +0000
(16:54 +0200)
LPI2C_CLK_ROOT should be used instead of LPUART_CLK_ROOT for i2c
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx9/clock.c
b/arch/arm/mach-imx/imx9/clock.c
index
f602150
..
a0efee9
100644
(file)
--- a/
arch/arm/mach-imx/imx9/clock.c
+++ b/
arch/arm/mach-imx/imx9/clock.c
@@
-574,7
+574,7
@@
u32 imx_get_i2cclk(u32 i2c_num)
if (i2c_num > 7)
return -EINVAL;
- return ccm_clk_root_get_rate(LP
UART
1_CLK_ROOT + i2c_num);
+ return ccm_clk_root_get_rate(LP
I2C
1_CLK_ROOT + i2c_num);
}
u32 get_lpuart_clk(void)