u-boot/include/dm
Simon Glass 6e43d1b199 dm: core: Add a function to look up a uclass by name
Each uclass has a driver name which we can use to look up the uclass. This
is useful for logging, where the uclass ID is used as the category.

Add a function to handle this, as well as a test.

Signed-off-by: Simon Glass <sjg@chromium.org>
2018-02-03 10:08:40 -07:00
..
platform_data serial: bcm283x_mu: Remove support for post-init disabling 2018-01-28 12:27:33 -05:00
device-internal.h dm: core: Add a comment about the device_remove() flags 2017-08-17 16:44:16 +09:00
device.h dm: define dev_*() log functions in DM header 2017-10-04 12:00:20 -04:00
fdtaddr.h dm: core: Add livetree address functions 2017-06-01 07:03:07 -06:00
lists.h dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
of.h dm: Add more livetree helpers and definitions 2017-06-01 07:03:12 -06:00
of_access.h dm: core: add ofnode_count_phandle_with_args() 2017-07-28 23:34:08 +02:00
of_addr.h dm: core: Add livetree address functions 2017-06-01 07:03:07 -06:00
of_extra.h dm: core: Add a place to put extra device-tree reading functions 2017-06-01 07:03:07 -06:00
ofnode.h core: Add {ofnode, dev}_translate_address functions 2018-01-21 10:01:02 -07:00
pinctrl.h dm: pinctrl: sync with Linux to use pin_config_param 2018-01-21 10:01:02 -07:00
platdata.h dm: core: remove orphaned parameter description in platdata.h 2018-01-01 09:04:19 -05:00
read.h include: dm: Fix 'devioe'/'devuce' typos 2018-01-28 09:36:28 -05:00
root.h dm: core: add clocks node scan 2017-09-11 21:43:58 -06:00
test.h dm: core: Run tests with both livetree and flat tree 2017-06-01 07:03:10 -06:00
uclass-id.h efi_driver: EFI block driver 2018-01-22 23:09:14 +01:00
uclass-internal.h dm: core: Add a way to find a device by ofnode 2017-06-01 07:03:08 -06:00
uclass.h dm: core: Add a function to look up a uclass by name 2018-02-03 10:08:40 -07:00
util.h dm: replace dm_dbg() with pr_debug() 2017-10-04 12:00:21 -04:00