On 11 May 2016 at 15:26, Stephen Warren <[email protected]> wrote: > From: Stephen Warren <[email protected]> > > This will allow a driver's bind function to use the driver data. One > example is the Tegra186 GPIO driver, which instantiates child devices > for each of its GPIO ports, yet supports two different HW instances each > with a different set of ports, and identified by the udevice_id .data > field. > > Signed-off-by: Stephen Warren <[email protected]> > --- > v2: > * Introduce a separate function for the new functionality, rather than > modifying device_bind(). > > This patch is a dependency for the upcoming Tegra186 GPIO driver too. > --- > doc/driver-model/README.txt | 23 ++++++++++++++--------- > drivers/core/device.c | 25 ++++++++++++++++++++++--- > drivers/core/lists.c | 4 ++-- > include/dm/device-internal.h | 24 ++++++++++++++++++++++++ > 4 files changed, 62 insertions(+), 14 deletions(-)
Thanks. Acked-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

