diff options
author | Tom Rini <trini@konsulko.com> | 2023-05-03 09:23:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-05-03 09:23:21 -0400 |
commit | 1807c0c70a73c7697f32c04cad20ea9cd11b248e (patch) | |
tree | 258d2fa7d274ed5048640ceef121841d49494784 /test/dm/extcon.c | |
parent | 021e303492ccfdf58425bedb13c1621367cc5cc7 (diff) | |
parent | 8144210e750d42941eb8028fdfc4e027ef043d8f (diff) |
Merge branch '2023-05-02-assorted-platform-updates-and-additions'
- Updates for starqltechn and other qualcomm platforms, hi3798mv200,
Broadcom Northstar, and mediatek platforms
- Drop omap5_uevm, and assorted TI platform updates
- Add MAX14526
Diffstat (limited to 'test/dm/extcon.c')
-rw-r--r-- | test/dm/extcon.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/dm/extcon.c b/test/dm/extcon.c new file mode 100644 index 00000000000..6a4e22bfdc5 --- /dev/null +++ b/test/dm/extcon.c @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Svyatoslav Ryhel <clamor95@gmail.com> + */ + +#include <dm.h> +#include <dm/test.h> +#include <extcon.h> +#include <test/test.h> +#include <test/ut.h> + +static int dm_test_extcon(struct unit_test_state *uts) +{ + struct udevice *dev; + + ut_assertok(uclass_get_device_by_name(UCLASS_EXTCON, "extcon", &dev)); + + return 0; +} + +DM_TEST(dm_test_extcon, UT_TESTF_SCAN_FDT); |