diff options
Diffstat (limited to 'include/linux/intel_pmic_gpio.h')
-rw-r--r-- | include/linux/intel_pmic_gpio.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/intel_pmic_gpio.h b/include/linux/intel_pmic_gpio.h new file mode 100644 index 000000000000..920109a29191 --- /dev/null +++ b/include/linux/intel_pmic_gpio.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef LINUX_INTEL_PMIC_H | ||
2 | #define LINUX_INTEL_PMIC_H | ||
3 | |||
4 | struct intel_pmic_gpio_platform_data { | ||
5 | /* the first IRQ of the chip */ | ||
6 | unsigned irq_base; | ||
7 | /* number assigned to the first GPIO */ | ||
8 | unsigned gpio_base; | ||
9 | /* sram address for gpiointr register, the langwell chip will map | ||
10 | * the PMIC spi GPIO expander's GPIOINTR register in sram. | ||
11 | */ | ||
12 | unsigned gpiointr; | ||
13 | }; | ||
14 | |||
15 | #endif | ||