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