[PATCH 1/2] PM / Domains: Add OF support
Grant Likely
grant.likely at secretlab.ca
Mon Jan 2 17:59:56 EST 2012
On Mon, Dec 26, 2011 at 08:13:19PM +0100, Rafael J. Wysocki wrote:
> Hi,
>
> On Monday, December 12, 2011, Thomas Abraham wrote:
> > A device node pointer is added to generic pm domain structure to associate
> > the domain with a node in the device tree.
>
> That sounds fine except for one thing: PM domains are not devices, so adding
> "device node" pointers to them is kind of confusing. Perhaps there should be
> something like struct dt_node, representing a more general device tree node?
struct device_node has nothing to do with struct device. device_node is a
generic device tree node. Thomas' approach is fine.
g.
More information about the devicetree-discuss
mailing list