
On Fri, 21 Apr 2023 at 01:05, Svyatoslav Ryhel clamor95@gmail.com wrote:
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
drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/extcon/Kconfig | 15 +++++++++++++++ drivers/extcon/Makefile | 5 +++++ drivers/extcon/extcon-uclass.c | 16 ++++++++++++++++ include/dm/uclass-id.h | 1 + include/extcon.h | 19 +++++++++++++++++++ 7 files changed, 59 insertions(+) create mode 100644 drivers/extcon/Kconfig create mode 100644 drivers/extcon/Makefile create mode 100644 drivers/extcon/extcon-uclass.c create mode 100644 include/extcon.h
Reviewed-by: Simon Glass sjg@chromium.org