[RFC PATCH 0/2] 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 couple of updates to existing 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.

Previously I had posted these patch[1] but didn't get much review.
Previous approach mixed both OPP values and the phandle in the same property.
The current approach adds new (optional) property to hold phandle if OPPs are
shared. This makes it simpler and easier to be backward compatible.

Regards,
Sudeep

[1] https://lkml.org/lkml/2013/5/1/84

Sudeep KarkadaNagesha (2):
  PM / OPP: add support to specify phandle of another node for OPP
  PM / OPP: check for existing OPP list when initialising from device
    tree

 Documentation/devicetree/bindings/power/opp.txt | 114 +++++++++++++++++++++---
 drivers/base/power/opp.c                        |  18 +++-
 2 files changed, 118 insertions(+), 14 deletions(-)

-- 
1.8.1.2


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





[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux