u-boot-brain/drivers/power
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
..
acpi_pmc pmc: Move common registers to the header file 2020-07-17 14:32:24 +08:00
battery common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
domain dm: add cells_count parameter in *_count_phandle_with_args 2020-10-06 09:07:54 -06:00
fuel_gauge common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mfd common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmic power: pmic_pca9450: fix PCA9450A I2C address 2020-07-16 11:20:14 +02:00
regulator power: Tidy up inclusion of regulator_common.h 2020-08-03 22:19:54 -04:00
axp152.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
axp209.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
axp221.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
axp809.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
axp818.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
exynos-tmu.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ftpmu010.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig poweroff: add poweroff for mt6323 pmic 2020-01-10 10:25:13 -05:00
Makefile poweroff: add poweroff for mt6323 pmic 2020-01-10 10:25:13 -05:00
mt6323.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
palmas.c power: make most tps drivers and the twl4030 driver compatible with DM_I2C 2018-12-10 06:17:30 +01:00
power_core.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
power_dialog.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
power_fsl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
power_i2c.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
power_spi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sy8106a.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tps6586x.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
twl4030.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
twl6030.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00