Re: [PATCH v2 2/2] clk: mediatek: Add MT8173 MMPLL change rate support

2015-07-09 Thread James Liao
Hi Stephen, On Wed, 2015-07-08 at 17:46 -0700, Stephen Boyd wrote: > On 07/08/2015 01:37 AM, James Liao wrote: > > diff --git a/drivers/clk/mediatek/clk-pll.c b/drivers/clk/mediatek/clk-pll.c > > index 68af518..622e7b6 100644 > > --- a/drivers/clk/mediatek/clk-pll.c > > +++ b/drivers/clk/mediatek/

Re: [PATCH v2 2/2] clk: mediatek: Add MT8173 MMPLL change rate support

2015-07-08 Thread Stephen Boyd
On 07/08/2015 01:37 AM, James Liao wrote: > diff --git a/drivers/clk/mediatek/clk-pll.c b/drivers/clk/mediatek/clk-pll.c > index 68af518..622e7b6 100644 > --- a/drivers/clk/mediatek/clk-pll.c > +++ b/drivers/clk/mediatek/clk-pll.c > @@ -138,16 +138,28 @@ static void mtk_pll_calc_values(struct mtk_c

[PATCH v2 2/2] clk: mediatek: Add MT8173 MMPLL change rate support

2015-07-08 Thread James Liao
MT8173 MMPLL frequency settings are different from common PLLs. It needs different post divider settings for some ranges of frequency. This patch add support for MT8173 MMPLL frequency setting, includes: 1. Add div-rate table for PLLs. 2. Increase the max ost divider setting from 3 (/8) to 4 (/16)