[PATCH v3] clk: mediatek: Allow changing PLL rate when it is off

2016-11-04 Thread James Liao
Some modules may need to change its clock rate before turn on it. So changing PLL's rate when it is off should be allowed. This patch removes PLL enabled check before set rate, so that PLLs can set new frequency even if they are off. On MT8173 for example, ARMPLL's enable bit can be controlled by

[PATCH v3] clk: mediatek: Allow changing PLL rate when it is off

2016-11-04 Thread James Liao
Some modules may need to change its clock rate before turn on it. So changing PLL's rate when it is off should be allowed. This patch removes PLL enabled check before set rate, so that PLLs can set new frequency even if they are off. On MT8173 for example, ARMPLL's enable bit can be controlled by