[U-Boot] [PATCH 2/7] scsi: add children devices binding

Simon Glass sjg at chromium.org
Sat Apr 1 04:21:41 UTC 2017


On 23 March 2017 at 03:29,  <make at marvell.com> wrote:
> From: Ken Ma <make at marvell.com>
>
> - When scsi controller acts as a bus, we need to bind its children
>   scsi devices(scsi hdd, cd, dvd, scanner) to their drivers as spi
>   controller binds spi flashes, so scsi-uclass's post bind function
>   calls dm_scan_fdt_dev() to bind scsi subnode devices;
> - When scsi controller is a Serial Attached SCSI, it can also work as
>   a pure controller as an on-board component on the motherboard, it may
>   has no subnodes in fdt, then dm_scan_fdt_dev() does nothing and has
>   no effect.
>
> Signed-off-by: Ken Ma <make at marvell.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Reviewed-on: http://vgitil04.il.marvell.com:8080/35425
> Tested-by: iSoC Platform CI <ykjenk at marvell.com>
> Reviewed-by: Omri Itach <omrii at marvell.com>
> Reviewed-by: Kostya Porotchkin <kostap at marvell.com>
> ---
>  drivers/block/scsi-uclass.c | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list