dm: extcon: add an uclass for extcon
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 25 Apr 2023 07:57:20 +0000 (10:57 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 2 May 2023 18:23:34 +0000 (14:23 -0400)
commit5f650fa6ad5d31ef5d8c332be0991bd730f552d4
treef7a025df4780504e25cbc6931fd4a780850061a5
parent021e303492ccfdf58425bedb13c1621367cc5cc7
dm: extcon: add an uclass for extcon

Add a new simple uclass for extcon. Currently all setup is done
in the probe. Uclass struct and ops are empty for now.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/Kconfig
drivers/Makefile
drivers/extcon/Kconfig [new file with mode: 0644]
drivers/extcon/Makefile [new file with mode: 0644]
drivers/extcon/extcon-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/extcon.h [new file with mode: 0644]