[U-Boot] [PATCH v2 08/26] dm: core: Allow uclasses to specific the platdata for a device's children

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Jan 22 11:25:35 CET 2015


Hi Simon,


The subject

dm: core: Allow uclasses to specific the platdata for a device's children


Maybe a typo,  s/specific/specify/
although English is slightly out of my realm...



On Mon, 19 Jan 2015 20:12:37 -0700
Simon Glass <sjg at chromium.org> wrote:

> 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.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---


The code looks good, so,

Reviewed-by: Masahiro Yamada <yamada.m at jp.panasonic.com>



More information about the U-Boot mailing list