u-boot/include/dm
Simon Glass 735ddfc638 dtoc: Support headers needed for drivers
Typically dtoc can detect the header file needed for a driver by looking
for the structs that it uses. For example, if a driver as a .priv_auto
that uses 'struct serial_priv', then dtoc can search header files for the
definition of that struct and use the file.

In some cases, enums are used in drivers, typically with the .data field
of struct udevice_id. Since dtoc does not support searching for these,
add a way to tell dtoc which header to use. This works as a macro included
in the driver definition.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-22 19:23:27 +13:00
..
platform_data dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
acpi.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
device-internal.h dm: core: Add late driver remove option 2021-02-03 03:38:41 -07:00
device.h dtoc: Support headers needed for drivers 2021-03-22 19:23:27 +13:00
device_compat.h dm: Don't undefine dev_xxx macros 2020-10-16 09:44:27 -04:00
devres.h dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
fdtaddr.h dm: core: Use const device for the devfdt...() interface 2020-02-05 19:33:45 -07:00
lists.h dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
of.h dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -06:00
of_access.h dm: add cells_count parameter in *_count_phandle_with_args 2020-10-06 09:07:54 -06:00
of_addr.h dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
pci.h dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
pinctrl.h pinctrl: Reformat documentation in dm/pinctrl.h 2020-10-08 11:42:36 -04:00
platdata.h dtoc: Drop dm_populate_phandle_data() 2021-01-05 12:26:35 -07:00
read.h dm: Introduce xxx_get_dma_range() 2021-02-18 11:56:25 +01:00
root.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
simple_bus.h dm: core: Move priv/plat structs for simple_bus to headers 2021-01-05 12:24:41 -07:00
test.h test: Drop struct dm_test_state 2021-03-12 09:57:30 -05:00
uclass-id.h net: Introduce DSA class for Ethernet switches 2021-02-16 11:48:20 -05:00
uclass-internal.h dm: core: Add function to access uclass priv 2021-01-05 12:24:40 -07:00
uclass.h dm: core: add function uclass_probe_all() to probe all devices 2021-01-16 14:49:09 -05:00
util.h dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00