M7350/kernel/include/linux/mfd/abx500/ab8500-gpio.h

24 lines
446 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/*
* Copyright ST-Ericsson 2010.
*
* Author: Bibek Basu <bibek.basu@stericsson.com>
* Licensed under GPLv2.
*/
#ifndef _AB8500_GPIO_H
#define _AB8500_GPIO_H
/*
* Platform data to register a block: only the initial gpio/irq number.
* Array sizes are large enough to contain all AB8500 and AB9540 GPIO
* registers.
*/
struct ab8500_gpio_platform_data {
int gpio_base;
u32 irq_base;
u8 config_reg[8];
};
#endif /* _AB8500_GPIO_H */