[U-Boot] [PATCH v4 03/29] dm: core: Allow parents to pass data to children during probe

Simon Glass sjg at chromium.org
Thu Oct 23 05:03:08 CEST 2014


On 13 October 2014 23:41, Simon Glass <sjg at 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 at chromium.org>
> Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki at 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.


More information about the U-Boot mailing list