mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-08 00:23:23 -04:00
Register the GPIO pin range, and request and free GPIO pins using the
pinctrl API. The pctl_name platform data member should be used by
platform devices to point out which pinctrl device to use.
Follows same style as "dc3465a
gpio-rcar: Add pinctrl support",
by Laurent Pinchart, thanks to him.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 lines
203 B
C
11 lines
203 B
C
#ifndef __GPIO_EM_H__
|
|
#define __GPIO_EM_H__
|
|
|
|
struct gpio_em_config {
|
|
unsigned int gpio_base;
|
|
unsigned int irq_base;
|
|
unsigned int number_of_pins;
|
|
const char *pctl_name;
|
|
};
|
|
|
|
#endif /* __GPIO_EM_H__ */
|