diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-04-26 12:18:52 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-04-26 17:07:14 -0400 |
commit | 02ae6da28fb7aa31d8bf1972c99e83c58b684198 (patch) | |
tree | c8641b8e9417f7493edc9c8dc94587d15b24495d /include/linux/pinctrl | |
parent | fde04f419a230fb7f7dc018a9deca6f5d431831e (diff) |
pinctrl: add kerneldoc for pinctrl_ops device tree functions
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl')
-rw-r--r-- | include/linux/pinctrl/pinctrl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h index c22d0409d2ef..3b894a668d32 100644 --- a/include/linux/pinctrl/pinctrl.h +++ b/include/linux/pinctrl/pinctrl.h | |||
@@ -72,6 +72,15 @@ struct pinctrl_gpio_range { | |||
72 | * group selector @pins, and the size of the array in @num_pins | 72 | * group selector @pins, and the size of the array in @num_pins |
73 | * @pin_dbg_show: optional debugfs display hook that will provide per-device | 73 | * @pin_dbg_show: optional debugfs display hook that will provide per-device |
74 | * info for a certain pin in debugfs | 74 | * info for a certain pin in debugfs |
75 | * @dt_node_to_map: parse a device tree "pin configuration node", and create | ||
76 | * mapping table entries for it. These are returned through the @map and | ||
77 | * @num_maps output parameters. This function is optional, and may be | ||
78 | * omitted for pinctrl drivers that do not support device tree. | ||
79 | * @dt_free_map: free mapping table entries created via @dt_node_to_map. The | ||
80 | * top-level @map pointer must be freed, along with any dynamically | ||
81 | * allocated members of the mapping table entries themselves. This | ||
82 | * function is optional, and may be omitted for pinctrl drivers that do | ||
83 | * not support device tree. | ||
75 | */ | 84 | */ |
76 | struct pinctrl_ops { | 85 | struct pinctrl_ops { |
77 | int (*get_groups_count) (struct pinctrl_dev *pctldev); | 86 | int (*get_groups_count) (struct pinctrl_dev *pctldev); |