1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * DaVinci GPIO Platform Related Defines
5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
8 #ifndef __DAVINCI_GPIO_PLATFORM_H
9 #define __DAVINCI_GPIO_PLATFORM_H
11 struct davinci_gpio_platform_data {
18 /* Convert GPIO signal to GPIO pin number */
19 #define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio))