u-boot-brain/drivers/core
Stephen Warren 9fdfadf8fc dm: core: allow drivers to refuse to bind
In some cases, drivers may not want to bind to a device. Allow bind() to
return -ENODEV in this case, and don't treat this as an error. This can
be useful in situations where some information source other than the DT
node's main status property indicates whether the device should be
enabled, for example other DT properties might indicate this, or the
driver might query non-DT sources such as system fuses or a version number
register.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-05-17 09:54:43 -06:00
..
device-remove.c Revert "dm: Export device_remove_children / device_unbind_children" 2015-11-19 20:27:51 -07:00
device.c dm: core: Add dev_get_addr_ptr() to return a pointer to the reg address 2016-04-25 07:30:16 +02:00
devres.c devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
Kconfig spl: dm: Add SPL_DM_SEQ_ALIAS config option 2016-01-13 13:20:02 +01:00
lists.c dm: core: allow drivers to refuse to bind 2016-05-17 09:54:43 -06:00
Makefile dm: core: Add SPL Kconfig for REGMAP and SYSCON 2015-12-01 08:07:22 -07:00
regmap.c dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
root.c dm: core: Add option to configure an offset for the address translation 2016-01-12 10:19:09 -07:00
simple-bus.c dm: core: make simple-bus compatible to simple-mfd 2016-03-14 15:34:50 -06:00
syscon-uclass.c syscon: Avoid returning a device on failure 2016-03-17 10:27:24 +08:00
uclass.c dm: core: Add uclass_first_device_err() to return a valid device 2016-03-14 15:34:50 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00