05 Jun, 2017
1 commit
-
scpi_ops now provide APIs to get the transition_latency and to add
OPPs to the devices making those logic redundant here.This patch makes use of those APIs and removes the redundant code in
this driver.Cc: "Rafael J. Wysocki"
Acked-by: Viresh Kumar
Signed-off-by: Sudeep Holla
18 Aug, 2016
1 commit
-
The field "owner" is set by the core.
Thus delete an unneeded initialisation.Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring
Acked-by: Viresh Kumar
Acked-by: Sudeep Holla
Signed-off-by: Rafael J. Wysocki
05 May, 2016
1 commit
-
Currently when performing random CPU hot-plugs and suspend-to-ram(S2R)
on systems using arm_big_little cpufreq driver, we get warnings similar
to something like below:cpu cpu1: _opp_add: duplicate OPPs detected. Existing: freq: 600000000,
volt: 800000, enabled: 1. New: freq: 600000000, volt: 800000, enabled: 1This is mainly because the OPPs for the shared cpus are not set. We can
just use dev_pm_opp_of_cpumask_add_table in case the OPPs are obtained
from DT(arm_big_little_dt.c) or use dev_pm_opp_set_sharing_cpus if the
OPPs are obtained by other means like firmware(e.g. scpi-cpufreq.c)Also now that the generic dev_pm_opp{,_of}_cpumask_remove_table can
handle removal of opp table and entries for all associated CPUs, we can
re-use dev_pm_opp{,_of}_cpumask_remove_table as free_opp_table in
cpufreq_arm_bL_ops.This patch makes necessary changes to reuse the generic OPP functions for
{init,free}_opp_table and thereby eliminating the warnings.Signed-off-by: Sudeep Holla
Acked-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki
24 Dec, 2015
1 commit
-
The "domain" variable needs to be signed for the error handling to work.
Fixes: 8def31034d03 (cpufreq: arm_big_little: add SCPI interface driver)
Signed-off-by: Dan Carpenter
Acked-by: Viresh Kumar
Acked-by: Sudeep Holla
Signed-off-by: Rafael J. Wysocki
28 Sep, 2015
1 commit
-
On some ARM based systems, a separate Cortex-M based System Control
Processor(SCP) provides the overall power, clock, reset and system
control including CPU DVFS. SCPI Message Protocol is used to
communicate with the SCPI.This patch adds a interface driver for adding OPPs and registering
the arm_big_little cpufreq driver for such systems.Signed-off-by: Sudeep Holla
Acked-by: Viresh Kumar
Cc: "Rafael J. Wysocki"
Cc: linux-pm@vger.kernel.org