
23 Oct
2014
23 Oct
'14
5:03 a.m.
On 13 October 2014 23:41, Simon Glass sjg@chromium.org wrote:
Buses sometimes want to pass data to their children when they are probed. For example, a SPI bus may want to tell the slave device about the chip select it is connected to.
Add a new function to permit the parent data to be supplied to the child.
Signed-off-by: Simon Glass sjg@chromium.org Acked-by: Jagannadha Sutradharudu Teki jagannadh.teki@gmail.com
Changes in v4: None Changes in v3:
- Add new patch to allow parents to pass data to children during probe
Changes in v2: None
drivers/core/device.c | 9 ++++++++- include/dm/device-internal.h | 13 +++++++++++++ include/dm/device.h | 4 ++++ 3 files changed, 25 insertions(+), 1 deletion(-)
Applied to u-boot-dm/master.