drivers: Add a new framework for multiplexer devices
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 16 Oct 2020 10:46:30 +0000 (16:16 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 28 Oct 2020 15:48:32 +0000 (11:48 -0400)
commit0ad40b2463053947da052e74be72938fa5e4735e
treec91cb3fa5a71532fa079bd9d8aaca83a8fecf32b
parent39dd7c1d6bc94e6381ef7418edd8206cae24377f
drivers: Add a new framework for multiplexer devices

Add a new subsystem that handles multiplexer controllers. The API is the
same as in Linux.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
[trini: Update some error calls to use different functions or pass
        correct arguments]
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/Kconfig
drivers/Makefile
drivers/mux/Kconfig [new file with mode: 0644]
drivers/mux/Makefile [new file with mode: 0644]
drivers/mux/mux-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/dt-bindings/mux/mux.h [new file with mode: 0644]
include/mux-internal.h [new file with mode: 0644]
include/mux.h [new file with mode: 0644]