u-boot/drivers
Patrice Chotard 642346ae26 dm: core: add ofnode_count_phandle_with_args()
This function is usefull to get phandle number contained
in a property list.
For example,  this allows to allocate the right amount
of memory to keep clock's reference contained into the
"clocks" property.

To implement it, either of_count_phandle_with_args() or
fdtdec_parse_phandle_with_args() are used respectively
for live tree and flat tree.
By passing index = -1, these 2 functions returns the
number of phandle contained into the property list.

Add also the dev_count_phandle_with_args() based on
ofnode_count_phandle_with_args()

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-07-28 23:34:08 +02:00
..
adc dm: adc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
ata dm: ahci: Add a driver for SCSI on AHCI 2017-07-11 10:08:19 -06:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00
bootcount powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
clk clk: add clk_release_all() 2017-07-28 23:34:08 +02:00
core dm: core: add ofnode_count_phandle_with_args() 2017-07-28 23:34:08 +02:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto Convert CONFIG_CMD_HASH to Kconfig 2017-05-22 12:38:15 -04:00
ddr driver/ddr: Add support for setting timing in hws_topology_map 2017-07-12 06:56:48 +02:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu dfu: dfu_nand: use get_nand_dev_by_index() 2017-07-11 22:41:45 -04:00
dma imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga fpga: zynqmppl: Reuse invoke_smc routine 2017-06-20 16:42:13 +02:00
gpio imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
i2c powerpc: Remove 8260 remainders 2017-07-23 09:24:47 -04:00
input powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc rockchip: efuse: dm: change to use dev_read_addr 2017-07-27 14:59:00 +02:00
mmc mmc: cadence: use fdt32_t for DT property value to fix sparse warning 2017-07-19 19:13:59 +09:00
mtd ubi: Kconfig: Make MTD_UBI select MTD_PARTITIONS 2017-07-24 07:33:34 -04:00
net powerpc, 8xx: fix missing function declarations. 2017-07-23 09:23:29 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci dm: ofnode: rename ofnode_read_prop() to ofnode_get_property() 2017-07-11 10:08:20 -06:00
pcmcia powerpc, 8xx: remove support for 8xx 2017-06-12 08:37:55 -04:00
phy drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index() fails 2017-07-28 23:34:04 +02:00
pinctrl rockchip: rk3288: Add support for drive-strength in PINCTRL 2017-07-27 14:59:02 +02:00
power power: pwm_regulator: remove redundant code 2017-07-27 14:59:01 +02:00
pwm rockchip: pwm: add mask for config setting 2017-07-27 14:59:01 +02:00
qe QE: add QE support on SD boot 2017-06-01 19:56:54 -07:00
ram ram: stm32: add stm32h7 support 2017-07-26 11:29:15 -04:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset reset: add reset_release_all() 2017-07-28 23:34:07 +02:00
rtc powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x 2017-06-16 10:14:55 -04:00
scsi dm: scsi: Drop scsi_init() when driver model is used 2017-07-11 10:08:19 -06:00
serial spl: make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN 2017-07-27 14:59:03 +02:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi spi: stm32_qspi: add clk_get_rate() support 2017-07-26 11:28:08 -04:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset rockchip: rk322x: add sysreset driver 2017-07-11 12:13:46 +02:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer dm: core: Update lists_bind_fdt() to use ofnode 2017-06-01 07:03:08 -06:00
tpm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
usb usb: host: xhci-dwc3: Add generic PHY support 2017-07-28 23:34:05 +02:00
video imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
watchdog orion_wdt: Support for the Orion Watchdog 2017-07-12 06:56:48 +02:00
Kconfig scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00
Makefile scsi: Move drivers into new drivers/scsi directory 2017-07-11 10:08:19 -06:00