xref: /openbmc/linux/include/linux/gpio/gpio-reg.h (revision 3f58ff6b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef GPIO_REG_H
3 #define GPIO_REG_H
4 
5 #include <linux/types.h>
6 
7 struct device;
8 struct irq_domain;
9 
10 struct gpio_chip;
11 
12 struct gpio_chip *gpio_reg_init(struct device *dev, void __iomem *reg,
13 	int base, int num, const char *label, u32 direction, u32 def_out,
14 	const char *const *names, struct irq_domain *irqdom, const int *irqs);
15 
16 int gpio_reg_resume(struct gpio_chip *gc);
17 
18 #endif /* GPIO_REG_H */
19