Thread (6 messages) flat view 6 messages, 4 authors, 2011-09-22

Re: [PATCH] dt: add of_alias_scan and of_alias_get_id

From: Grant Likely <hidden>
Date: 2011-09-22 17:06:27
Also in: lkml

On Thu, Sep 22, 2011 at 02:53:08PM +0800, Shawn Guo wrote:
On Wed, Sep 21, 2011 at 02:46:54PM -0600, Grant Likely wrote:
quoted
From: Shawn Guo <redacted>

The patch adds function of_alias_scan to populate a global lookup
table with the properties of 'aliases' node and function
of_alias_get_id for drivers to find alias id from the lookup table.

v3: Split out automatic addition of aliases on id lookup so that it can be
    debated separately from the core functionality.
v2: - Add of_chosen/of_aliases populating and of_alias_scan() invocation
    for OF_PROMTREE.
    - Add locking
    - rework parse loop

Signed-off-by: Shawn Guo <redacted>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <redacted>
On imx serial driver:

Tested-by: Shawn Guo <redacted>

Hi Grant,

I just posted a patch to have of_alias_get_id() back for imx serial
driver with replying to this one.  Can you please merge it to through
your tree as well?
No problem.

g.

 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help