The discovered bit in PGCCSR register indicates if the device has been
[linux-2.6/next.git] / include / linux / intel_pmic_gpio.h
blob920109a29191935e88ed1532423803bcb74c17a2
1 #ifndef LINUX_INTEL_PMIC_H
2 #define LINUX_INTEL_PMIC_H
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.
12 unsigned gpiointr;
15 #endif