
17 Sep
2020
17 Sep
'20
3:09 a.m.
On Thu, 10 Sep 2020 at 10:26, Patrick Delaunay patrick.delaunay@st.com wrote:
In the live tree API ofnode_parse_phandle_with_args, the cell_count argument must be used when cells_name is NULL.
But this argument is not provided to the live DT function of_parse_phandle_with_args even it is provided to fdtdec_parse_phandle_with_args.
This patch adds support of the cells_count parameter in dev_ and of_node API to allow migration and support of live DT:
- of_parse_phandle_with_args
Signed-off-by: Patrick Delaunay patrick.delaunay@st.com
drivers/core/of_access.c | 7 ++++--- drivers/core/ofnode.c | 3 ++- include/dm/of_access.h | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org