1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * linux/drivers/mfd/lpc_ich.h 4 * 5 * Copyright (c) 2012 Extreme Engineering Solution, Inc. 6 * Author: Aaron Sierra <asierra@xes-inc.com> 7 */ 8 #ifndef LPC_ICH_H 9 #define LPC_ICH_H 10 11 #include <linux/platform_data/x86/spi-intel.h> 12 13 /* GPIO resources */ 14 #define ICH_RES_GPIO 0 15 #define ICH_RES_GPE0 1 16 17 /* GPIO compatibility */ 18 enum lpc_gpio_versions { 19 ICH_I3100_GPIO, 20 ICH_V5_GPIO, 21 ICH_V6_GPIO, 22 ICH_V7_GPIO, 23 ICH_V9_GPIO, 24 ICH_V10CORP_GPIO, 25 ICH_V10CONS_GPIO, 26 AVOTON_GPIO, 27 }; 28 29 struct lpc_ich_gpio_info; 30 31 struct lpc_ich_info { 32 char name[32]; 33 unsigned int iTCO_version; 34 enum lpc_gpio_versions gpio_version; 35 enum intel_spi_type spi_type; 36 const struct lpc_ich_gpio_info *gpio_info; 37 u8 use_gpio; 38 }; 39 40 #endif 41
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.