rv1126-uboot/include/dm
Simon Glass 440e24d771 UPSTREAM: 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.

Change-Id: Id221809d6f9f818b52a5bf88f4e12d409a070f05
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 6e43d1b19982b1756b7c607569d1778e556d6577)
2018-02-11 19:58:01 +08:00
..
platform_data
device-internal.h
device.h UPSTREAM: dm: define dev_*() log functions in DM header 2018-01-17 15:27:28 +08:00
fdtaddr.h
lists.h
of.h
of_access.h
of_addr.h
of_extra.h
ofnode.h core: add ofnode_get_by_phandle() api 2018-02-08 21:56:47 +08:00
pinctrl.h
platdata.h UPSTREAM: dm: core: remove orphaned parameter description in platdata.h 2018-01-17 15:27:28 +08:00
read.h core: read: fix some device may not have of node 2018-01-26 08:37:05 +08:00
root.h
test.h
uclass-id.h
uclass-internal.h
uclass.h UPSTREAM: dm: core: Add a function to look up a uclass by name 2018-02-11 19:58:01 +08:00
util.h UPSTREAM: dm: replace dm_dbg() with pr_debug() 2018-01-17 15:27:28 +08:00