summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
diff options
context:
space:
mode:
authorJames Liao <jamesjj.liao@mediatek.com>2019-03-05 13:05:46 +0800
committerStephen Boyd <sboyd@kernel.org>2019-04-11 13:29:19 -0700
commitdac5d67277d654695444fe6cab94c1a596dff33c (patch)
treec0bb23bdb3fe3e87bc8792bde1f199b2274651be /Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt
parentacddfc2c261b3653ab1c1b567a427299bac20d31 (diff)
clk: mediatek: Allow changing PLL rate when it is off
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 other HW. That means ARMPLL may be turned on even if we (CPU / SW) set ARMPLL's enable bit as 0. In this case, SW may want and can still change ARMPLL's rate by changing its pcw and postdiv settings. But without this patch, new pcw setting will not be applied because its enable bit is 0. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Acked-by: Michael Turquette <mturuqette@baylibre.com> Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com> Reviewed-by: James Liao <jamesjj.liao@mediatek.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt')
0 files changed, 0 insertions, 0 deletions