From: Shawn Guo <shawn.guo@freescale.com>
To: David Miller <davem@davemloft.net>
Cc: <shawn.guo@linaro.org>, <devicetree-discuss@lists.ozlabs.org>,
<linux-kernel@vger.kernel.org>, <patches@linaro.org>
Subject: Re: [PATCH] dt: add of_alias_scan and of_alias_get_id
Date: Mon, 15 Aug 2011 14:07:09 +0800 [thread overview]
Message-ID: <20110815060708.GH7244@S2100-06.ap.freescale.net> (raw)
In-Reply-To: <20110814.224341.2228974983062837890.davem@davemloft.net>
Hi David,
On Sun, Aug 14, 2011 at 10:43:41PM -0700, David Miller wrote:
> From: Shawn Guo <shawn.guo@linaro.org>
> Date: Mon, 15 Aug 2011 09:30:17 +0800
>
> > *allnextp = NULL;
> >
> > + /* Get pointer to "/chosen" and "/aliasas" nodes for use everywhere */
> > + of_chosen = of_find_node_by_path("/chosen");
> > + if (of_chosen == NULL)
> > + of_chosen = of_find_node_by_path("/chosen@0");
> > + of_aliases = of_find_node_by_path("/aliases");
> > + of_alias_scan(dt_alloc);
> > +
> > pr_debug(" <- unflatten_device_tree()\n");
> > }
>
> You need to add invocations of the scan to other places in the
> tree that build the in-kernel device tree.
Can you please help me a little bit more with the "other places"?
I'm still pretty new to device tree beyond ARM platform.
--
Regards,
Shawn
next prev parent reply other threads:[~2011-08-15 6:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 1:30 Shawn Guo
2011-08-15 5:43 ` David Miller
2011-08-15 6:07 ` Shawn Guo [this message]
2011-08-15 6:05 ` David Miller
2011-08-15 6:36 ` Shawn Guo
2011-08-15 6:35 ` David Miller
2011-08-15 6:47 ` Shawn Guo
2011-08-15 6:45 ` Shawn Guo
2011-08-15 7:28 ` [PATCH v2] " Shawn Guo
2011-09-19 15:18 ` Shawn Guo
2011-09-21 20:35 ` Grant Likely
2011-09-21 20:46 [PATCH] " Grant Likely
2011-09-21 20:55 ` David Miller
2011-09-22 6:53 ` Shawn Guo
2011-09-22 17:06 ` Grant Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110815060708.GH7244@S2100-06.ap.freescale.net \
--to=shawn.guo@freescale.com \
--cc=davem@davemloft.net \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@linaro.org \
--cc=shawn.guo@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®