mirror of
https://xff.cz/git/u-boot/
synced 2025-09-05 18:52:17 +02:00
sunxi: Rename pll10 to pll_de to avoid confusion
A83T SoC has PLL_DE at pll9. Change the name to make it less confusing when we'll add DE2 support for A83T. Signed-off-by: Ondrej Jirman <megous@megous.com>
This commit is contained in:
@@ -523,7 +523,7 @@ void clock_set_pll1(unsigned int hz);
|
|||||||
void clock_set_pll3(unsigned int hz);
|
void clock_set_pll3(unsigned int hz);
|
||||||
void clock_set_pll3_factors(int m, int n);
|
void clock_set_pll3_factors(int m, int n);
|
||||||
void clock_set_pll5(unsigned int clk, bool sigma_delta_enable);
|
void clock_set_pll5(unsigned int clk, bool sigma_delta_enable);
|
||||||
void clock_set_pll10(unsigned int hz);
|
void clock_set_pll_de(unsigned int hz);
|
||||||
void clock_set_pll11(unsigned int clk, bool sigma_delta_enable);
|
void clock_set_pll11(unsigned int clk, bool sigma_delta_enable);
|
||||||
void clock_set_mipi_pll(unsigned int hz);
|
void clock_set_mipi_pll(unsigned int hz);
|
||||||
unsigned int clock_get_pll3(void);
|
unsigned int clock_get_pll3(void);
|
||||||
|
@@ -256,7 +256,7 @@ done:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SUNXI_DE2
|
#ifdef CONFIG_SUNXI_DE2
|
||||||
void clock_set_pll10(unsigned int clk)
|
void clock_set_pll_de(unsigned int clk)
|
||||||
{
|
{
|
||||||
struct sunxi_ccm_reg * const ccm =
|
struct sunxi_ccm_reg * const ccm =
|
||||||
(struct sunxi_ccm_reg *)SUNXI_CCM_BASE;
|
(struct sunxi_ccm_reg *)SUNXI_CCM_BASE;
|
||||||
|
@@ -44,7 +44,7 @@ static void sunxi_de2_composer_init(void)
|
|||||||
writel(reg_value, SUNXI_SRAMC_BASE + 0x04);
|
writel(reg_value, SUNXI_SRAMC_BASE + 0x04);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
clock_set_pll10(432000000);
|
clock_set_pll_de(432000000);
|
||||||
|
|
||||||
/* Set DE parent to pll10 */
|
/* Set DE parent to pll10 */
|
||||||
clrsetbits_le32(&ccm->de_clk_cfg, CCM_DE2_CTRL_PLL_MASK,
|
clrsetbits_le32(&ccm->de_clk_cfg, CCM_DE2_CTRL_PLL_MASK,
|
||||||
|
Reference in New Issue
Block a user