public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/5] imx: mx7: change sdhc clk to 392M
@ 2018-01-19  9:09 Peng Fan
  2018-01-19  9:09 ` [U-Boot] [PATCH 2/5] mmc: fsl_esdhc: add strobe and tuning entry Peng Fan
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Peng Fan @ 2018-01-19  9:09 UTC (permalink / raw)
  To: u-boot

Change sdhc clk to 392M.
Prepare support for SDR104 and HS200.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
---
 arch/arm/mach-imx/mx7/clock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-imx/mx7/clock.c b/arch/arm/mach-imx/mx7/clock.c
index c11042d6f5..227037c53d 100644
--- a/arch/arm/mach-imx/mx7/clock.c
+++ b/arch/arm/mach-imx/mx7/clock.c
@@ -561,17 +561,17 @@ static void init_clk_esdhc(void)
 	/* 196: 392/2 */
 	target = CLK_ROOT_ON | USDHC1_CLK_ROOT_FROM_PLL_SYS_PFD0_392M_CLK |
 		 CLK_ROOT_PRE_DIV(CLK_ROOT_PRE_DIV1) |
-		 CLK_ROOT_POST_DIV(CLK_ROOT_POST_DIV2);
+		 CLK_ROOT_POST_DIV(CLK_ROOT_POST_DIV1);
 	clock_set_target_val(USDHC1_CLK_ROOT, target);
 
 	target = CLK_ROOT_ON | USDHC1_CLK_ROOT_FROM_PLL_SYS_PFD0_392M_CLK |
 		 CLK_ROOT_PRE_DIV(CLK_ROOT_PRE_DIV1) |
-		 CLK_ROOT_POST_DIV(CLK_ROOT_POST_DIV2);
+		 CLK_ROOT_POST_DIV(CLK_ROOT_POST_DIV1);
 	clock_set_target_val(USDHC2_CLK_ROOT, target);
 
 	target = CLK_ROOT_ON | USDHC1_CLK_ROOT_FROM_PLL_SYS_PFD0_392M_CLK |
 		 CLK_ROOT_PRE_DIV(CLK_ROOT_PRE_DIV1) |
-		 CLK_ROOT_POST_DIV(CLK_ROOT_POST_DIV2);
+		 CLK_ROOT_POST_DIV(CLK_ROOT_POST_DIV1);
 	clock_set_target_val(USDHC3_CLK_ROOT, target);
 
 	/* enable the clock gate */
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-01-21  2:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19  9:09 [U-Boot] [PATCH 1/5] imx: mx7: change sdhc clk to 392M Peng Fan
2018-01-19  9:09 ` [U-Boot] [PATCH 2/5] mmc: fsl_esdhc: add strobe and tuning entry Peng Fan
2018-01-19  9:09 ` [U-Boot] [PATCH 3/5] ARM: dts: add pinmux and tuning settings for HS200/SDR104 Peng Fan
2018-01-19  9:09 ` [U-Boot] [PATCH 4/5] mmc: fsl_esdhc: support SDR104 and HS200 Peng Fan
2018-01-19 11:23   ` Jaehoon Chung
2018-01-20  7:05     ` Peng Fan
2018-01-19  9:09 ` [U-Boot] [PATCH 5/5] imx: mx7dsabresd: enable UHS " Peng Fan
2018-01-20 20:06 ` [U-Boot] [PATCH 1/5] imx: mx7: change sdhc clk to 392M Fabio Estevam
2018-01-21  2:31   ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox