blob: 2387c207ea86d5cc2cf5df7e8aa20e90c3ae2301 [file] [log] [blame]
Bibek Basu0cb3fcd2011-02-09 11:02:35 +05301/*
2 * Copyright ST-Ericsson 2010.
3 *
4 * Author: Bibek Basu <bibek.basu@stericsson.com>
5 * Licensed under GPLv2.
6 */
7
8#ifndef _AB8500_GPIO_H
9#define _AB8500_GPIO_H
10
11/*
12 * Platform data to register a block: only the initial gpio/irq number.
Linus Walleijd6255522012-02-20 21:42:24 +010013 * Array sizes are large enough to contain all AB8500 and AB9540 GPIO
14 * registers.
Bibek Basu0cb3fcd2011-02-09 11:02:35 +053015 */
16
17struct ab8500_gpio_platform_data {
18 int gpio_base;
19 u32 irq_base;
Linus Walleijd6255522012-02-20 21:42:24 +010020 u8 config_reg[8];
Bibek Basu0cb3fcd2011-02-09 11:02:35 +053021};
22
23#endif /* _AB8500_GPIO_H */