blob: 95c45c24edb82adb294fe48c62ac12b0d5286187 [file] [log] [blame]
Simon Glass3e57ad92021-08-07 07:24:11 -06001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Sandbox driver for testing interrupts with of-platdata
4 *
5 * Copyright 2021 Google LLC
6 */
7
8#include <common.h>
9#include <dm.h>
10#include <irq.h>
11#include <asm/irq.h>
12
13static const struct udevice_id sandbox_irq_test_ids[] = {
14 { .compatible = "sandbox,irq-test" },
15 { }
16};
17
18U_BOOT_DRIVER(sandbox_irq_test) = {
19 .name = "sandbox_irq_test",
20 .id = UCLASS_MISC,
21 .of_match = sandbox_irq_test_ids,
22};