Re: [Xen-devel] [PATCH v4 16/17] FDT: Add a helper to get specified name subnode

2016-02-24 Thread Rob Herring
On Tue, Feb 23, 2016 at 5:13 AM, Shannon Zhao wrote: > > > On 2016/2/9 13:04, Rob Herring wrote: >> On Thu, Feb 4, 2016 at 9:05 PM, Shannon Zhao >> wrote: >>> From: Shannon Zhao >>> >>> Sometimes it needs to check if there is a node in FDT by full path. >> >> I'm confused. Are you searching by

Re: [Xen-devel] [PATCH v4 16/17] FDT: Add a helper to get specified name subnode

2016-02-23 Thread Shannon Zhao
On 2016/2/9 13:04, Rob Herring wrote: > On Thu, Feb 4, 2016 at 9:05 PM, Shannon Zhao wrote: >> From: Shannon Zhao >> >> Sometimes it needs to check if there is a node in FDT by full path. > > I'm confused. Are you searching by full path or... > >> Introduce this helper to get the specified na

Re: [Xen-devel] [PATCH v4 16/17] FDT: Add a helper to get specified name subnode

2016-02-08 Thread Rob Herring
On Thu, Feb 4, 2016 at 9:05 PM, Shannon Zhao wrote: > From: Shannon Zhao > > Sometimes it needs to check if there is a node in FDT by full path. I'm confused. Are you searching by full path or... > Introduce this helper to get the specified name subnode if it exists. name of sub node? Either

Re: [Xen-devel] [PATCH v4 16/17] FDT: Add a helper to get specified name subnode

2016-02-05 Thread Stefano Stabellini
On Fri, 5 Feb 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Sometimes it needs to check if there is a node in FDT by full path. > Introduce this helper to get the specified name subnode if it exists. > > Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini > CC: Rob Herring > -

[Xen-devel] [PATCH v4 16/17] FDT: Add a helper to get specified name subnode

2016-02-04 Thread Shannon Zhao
From: Shannon Zhao Sometimes it needs to check if there is a node in FDT by full path. Introduce this helper to get the specified name subnode if it exists. Signed-off-by: Shannon Zhao --- CC: Rob Herring --- drivers/of/fdt.c | 25 + include/linux/of_fdt.h | 2 +