u-boot-brain/include/dm
Simon Glass dac8db2ce6 dm: core: Allow uclasses to specify private data for a device's children
In many cases the per-child private data for a device's children is defined
by the uclass rather than the individual driver. For example, a SPI bus
needs to store information about each of its children, but all SPI drivers
store the same information. It makes sense to allow the uclass to define
this data.

If the driver provides a size value for its per-child private data, then use
it. Failng that, fall back to that provided by the uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2015-01-29 17:09:55 -07:00
..
platform_data dm: serial: use Driver Model for UniPhier serial driver 2014-10-23 21:43:09 -06:00
device-internal.h dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
device.h dm: core: Add a function to get a device's uclass ID 2015-01-29 17:09:55 -07:00
lists.h dm: Add a function to bind a device by driver name 2014-11-22 10:16:47 +01:00
platdata.h dm: core: Allow a list of devices to be declared in one step 2014-10-22 10:36:54 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h test: dm: Support memory leak checking as a core feature 2014-10-23 19:29:53 -06:00
uclass-id.h dm: Add a simple EEPROM driver 2014-12-11 13:18:43 -07:00
uclass-internal.h dm: Introduce device sequence numbering 2014-07-23 14:07:25 +01:00
uclass.h dm: core: Allow uclasses to specify private data for a device's children 2015-01-29 17:09:55 -07:00
ut.h dm: i2c: Add tests for I2C 2014-12-11 13:18:43 -07:00
util.h dm: Disable dm_warn() in SPL 2014-11-21 08:13:17 +01:00