[PATCH 0/3] arm64: Hikey: enable CPUFreq and thermal drivers

From: Leo Yan
Date: Wed Aug 31 2016 - 04:55:44 EST


Currently most power management code of 96boards Hikey have been merged
into mainline kernel, but some of them have not been built by default;
So this patch series is to build all these modules properly.

The software layer is as below:

set constraint
cpufreq-dt driver <-------------- thermal/cpu_cooling driver
| |
V V
hi6220 stub clock driver hisi thermal driver

So first two patches are two enable fundamental modules for hi6220 stub
clock driver and hisilicon thermal driver. Based on these two drivers,
we also need enable common drivers for cpufreq-dt.c and cpu_cooling.c;
these two drivers are commonly used by other platforms, so enable these
two common drivers in arm64's defconfig. arm32's defconfig has enabled
these two configurations yet.

Leo Yan (3):
clk: Hi6220: enable stub clock driver for ARCH_HISI
thermal: hisilicon: fix for dependency
arm64: defconfig: enable two common modules for power management

arch/arm64/configs/defconfig | 2 ++
drivers/clk/hisilicon/Kconfig | 1 +
drivers/thermal/Kconfig | 4 +++-
3 files changed, 6 insertions(+), 1 deletion(-)

--
1.9.1