u-boot/drivers/power/domain
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
..
bcm6328-power-domain.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
imx8-power-domain-legacy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
imx8-power-domain.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
imx8m-power-domain.c imx: power-domain: use arm_smccc_smc 2020-07-14 15:23:47 +08:00
Kconfig power: domain: add Amlogic Everything-Else power domain driver 2019-10-18 14:33:21 +02:00
Makefile power: domain: add i.MX8 scu power domain driver 2019-11-05 10:27:18 +01:00
meson-ee-pwrc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
meson-gx-pwrc-vpu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtk-power-domain.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
power-domain-uclass.c dm: add cells_count parameter in *_count_phandle_with_args 2020-10-06 09:07:54 -06:00
sandbox-power-domain-test.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sandbox-power-domain.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tegra186-power-domain.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ti-sci-power-domain.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00