> On 6 Jun 2023, at 21:29, Vikram Garhwal <vikram.garh...@amd.com> wrote: > > Hi, > > On 6/5/23 12:12 PM, Julien Grall wrote: >> Hi, >> >> On 02/06/2023 01:48, Vikram Garhwal wrote: >>> Add device_tree_find_node_by_path() to find a matching node with path for a >> >> AFAICT, the only difference in name between the new function and the >> existing one is "device_tree" vs "dt". The latter is just a shorthand of >> "device tree", so it feels to me the name are a bit too similar. >> >> From my understanding, the main difference between the two functions are >> that the current one is starting from root whereas the current one is >> starting from a given node. So how about "dt_find_node_by_path_from()"? > Thank you for the suggestion. This name was added in v3 as Luca Fancellu > suggested to rename this function to "device_tree_find_node_by_path". I am > okay with renaming it to dt_find_node_by_path_from(). > > Luca, Michal and Henry: Does the dt_find_node_by_path_from() name works for > you? Sure, go for it! Cheers, Luca
- [XEN][PATCH v7 02/19] common/device_tree.c: unflatten_devic... Vikram Garhwal
- Re: [XEN][PATCH v7 02/19] common/device_tree.c: unflat... Michal Orzel
- Re: [XEN][PATCH v7 02/19] common/device_tree.c: un... Vikram Garhwal
- [XEN][PATCH v7 08/19] xen/device-tree: Add device_tree_find... Vikram Garhwal
- RE: [XEN][PATCH v7 08/19] xen/device-tree: Add device_... Henry Wang
- Re: [XEN][PATCH v7 08/19] xen/device-tree: Add device_... Julien Grall
- Re: [XEN][PATCH v7 08/19] xen/device-tree: Add dev... Vikram Garhwal
- Re: [XEN][PATCH v7 08/19] xen/device-tree: Add... Michal Orzel
- Re: [XEN][PATCH v7 08/19] xen/device-tree: Add... Luca Fancellu
- [XEN][PATCH v7 10/19] xen/iommu: protect iommu_add_dt_devic... Vikram Garhwal
- [XEN][PATCH v7 05/19] xen/arm: Add CONFIG_OVERLAY_DTB Vikram Garhwal
- RE: [XEN][PATCH v7 05/19] xen/arm: Add CONFIG_OVERLAY_... Henry Wang
- Re: [XEN][PATCH v7 05/19] xen/arm: Add CONFIG_OVERLAY_... Michal Orzel
- Re: [XEN][PATCH v7 05/19] xen/arm: Add CONFIG_OVERLAY_... Jan Beulich
- RE: [XEN][PATCH v7 05/19] xen/arm: Add CONFIG_OVER... Henry Wang
- Re: [XEN][PATCH v7 05/19] xen/arm: Add CONFIG_... Vikram Garhwal
- [XEN][PATCH v7 03/19] xen/arm/device: Remove __init from fu... Vikram Garhwal