u-boot-2016/test/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
..
.gitignore dm: Add basic tests 2014-03-04 12:15:29 -05:00
bus.c dm: core: Allow uclasses to specify platdata for a device's children 2015-01-29 17:09:55 -07:00
cmd_dm.c dm_test: improve the appearance shown by "dm tree" command 2014-12-11 13:18:41 -07:00
core.c test: dm: Support memory leak checking as a core feature 2014-10-23 19:29:53 -06:00
gpio.c dm: gpio: Add better functions to request GPIOs 2015-01-29 17:09:51 -07:00
i2c.c dm: i2c: Provide an offset length parameter where needed 2015-01-29 17:09:53 -07:00
Makefile dm: i2c: Add tests for I2C 2014-12-11 13:18:43 -07:00
sf.c sandbox: Correct ordering of 'sb save' commands 2015-01-14 11:35:43 -05:00
spi.c dm: spi: Add tests 2014-10-22 10:36:51 -06:00
test-dm.sh dm: Don't run tests if U-Boot cannot be built 2015-01-29 17:09:54 -07:00
test-driver.c dm: Allow drivers to be marked 'before relocation' 2014-07-23 14:07:24 +01:00
test-fdt.c dm: core: Allocate platform data when binding a device 2015-01-29 17:09:54 -07:00
test-main.c test: dm: Support memory leak checking as a core feature 2014-10-23 19:29:53 -06:00
test-uclass.c dm: rename device struct to udevice 2014-05-27 10:21:32 -04:00
test.dts dm: gpio: Add better functions to request GPIOs 2015-01-29 17:09:51 -07:00
ut.c dm: Add basic tests 2014-03-04 12:15:29 -05:00