linux/include/linux/platform_data/gpio/gpio-amd-fch.h

/* SPDX-License-Identifier: GPL-2.0+ */

/*
 * AMD FCH gpio driver platform-data
 *
 * Copyright (C) 2018 metux IT consult
 * Author: Enrico Weigelt <[email protected]>
 *
 */

#ifndef __LINUX_PLATFORM_DATA_GPIO_AMD_FCH_H
#define __LINUX_PLATFORM_DATA_GPIO_AMD_FCH_H

#define AMD_FCH_GPIO_DRIVER_NAME

/*
 * gpio register index definitions
 */
#define AMD_FCH_GPIO_REG_GPIO49
#define AMD_FCH_GPIO_REG_GPIO50
#define AMD_FCH_GPIO_REG_GPIO51
#define AMD_FCH_GPIO_REG_GPIO55_DEVSLP0
#define AMD_FCH_GPIO_REG_GPIO57
#define AMD_FCH_GPIO_REG_GPIO58
#define AMD_FCH_GPIO_REG_GPIO59_DEVSLP1
#define AMD_FCH_GPIO_REG_GPIO64
#define AMD_FCH_GPIO_REG_GPIO68
#define AMD_FCH_GPIO_REG_GPIO66_SPKR
#define AMD_FCH_GPIO_REG_GPIO71
#define AMD_FCH_GPIO_REG_GPIO32_GE1
#define AMD_FCH_GPIO_REG_GPIO33_GE2
#define AMT_FCH_GPIO_REG_GEVT22

/*
 * struct amd_fch_gpio_pdata - GPIO chip platform data
 * @gpio_num: number of entries
 * @gpio_reg: array of gpio registers
 * @gpio_names: array of gpio names
 */
struct amd_fch_gpio_pdata {};

#endif /* __LINUX_PLATFORM_DATA_GPIO_AMD_FCH_H */