.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Interface the pinconfig portions of the pinctrl subsystem |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * This interface is used in the core to keep track of pins. |
---|
7 | 8 | * |
---|
8 | 9 | * Author: Linus Walleij <linus.walleij@linaro.org> |
---|
9 | | - * |
---|
10 | | - * License terms: GNU General Public License (GPL) version 2 |
---|
11 | 10 | */ |
---|
12 | 11 | #ifndef __LINUX_PINCTRL_PINCONF_H |
---|
13 | 12 | #define __LINUX_PINCTRL_PINCONF_H |
---|
14 | 13 | |
---|
15 | | -#ifdef CONFIG_PINCONF |
---|
16 | | - |
---|
17 | | -#include <linux/pinctrl/machine.h> |
---|
| 14 | +#include <linux/types.h> |
---|
18 | 15 | |
---|
19 | 16 | struct pinctrl_dev; |
---|
20 | 17 | struct seq_file; |
---|
.. | .. |
---|
31 | 28 | * @pin_config_group_get: get configurations for an entire pin group; should |
---|
32 | 29 | * return -ENOTSUPP and -EINVAL using the same rules as pin_config_get. |
---|
33 | 30 | * @pin_config_group_set: configure all pins in a group |
---|
34 | | - * @pin_config_dbg_parse_modify: optional debugfs to modify a pin configuration |
---|
35 | 31 | * @pin_config_dbg_show: optional debugfs display hook that will provide |
---|
36 | 32 | * per-device info for a certain pin in debugfs |
---|
37 | 33 | * @pin_config_group_dbg_show: optional debugfs display hook that will provide |
---|
.. | .. |
---|
57 | 53 | unsigned selector, |
---|
58 | 54 | unsigned long *configs, |
---|
59 | 55 | unsigned num_configs); |
---|
60 | | - int (*pin_config_dbg_parse_modify) (struct pinctrl_dev *pctldev, |
---|
61 | | - const char *arg, |
---|
62 | | - unsigned long *config); |
---|
63 | 56 | void (*pin_config_dbg_show) (struct pinctrl_dev *pctldev, |
---|
64 | 57 | struct seq_file *s, |
---|
65 | 58 | unsigned offset); |
---|
.. | .. |
---|
70 | 63 | struct seq_file *s, |
---|
71 | 64 | unsigned long config); |
---|
72 | 65 | }; |
---|
73 | | - |
---|
74 | | -#endif |
---|
75 | 66 | |
---|
76 | 67 | #endif /* __LINUX_PINCTRL_PINCONF_H */ |
---|