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

Simon Glass sjg at chromium.org
Mon Jan 26 21:10:12 CET 2015


On 25 January 2015 at 08:27, 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.
>
> Reviewed-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to -u-boot-dm


More information about the U-Boot mailing list