clk: fix mpll3 jitter too large
authorYun Cai <yun.cai@amlogic.com>
Mon, 12 Jun 2017 09:02:36 +0000 (17:02 +0800)
committerYun Cai <yun.cai@amlogic.com>
Mon, 12 Jun 2017 09:07:30 +0000 (17:07 +0800)
PD#142470: fix mpll3 jitter too large

Change-Id: I106bf9c627a0125ec61ec221d02c0689e547c965
Signed-off-by: Yun Cai <yun.cai@amlogic.com>
drivers/amlogic/clk/clk-mpll.c

index 042e725..a36f621 100644 (file)
@@ -115,12 +115,14 @@ static int mpll_set_rate(struct clk_hw *hw, unsigned long rate,
                reg = PARM_SET(p->width, p->shift, reg, n2);
                reg = PARM_SET(1, mpll->sdm_en, reg, 1);
                reg = PARM_SET(1, mpll->en_dds, reg, 1);
+               #if 0
                if (!strcmp(clk_hw_get_name(hw), "mpll3"))
                        /* MPLL_CNTL10 bit14 should be set together
                         * with MPLL3_CNTL0 bit0
                         */
                        writel(readl(mpll->base + p->reg_off - 0x3c) |
                                0x1<<14, mpll->base + p->reg_off - 0x3c);
+               #endif
                writel(reg, mpll->base + p->reg_off);
                /* mpll top misc for cpu after txlx */
                if (mpll->top_misc_reg)