Alek Du | 8950778 | 2010-07-13 10:56:25 +0100 | [diff] [blame] | 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 |