[PATCH v2 0/5] PM / OPP: updates to enable sharing OPPs info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




From: Sudeep KarkadaNagesha <sudeep.karkadanagesha@xxxxxxx>

Hi,

These are few updates to existing device tree binding and the PM/OPP
library to support sharing of OPPs between different device nodes.

Currently all the cpu nodes are parsed until the OPPs are found. This
is essential to support cpuhotplug without having to replicate OPP
information in all the cpu nodes.

However in systems with multiple cpu power domain, its better to have
OPP entry for each cpu. To avoid replication, phandle can be specified
to the node which contains the full OPP information.

The table node containing all the OPPs and device nodes pointing to an
entry into it through phandle might also solve the problem of describing
multiple OPP profiles.

Regards,
Sudeep

Changes v1->v2:
	- Updated binding document as per Mark's suggestions
	- Added of_node_put for phandle as of_parse_phandle increments
	  the refcount
	- Updated user of OPP library(cpufreq/arm_big_little_dt) affected
	  by binding changes

Sudeep KarkadaNagesha (5):
  PM / OPP: extend DT binding to specify phandle of another node for OPP
  PM / OPP: add support to specify phandle of another node for OPP
  PM / OPP: check for existing OPP list when initialising from device
    tree
  cpufreq: arm_big_little_dt: enhance OPP error checking
  cpufreq: arm_big_little_dt: return success if OPP list already exists

 Documentation/devicetree/bindings/power/opp.txt | 161 ++++++++++++++++++++++--
 drivers/base/power/opp.c                        |  21 +++-
 drivers/cpufreq/arm_big_little_dt.c             |   5 +-
 3 files changed, 172 insertions(+), 15 deletions(-)

-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux