aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/irq_sandbox_test.c
blob: 95c45c24edb82adb294fe48c62ac12b0d5286187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0
/*
 * Sandbox driver for testing interrupts with of-platdata
 *
 * Copyright 2021 Google LLC
 */

#include <common.h>
#include <dm.h>
#include <irq.h>
#include <asm/irq.h>

static const struct udevice_id sandbox_irq_test_ids[] = {
	{ .compatible = "sandbox,irq-test" },
	{ }
};

U_BOOT_DRIVER(sandbox_irq_test) = {
	.name = "sandbox_irq_test",
	.id = UCLASS_MISC,
	.of_match = sandbox_irq_test_ids,
};