[PATCH v2] cpufreq: qoriq: enhance bus frequency calculation

Viresh Kumar viresh.kumar at linaro.org
Fri Mar 10 02:14:52 PST 2017


On 10-03-17, 09:28, Yuantian Tang wrote:
> On some platforms, property device-type may be missed in soc node
> in dts which caused the bus-frequency can not be obtained correctly.
> 
> This patch enhanced the bus-frequency calculation. When property
> device-type is missed in dts, bus-frequency will be obtained by
> looking up clock table to get platform clock and hence get its
> frequency.
> 
> Signed-off-by: Tang Yuantian <andy.tang at nxp.com>
> ---
> v2: -- fix alignment issue
> 
>  drivers/cpufreq/qoriq-cpufreq.c | 24 +++++++++++++++++-------
>  1 file changed, 17 insertions(+), 7 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh



More information about the linux-arm-kernel mailing list