On Mon, 13 May 2019 at 08:30, Jean-Jacques Hiblot <[email protected]> wrote:
>
> 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 <[email protected]>
>
> ---
>
> Changes in v2:
> Add a test for the NOP uclass
>
>  arch/sandbox/dts/test.dts | 12 +++++++
>  drivers/core/uclass.c     |  5 +++
>  include/dm/uclass-id.h    |  1 +
>  test/dm/Makefile          |  1 +
>  test/dm/nop.c             | 73 +++++++++++++++++++++++++++++++++++++++
>  5 files changed, 92 insertions(+)
>  create mode 100644 test/dm/nop.c

Reviewed-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to