]> git.baikalelectronics.ru Git - uboot.git/commit
dm: Add a No-op uclass
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 5 Jul 2019 07:33:57 +0000 (09:33 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 5 Jul 2019 12:19:41 +0000 (14:19 +0200)
commitbdb8ef9ad75ba71e3b0af7e8801a4e1885aac2ce
treec7201a3711207f983079e3e43e1ca09935428359
parent98fc9bbf71431a260ac7d081ac01a9b026fd695d
dm: Add a No-op uclass

This uclass is intended for devices that do not need any features from the
uclass, including binding children.
This will typically be used by devices that are used to bind child devices
but do not use dm_scan_fdt_dev() to do it. That is for example the case of
several USB wrappers that have 2 child devices (1 for device and 1 for
host) but bind only one at a any given time.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/core/uclass.c
include/dm/uclass-id.h
test/dm/Makefile
test/dm/nop.c [new file with mode: 0644]