u-boot-brain/drivers/core
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
..
device-remove.c dm: core: Allow parents to have platform data for their children 2015-01-29 17:09:54 -07:00
device.c dm: core: Allow uclasses to specify platdata for a device's children 2015-01-29 17:09:55 -07:00
Kconfig dm: add entries to Kconfig 2014-10-23 21:43:09 -06:00
lists.c dm: core: remove unnecessary return condition in uclass lookup 2014-11-22 10:16:49 +01:00
Makefile dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
root.c dm: core: Set device tree node for root device 2015-01-29 17:09:54 -07:00
simple-bus.c dm: core: Add support for simple-bus 2014-10-22 10:36:56 -06:00
uclass.c dm: do not check the existence of uclass operation 2014-10-22 10:32:16 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00