[PATCH v3 1/3] dm: extcom: add an uclass for extcon

Simon Glass sjg at chromium.org
Mon Apr 24 21:42:15 CEST 2023


On Fri, 21 Apr 2023 at 01:05, Svyatoslav Ryhel <clamor95 at 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 at 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 at chromium.org>


More information about the U-Boot mailing list