clk: mediatek: add missing cpu mux causing Mediatek cpufreq can't work
authorSean Wang <sean.wang@mediatek.com>
Fri, 5 May 2017 15:26:09 +0000 (23:26 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 20 Jun 2017 02:02:43 +0000 (19:02 -0700)
commit1e17de9049da5ef482ec8f6a875a83bec96bed3e
tree1811f4da3b94ee86457ef1dbd6932956690cb4f3
parent34deaff763d41b5f73723a71c5f45383374dc7eb
clk: mediatek: add missing cpu mux causing Mediatek cpufreq can't work

This patch adds CPU multiplexer clocks which are essential for Mediatek
cpufreq driver. It would use the CPU clock multiplexer to switch to the
intermediate clock source temporarily and then wait for the primary clock
changing getting stable.

Signed-off-by: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mediatek/Makefile
drivers/clk/mediatek/clk-cpumux.c [new file with mode: 0644]
drivers/clk/mediatek/clk-cpumux.h [new file with mode: 0644]