Re: [PATCH v5 16/17] FDT: Add a helper to get the subnode by given name

2016-03-19 Thread Rob Herring
On Fri, Mar 4, 2016 at 12:37 AM, Shannon Zhao wrote: > From: Shannon Zhao > > Sometimes it needs to check if there is a subnode of given node in FDT > by given name. Introduce this helper to get the subnode if it exists. > > CC: Rob Herring > Signed-off-by: Shannon Zhao Acked-by: Rob Herring

Re: [PATCH v5 16/17] FDT: Add a helper to get the subnode by given name

2016-03-04 Thread Stefano Stabellini
On Fri, 4 Mar 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Sometimes it needs to check if there is a subnode of given node in FDT > by given name. Introduce this helper to get the subnode if it exists. > > CC: Rob Herring > Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini >

[PATCH v5 16/17] FDT: Add a helper to get the subnode by given name

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