diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-25 08:27:01 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:54 -0700 |
commit | cdc133bde9dd221319b9cf7fd99fcb4da8ba195c (patch) | |
tree | daef0d65d0107aa4b93d3611f217947a6cf502e8 /include/dm/uclass-internal.h | |
parent | f8a85449ef3e0963add728815771ccc09aa99875 (diff) | |
download | u-boot-imx-cdc133bde9dd221319b9cf7fd99fcb4da8ba195c.zip u-boot-imx-cdc133bde9dd221319b9cf7fd99fcb4da8ba195c.tar.gz u-boot-imx-cdc133bde9dd221319b9cf7fd99fcb4da8ba195c.tar.bz2 |
dm: core: Allow parents to have platform data for their children
For buses it is common for parents to need to know the address of the child
on the bus, the bus speed to use for that child, and other information. This
can be provided in platform data attached to each child.
Add driver model support for this, including auto-allocation which can be
requested using a new property to specify the size of the data.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'include/dm/uclass-internal.h')
0 files changed, 0 insertions, 0 deletions