aboutsummaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-sandbox.c
blob: ab6a6c1cfdc73e800b9f7a8e27c3d3f4c67ee08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,
};