public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: rockchip: fix wrong mmc sample phase shift for rk3328
@ 2018-10-11  7:26 Shawn Lin
  2018-10-11 12:56 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Lin @ 2018-10-11  7:26 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: linux-rockchip, linux-clk, Finley Xiao, Elaine Zhang, Ziyuan Xu,
	Shawn Lin

From: Ziyuan Xu <xzy.xu@rock-chips.com>

mmc sample shift is 0 for RK3328 referring to the TRM.
So fix them.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/clk/rockchip/clk-rk3328.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/rockchip/clk-rk3328.c b/drivers/clk/rockchip/clk-rk3328.c
index 252366a..2c54266 100644
--- a/drivers/clk/rockchip/clk-rk3328.c
+++ b/drivers/clk/rockchip/clk-rk3328.c
@@ -813,22 +813,22 @@ enum rk3328_plls {
 	MMC(SCLK_SDMMC_DRV, "sdmmc_drv", "clk_sdmmc",
 	    RK3328_SDMMC_CON0, 1),
 	MMC(SCLK_SDMMC_SAMPLE, "sdmmc_sample", "clk_sdmmc",
-	    RK3328_SDMMC_CON1, 1),
+	    RK3328_SDMMC_CON1, 0),
 
 	MMC(SCLK_SDIO_DRV, "sdio_drv", "clk_sdio",
 	    RK3328_SDIO_CON0, 1),
 	MMC(SCLK_SDIO_SAMPLE, "sdio_sample", "clk_sdio",
-	    RK3328_SDIO_CON1, 1),
+	    RK3328_SDIO_CON1, 0),
 
 	MMC(SCLK_EMMC_DRV, "emmc_drv", "clk_emmc",
 	    RK3328_EMMC_CON0, 1),
 	MMC(SCLK_EMMC_SAMPLE, "emmc_sample", "clk_emmc",
-	    RK3328_EMMC_CON1, 1),
+	    RK3328_EMMC_CON1, 0),
 
 	MMC(SCLK_SDMMC_EXT_DRV, "sdmmc_ext_drv", "clk_sdmmc_ext",
 	    RK3328_SDMMC_EXT_CON0, 1),
 	MMC(SCLK_SDMMC_EXT_SAMPLE, "sdmmc_ext_sample", "clk_sdmmc_ext",
-	    RK3328_SDMMC_EXT_CON1, 1),
+	    RK3328_SDMMC_EXT_CON1, 0),
 };
 
 static const char *const rk3328_critical_clocks[] __initconst = {
-- 
1.9.1



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

* Re: [PATCH] clk: rockchip: fix wrong mmc sample phase shift for rk3328
  2018-10-11  7:26 [PATCH] clk: rockchip: fix wrong mmc sample phase shift for rk3328 Shawn Lin
@ 2018-10-11 12:56 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2018-10-11 12:56 UTC (permalink / raw)
  To: Shawn Lin; +Cc: linux-rockchip, linux-clk, Finley Xiao, Elaine Zhang, Ziyuan Xu

Am Donnerstag, 11. Oktober 2018, 09:26:43 CEST schrieb Shawn Lin:
> From: Ziyuan Xu <xzy.xu@rock-chips.com>
> 
> mmc sample shift is 0 for RK3328 referring to the TRM.
> So fix them.
> 
> Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

checked the manual and applied for 4.20.

Thanks for catching this
Heiko



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

end of thread, other threads:[~2018-10-11 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-11  7:26 [PATCH] clk: rockchip: fix wrong mmc sample phase shift for rk3328 Shawn Lin
2018-10-11 12:56 ` Heiko Stuebner

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