Merge tag 'rtc-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-2.6-microblaze.git] / include / linux / gpio / aspeed.h
1 #ifndef __GPIO_ASPEED_H
2 #define __GPIO_ASPEED_H
3
4 struct aspeed_gpio_copro_ops {
5         int (*request_access)(void *data);
6         int (*release_access)(void *data);
7 };
8
9 int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
10                                 u16 *vreg_offset, u16 *dreg_offset, u8 *bit);
11 int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
12 int aspeed_gpio_copro_set_ops(const struct aspeed_gpio_copro_ops *ops, void *data);
13
14
15 #endif /* __GPIO_ASPEED_H */