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 /drivers/extcon/extcon-sandbox.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 'drivers/extcon/extcon-sandbox.c')
-rw-r--r-- | drivers/extcon/extcon-sandbox.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-sandbox.c b/drivers/extcon/extcon-sandbox.c new file mode 100644 index 00000000000..ab6a6c1cfdc --- /dev/null +++ b/drivers/extcon/extcon-sandbox.c @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com> + */ + +#include <dm.h> + +static const struct udevice_id sandbox_extcon_ids[] = { + { .compatible = "sandbox,extcon" }, + { /* sentinel */ } +}; + +U_BOOT_DRIVER(extcon_sandbox) = { + .name = "extcon_sandbox", + .id = UCLASS_EXTCON, + .of_match = sandbox_extcon_ids, +}; |