21 Aug, 2013
1 commit
-
Now that the cpu device registration initialises the of_node(if available)
appropriately for all the cpus, parsing here is redundant.This patch removes all DT parsing and uses cpu->of_node instead.
Cc: Mark Langsdorf
Acked-by: Rob Herring
Acked-by: Viresh Kumar
Signed-off-by: Sudeep KarkadaNagesha
04 Mar, 2013
1 commit
-
As uninitialized array members will be initialized to zero, we can
avoid using a for loop by setting a value to it.Signed-off-by: Emilio López
Acked-by: Viresh Kumar
Acked-By: Mark Langsdorf
Signed-off-by: Rafael J. Wysocki
02 Feb, 2013
2 commits
-
As multiplatform build is being adopted by more and more ARM platforms,
initcall function should be used very carefully. For example, when
GENERIC_CPUFREQ_CPU0 is built in the kernel, cpu0_cpufreq_driver_init()
will be called on all the platforms to initialize cpufreq-cpu0 driver.To eliminate this undesired the effect, the patch changes cpufreq-cpu0
driver to have it instantiated as a platform_driver. Then it will only
run on platforms that create the platform_device "cpufreq-cpu0".Along with the change, it also changes cpu_dev to be &pdev->dev,
so that managed functions can start working, and module build gets
supported too.The highbank-cpufreq driver is also updated accordingly to adapt the
changes on cpufreq-cpu0.Signed-off-by: Shawn Guo
Reviewed-by: Viresh Kumar
Acked-by: Mark Langsdorf
Signed-off-by: Rafael J. Wysocki -
Highbank processors depend on the external ECME to perform voltage
management based on a requested frequency. Communication between the
A9 cores and the ECME happens over the pl320 IPC channel.Signed-off-by: Mark Langsdorf
Reviewed-by: Shawn Guo
Reviewed-by: Mike Turquette
Signed-off-by: Rafael J. Wysocki