Re: [U-Boot] [PATCH v2 07/26] dm: core: Allow parents to have platform data for their children

2015-01-21 Thread Masahiro Yamada
Hi Simon, On Mon, 19 Jan 2015 20:12:36 -0700 Simon Glass s...@chromium.org wrote: diff --git a/drivers/core/device.c b/drivers/core/device.c index 23ee771..0682e2e 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -80,6 +80,18 @@ int device_bind(struct udevice *parent,

[U-Boot] [PATCH v2 07/26] dm: core: Allow parents to have platform data for their children

2015-01-19 Thread Simon Glass
For buses it is common for parents to need to know the address of the child on the bus, the bus speed to use for that child, and other information. This can be provided in platform data attached to each child. Add driver model support for this, including auto-allocation which can be requested