u-boot/include/dm
Simon Glass e59f458de6 dm: Introduce per-child data for devices
Some device types can have child devices and want to store information
about them. For example a USB flash stick attached to a USB host
controller would likely use this space. The controller can hold
information about the USB state of each of its children.

The data is stored attached to the child device in the 'parent_priv'
member. It can be auto-allocated by dm when the child is probed. To
do this, add a per_child_auto_alloc_size value to the parent driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
2014-07-23 14:08:37 +01:00
..
device-internal.h dm: Allow drivers to be marked 'before relocation' 2014-07-23 14:07:24 +01:00
device.h dm: Introduce per-child data for devices 2014-07-23 14:08:37 +01:00
lists.h dm: Allow drivers to be marked 'before relocation' 2014-07-23 14:07:24 +01:00
platdata.h dm: Tidy up some header file comments 2014-07-23 14:07:26 +01:00
root.h dm: Provide a function to scan child FDT nodes 2014-07-23 14:08:36 +01:00
test.h dm: Introduce per-child data for devices 2014-07-23 14:08:37 +01:00
uclass-id.h dm: Provide a function to scan child FDT nodes 2014-07-23 14:08:36 +01:00
uclass-internal.h dm: Introduce device sequence numbering 2014-07-23 14:07:25 +01:00
uclass.h dm: Tidy up some header file comments 2014-07-23 14:07:26 +01:00
ut.h dm: Add basic tests 2014-03-04 12:15:29 -05:00
util.h dm: Add base driver model support 2014-03-04 12:15:29 -05:00