From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Thu, 22 Jan 2015 19:25:35 +0900 Subject: [U-Boot] [PATCH v2 08/26] dm: core: Allow uclasses to specific the platdata for a device's children In-Reply-To: <1421723575-4532-9-git-send-email-sjg@chromium.org> References: <1421723575-4532-1-git-send-email-sjg@chromium.org> <1421723575-4532-9-git-send-email-sjg@chromium.org> Message-ID: <20150122192535.199C.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 > --- The code looks good, so, Reviewed-by: Masahiro Yamada