1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * timb_gpio.h timberdale FPGA GPIO driver, platform data definition
4 * Copyright (c) 2009 Intel Corporation
7 #ifndef _LINUX_TIMB_GPIO_H
8 #define _LINUX_TIMB_GPIO_H
11 * struct timbgpio_platform_data - Platform data of the Timberdale GPIO driver
12 * @gpio_base The number of the first GPIO pin, set to -1 for
13 * dynamic number allocation.
14 * @nr_pins Number of pins that is supported by the hardware (1-32)
15 * @irq_base If IRQ is supported by the hardware, this is the base
16 * number of IRQ:s. One IRQ per pin will be used. Set to
17 * -1 if IRQ:s is not supported.
19 struct timbgpio_platform_data {