Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

From: Amit Kucheria
Date: Sun Jun 26 2016 - 12:32:44 EST


On Mon, Jun 20, 2016 at 6:46 PM, Leo Yan <leo.yan@xxxxxxxxxx> wrote:
> Hi Amit,
>
> On Mon, Jun 20, 2016 at 05:46:36PM +0530, Amit Kucheria wrote:
>> The Hisilicon clock stub driver is needed to allow the thermal drivers to
>> actually scale the frequency. Make it an automatic dependency.
>>
>> Signed-off-by: Amit Kucheria <amit.kucheria@xxxxxxxxxx>
>> ---
>> drivers/thermal/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
>> index 22ae1f7..4e843f7 100644
>> --- a/drivers/thermal/Kconfig
>> +++ b/drivers/thermal/Kconfig
>> @@ -178,6 +178,7 @@ config THERMAL_EMULATION
>> config HISI_THERMAL
>> tristate "Hisilicon thermal driver"
>> depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST
>> + select STUB_CLK_HI6220
>
> Acked-by: Leo Yan <leo.yan@xxxxxxxxxx>

Thanks Leo. Eduardo, will you take this through your tree or should
Wei include this in his tree?

Regards,
Amit