diff mbox

[U-Boot] rockchip: rk322x: update MACRO for mmc clksel reg

Message ID 1501762065-1660-1-git-send-email-kever.yang@rock-chips.com
State Accepted
Commit a80b3b0378fdd700649124cb2f9cfe8c58390b73
Delegated to: Philipp Tomsich
Headers show

Commit Message

Kever Yang Aug. 3, 2017, 12:07 p.m. UTC
The description for eMMC/SDIO/SDMMC src is not correct,
update the CRU_CLKSEL11_CON value definition according to TRM.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

 arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Comments

Philipp Tomsich Aug. 4, 2017, 10:43 p.m. UTC | #1
> The description for eMMC/SDIO/SDMMC src is not correct,
> update the CRU_CLKSEL11_CON value definition according to TRM.
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
> 
>  arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich Aug. 18, 2017, 1:01 p.m. UTC | #2
> The description for eMMC/SDIO/SDMMC src is not correct,
> update the CRU_CLKSEL11_CON value definition according to TRM.
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
>  arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich Aug. 18, 2017, 5:06 p.m. UTC | #3
> The description for eMMC/SDIO/SDMMC src is not correct,
> update the CRU_CLKSEL11_CON value definition according to TRM.
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
>  arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk322x.h b/arch/arm/include/asm/arch-rockchip/cru_rk322x.h
index 2a2f804..a7999ca 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk322x.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk322x.h
@@ -162,20 +162,17 @@  enum {
 	/* CRU_CLKSEL11_CON */
 	EMMC_PLL_SHIFT		= 12,
 	EMMC_PLL_MASK		= 3 << EMMC_PLL_SHIFT,
-	EMMC_SEL_APLL		= 0,
-	EMMC_SEL_DPLL,
+	EMMC_SEL_CPLL		= 0,
 	EMMC_SEL_GPLL,
 	EMMC_SEL_24M,
 	SDIO_PLL_SHIFT		= 10,
 	SDIO_PLL_MASK		= 3 << SDIO_PLL_SHIFT,
-	SDIO_SEL_APLL		= 0,
-	SDIO_SEL_DPLL,
+	SDIO_SEL_CPLL		= 0,
 	SDIO_SEL_GPLL,
 	SDIO_SEL_24M,
 	MMC0_PLL_SHIFT		= 8,
 	MMC0_PLL_MASK		= 3 << MMC0_PLL_SHIFT,
-	MMC0_SEL_APLL		= 0,
-	MMC0_SEL_DPLL,
+	MMC0_SEL_CPLL		= 0,
 	MMC0_SEL_GPLL,
 	MMC0_SEL_24M,
 	MMC0_DIV_SHIFT		= 0,