From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] dt: add of_alias_scan and of_alias_get_id Date: Wed, 21 Sep 2011 16:55:29 -0400 (EDT) Message-ID: <20110921.165529.1114257620345857548.davem@davemloft.net> References: <20110921204545.19871.99088.stgit@ponder> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110921204545.19871.99088.stgit@ponder> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org From: Grant Likely Date: Wed, 21 Sep 2011 14:46:54 -0600 > From: Shawn Guo > > 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 > Cc: David S. Miller > Signed-off-by: Grant Likely Looks good: Acked-by: David S. Miller