Thread (13 messages) 13 messages, 5 authors, 2012-02-01

[PATCH v2 1/2] PM / Domains: Add OF support

From: Thomas Abraham <hidden>
Date: 2012-01-09 13:11:34
Also in: linux-devicetree, linux-samsung-soc

Hi Rafael,

2012/1/9 Rafael J. Wysocki [off-list ref]:
On Saturday, January 07, 2012, Thomas Abraham wrote:
quoted
A device node pointer is added to generic pm domain structure to associate
the domain with a node in the device tree. The platform code parses the
device tree to find available nodes representing the generic power domain,
instantiates the available domains and initializes them by calling
pm_genpd_init().

Nodes representing the devices include a phandle of the power domain to
which it belongs. As these devices get instantiated, the driver code
checkes for availability of a power domain phandle, converts the phandle
to a device node and uses the new pm_genpd_of_add_device() api to
associate the device with a power domain.

pm_genpd_of_add_device() runs through its list of registered power domains
and matches the OF node of the domain with the one specified as the
parameter. If a match is found, the device is associated with the matched
domain.

Cc: Rafael J. Wysocki <redacted>
Cc: Rob Herring <redacted>
Cc: Grant Likely <redacted>
Signed-off-by: Thomas Abraham <redacted>
I can take this patch for 3.4, but your [2/2] depends on it, so I'm not
sure how to handle that. ?If you want me to take the other patch too,
it'll need ACKs from the Exynos maintaniers.
Thanks. There are some comments on the [2/2] patch which I will work
on. I will complete the rework and try to get the ack for the patch.

Regards,
Thomas.
Thanks,
Rafael
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help