u-boot-brain/include/dm
Simon Glass ba8da9dc43 dm: core: Allow uclasses to specify platdata for a device's children
In many cases the child platform data for a device's children is defined by
the uclass rather than the individual devices. For example, a SPI bus needs
to know the chip select and speed for each of its children. It makes sense
to allow this information to be defined the SPI uclass rather than each
individual driver.

If the device provides a size value for its child platdata, then use it.
Failng that, fall back to that provided by the uclass.

Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
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: Allow parents to have platform data for their children 2015-01-29 17:09:54 -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 platdata 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