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