kernel-ark/drivers/base/power/opp
Dave Gerlach a4ee454593 PM / OPP: Don't support OPP if it provides supported-hw but platform does not
The OPP framework allows each OPP to set a opp-supported-hw property
which provides values that are matched against supported_hw values
provided by the platform to limit support for certain OPPs on specific
hardware. Currently, if the platform does not set supported_hw values,
all OPPs are interpreted as supported, even if they have provided their
own opp-supported-hw values.

If an OPP has provided opp-supported-hw, it is indicating that there is
some specific hardware configuration it is supported by. These constraints
should be honored, and if no supported_hw has been provided by the
platform, there is no way to determine if that OPP is actually supported,
so it should be marked as not supported.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-09-26 15:13:31 +02:00
..
core.c PM / OPP: avoid maybe-uninitialized warning 2016-09-17 00:58:00 +02:00
cpu.c PM / OPP: Add 'UNKNOWN' status for shared_opp in struct opp_table 2016-06-16 15:50:36 +02:00
debugfs.c PM / OPP: Rename structures for clarity 2016-02-21 14:24:35 +01:00
Makefile PM / OPP: Move CONFIG_OF dependent code in a separate file 2016-05-06 13:22:49 +02:00
of.c PM / OPP: Don't support OPP if it provides supported-hw but platform does not 2016-09-26 15:13:31 +02:00
opp.h PM / OPP: Add 'UNKNOWN' status for shared_opp in struct opp_table 2016-06-16 15:50:36 +02:00