u-boot/drivers/misc
Walter Lozano 51f1263d89 dtoc: extend dtoc to use struct driver_info when linking nodes
In the current implementation, when dtoc parses a dtb to generate a struct
platdata it converts the information related to linked nodes as pointers
to struct platdata of destination nodes. By doing this, it makes
difficult to get pointer to udevices created based on these
information.

This patch extends dtoc to use struct driver_info when populating
information about linked nodes, which makes it easier to later get
the devices created. In this context, reimplement functions like
clk_get_by_index_platdata() which made use of the previous approach.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-09 22:00:29 -06:00
..
imx8 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ali512x.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
altera_sysid.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
atsha204a-i2c.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
cbmem_console.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cros_ec.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
cros_ec_i2c.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cros_ec_lpc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cros_ec_sandbox.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
cros_ec_spi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ds4510.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ds4510.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
esm_pmic.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
fs_loader.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fsl_devdis.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_ifc.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
fsl_iim.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
fsl_portals.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fsl_sec_mon.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
gdsys_ioep.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
gdsys_ioep.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
gdsys_rxaui_ctrl.c gdsys_rxaui_ctrl: Use new regmap interface 2019-05-21 07:52:34 +02:00
gdsys_soc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
gdsys_soc.h misc: Add gdsys_soc driver 2018-11-14 09:16:27 -08:00
gpio_led.c status_led: Kconfig migration 2017-01-21 15:12:33 -05:00
i2c_eeprom.c misc: i2c_eeprom: implement different probe test eeprom offset 2020-05-28 06:51:06 +02:00
i2c_eeprom_emul.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ihs_fpga.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ihs_fpga.h misc: Add IHS FPGA driver 2018-11-14 09:16:27 -08:00
irq-uclass.c dtoc: extend dtoc to use struct driver_info when linking nodes 2020-07-09 22:00:29 -06:00
irq_sandbox.c dm: irq: Add support for requesting interrupts 2020-02-07 22:46:32 +08:00
jz4780_efuse.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
k3_avs.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
k3_esm.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig misc: add driver for the SiFive otp controller 2020-06-04 09:44:08 +08:00
Makefile misc: add driver for the SiFive otp controller 2020-06-04 09:44:08 +08:00
mc9sdz60.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
microchip_flexcom.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
misc-uclass.c misc: Allow child devices 2019-02-09 12:50:22 -07:00
misc_sandbox.c misc: Update read() and write() methods to return bytes xfered 2018-11-20 19:14:22 -07:00
mpc83xx_serdes.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mpc83xx_serdes.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mxc_ocotp.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mxs_ocotp.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
nuvoton_nct6102d.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
p2sb-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
p2sb_emul.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
p2sb_sandbox.c sandbox: Add PCI driver and test for p2sb 2019-12-15 11:44:11 +08:00
pca9551_led.c common: Drop global inclusion of status_led.h 2019-12-02 18:23:06 -05:00
pwrseq-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qfw.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rockchip-efuse.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
rockchip-otp.c misc: add driver for the Rockchip otp controller 2019-11-17 17:23:15 +08:00
sandbox_adder.c sandbox: Add PCI driver and test for p2sb 2019-12-15 11:44:11 +08:00
sifive-otp.c misc: add driver for the SiFive otp controller 2020-06-04 09:44:08 +08:00
smsc_lpc47m.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
smsc_sio1007.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spltest_sandbox.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
status_led.c status_led: Tidy up the code style 2019-12-02 18:23:06 -05:00
stm32_rcc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stm32mp_fuse.c pmu: stpmic1: change specific NVM api to MISC 2019-08-27 11:19:23 +02:00
swap_case.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
syscon_sandbox.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tegra186_bpmp.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra_car.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
twl4030_led.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vexpress_config.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
winbond_w83627.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00