mfd: Support AB9540 ab8500 variant
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / mfd / abx500 / ab8500-gpio.h
blob2387c207ea86d5cc2cf5df7e8aa20e90c3ae2301
1 /*
2 * Copyright ST-Ericsson 2010.
4 * Author: Bibek Basu <bibek.basu@stericsson.com>
5 * Licensed under GPLv2.
6 */
8 #ifndef _AB8500_GPIO_H
9 #define _AB8500_GPIO_H
12 * Platform data to register a block: only the initial gpio/irq number.
13 * Array sizes are large enough to contain all AB8500 and AB9540 GPIO
14 * registers.
17 struct ab8500_gpio_platform_data {
18 int gpio_base;
19 u32 irq_base;
20 u8 config_reg[8];
23 #endif /* _AB8500_GPIO_H */