summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-05-11 15:26:24 -0600
committerSimon Glass <sjg@chromium.org>2016-05-26 20:48:31 -0600
commitdaac3bfee57247013cb8373683e9babb191abd75 (patch)
treeffcbb2f6cd176d906e2cfbc667a7873402ac850e /drivers/gpio
parent6523dbf7cce8d8c903346f756e0e41e46ce6d6b9 (diff)
downloadblackbird-obmc-uboot-daac3bfee57247013cb8373683e9babb191abd75.tar.gz
blackbird-obmc-uboot-daac3bfee57247013cb8373683e9babb191abd75.zip
dm: allow setting driver_data before/during bind
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 <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud