This patch implements MT8173 specific cpufreq driver with OPP table defined
in the driver code.
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
drivers/cpufreq/Kconfig.arm | 6 +
drivers/cpufreq/Makefile | 1 +
drivers/cpufreq/mt8173-cpufreq.c | 509
This patch adds voltage supplies and clocks used by MT8173 cpufreq driver.
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 9 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 6 ++
2 files changed, 15 insertions(+)
diff --git
in the driver source code until new OPP binding is ready
Changes in v2:
- Add intermediate frequency support in cpufreq-dt driver
- Use voltage scaling code of cpufreq-dt for little cluster instead of
implementaion in notifier of mtk-cpufreq driver
- Code refinement for mtk-cpufreq driver
pi
use of .determine_rate callback
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
drivers/clk/mediatek/Makefile | 2 +-
drivers/clk/mediatek/clk-cpumux.c | 122 +
drivers/clk/mediatek/clk-cpumux.h | 31 +
drivers/clk/mediatek
Add dt-binding for mtk-cpufreq driver so that the driver could get SoC specific
information (intermediate_clk for now) from device tree.
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
.../devicetree/bindings/cpufreq/cpufreq-mtk.txt | 17 +
1 file changed, 17
This patch illustrates how to enable mtk-cpufreq driver for a Mediatek SoC in
device tree using MT8173 as an example. This patch was tested on MT8173 EVB
with several patches which are not yet posted on public mailing list.
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
arch/arm64
are quite similar, consolidate the flow as a new function to keep readibility.
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
drivers/cpufreq/cpufreq-dt.c | 68 +++-
include/linux/cpufreq-dt.h | 7 +
2 files changed, 68 insertions(+), 7
In this patch, some SoC specific voltage scaling flow is implemented in the
cpufreq notifier of mtk-cpufreq driver.
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
drivers/cpufreq/Kconfig.arm | 6 +
drivers/cpufreq/Makefile | 1 +
drivers/cpufreq/mtk-cpufreq.c | 346
scaling code of cpufreq-dt for little cluster instead of
implementaion in notifier of mtk-cpufreq driver
3. Code refinement for mtk-cpufreq driver
pi-cheng.chen (4):
cpufreq-dt: add clock domain and intermediate frequency support
cpufreq: dt-bindings: add bindings for mtk-cpufreq driver
This patch adds CPU mux clocks which are used by Mediatek cpufreq driver
for intermediate clock source switching. This patch is based on Mediatek
clock driver patches[1].
[1] http://thread.gmane.org/gmane.linux.kernel/1892436
Signed-off-by: pi-cheng.chen pi-cheng.c...@linaro.org
---
drivers/clk
10 matches
Mail list logo