devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] PM / OPP: updates to enable sharing OPPs info
@ 2013-09-18 10:58 Sudeep KarkadaNagesha
       [not found] ` <1379501893-12669-1-git-send-email-Sudeep.KarkadaNagesha-5wv7dgnIgG8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Sudeep KarkadaNagesha @ 2013-09-18 10:58 UTC (permalink / raw)
  To: linux-pm-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Sudeep.KarkadaNagesha-5wv7dgnIgG8, Sudeep KarkadaNagesha

From: Sudeep KarkadaNagesha <sudeep.karkadanagesha-5wv7dgnIgG8@public.gmane.org>

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.

An RFC version was posted [1] and based on the discussion it was
preferred to use phandle to a shared OPP table in a separate node
rather than creating indirect linkage to the device with which it share
the clock as it could be problematic. E.g. the bootloaders can remove
cpu nodes if there are not used.

Also I am retaining 'operating-points-phandle' property name, as it makes
more sense now.

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

[1] http://www.spinics.net/lists/cpufreq/msg06524.html

Sudeep KarkadaNagesha (3):
  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

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

-- 
1.8.1.2

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-09-30 16:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-18 10:58 [PATCH 0/3] PM / OPP: updates to enable sharing OPPs info Sudeep KarkadaNagesha
     [not found] ` <1379501893-12669-1-git-send-email-Sudeep.KarkadaNagesha-5wv7dgnIgG8@public.gmane.org>
2013-09-18 10:58   ` [PATCH 1/3] PM / OPP: extend DT binding to specify phandle of another node for OPP Sudeep KarkadaNagesha
     [not found]     ` <1379501893-12669-2-git-send-email-Sudeep.KarkadaNagesha-5wv7dgnIgG8@public.gmane.org>
2013-09-30  8:52       ` Mark Rutland
2013-09-30 12:33         ` Sudeep KarkadaNagesha
     [not found]           ` <52496FAC.7000901-5wv7dgnIgG8@public.gmane.org>
2013-09-30 15:51             ` Mark Rutland
     [not found]               ` <20130930155145.GC22259-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-09-30 16:46                 ` Sudeep KarkadaNagesha
2013-09-18 10:58   ` [PATCH 2/3] PM / OPP: add support " Sudeep KarkadaNagesha
2013-09-30  8:57     ` Mark Rutland
2013-09-18 10:58   ` [PATCH 3/3] PM / OPP: check for existing OPP list when initialising from device tree Sudeep KarkadaNagesha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).