Files
u-boot/drivers
Patrick Delaunay 89f68302ca dm: add cells_count parameter in *_count_phandle_with_args
The cell_count argument is required when cells_name is NULL.

This patch adds this parameter in live tree API
- of_count_phandle_with_args
- ofnode_count_phandle_with_args
- dev_count_phandle_with_args

This parameter solves issue when these API is used to count
the number of element of a cell without cell name. This parameter
allow to force the size cell.

For example:
  count = dev_count_phandle_with_args(dev, "array", NULL, 3);

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-10-06 09:07:54 -06:00
..
2020-08-03 22:19:54 -04:00
2020-07-27 14:16:29 +05:30
2020-09-01 14:47:43 +02:00
2020-10-05 14:10:59 -04:00
2020-10-05 14:10:59 -04:00
2020-10-05 14:10:59 -04:00
2020-10-05 14:10:59 -04:00
2020-05-18 21:19:18 -04:00
2020-10-05 14:10:59 -04:00
2020-10-05 14:10:59 -04:00
2020-09-30 08:54:38 +08:00
2020-09-28 09:38:11 +02:00
2020-10-05 14:10:59 -04:00
2020-09-25 11:27:21 +08:00
2020-08-03 22:19:54 -04:00
2020-10-05 14:10:59 -04:00
2020-08-24 14:11:31 -04:00