blob: 39b888c40b3950b144c0b22ba9a7628052fab209 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef GPIO_REG_H
3#define GPIO_REG_H
4
5struct device;
6struct irq_domain;
7
8struct gpio_chip *gpio_reg_init(struct device *dev, void __iomem *reg,
9 int base, int num, const char *label, u32 direction, u32 def_out,
10 const char *const *names, struct irq_domain *irqdom, const int *irqs);
11
12int gpio_reg_resume(struct gpio_chip *gc);
13
David Brazdil0f672f62019-12-10 10:32:29 +000014#endif /* GPIO_REG_H */