[PATCH v3 2/3] test: Add tests for the extcon

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


On Fri, 21 Apr 2023 at 01:05, Svyatoslav Ryhel <clamor95 at gmail.com> wrote:
>
> Provide tests to the simple extcon device.
>
> Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
> ---
>  arch/sandbox/dts/test.dts       |  4 ++++
>  drivers/extcon/Kconfig          |  7 +++++++
>  drivers/extcon/Makefile         |  1 +
>  drivers/extcon/extcon-sandbox.c | 17 +++++++++++++++++
>  test/dm/Makefile                |  1 +
>  test/dm/extcon.c                | 21 +++++++++++++++++++++
>  6 files changed, 51 insertions(+)
>  create mode 100644 drivers/extcon/extcon-sandbox.c
>  create mode 100644 test/dm/extcon.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list