* [PATCH] pinctrl: add kerneldoc for pinctrl_ops device tree functions
@ 2012-04-26 16:18 Stephen Warren
2012-04-26 21:08 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Warren @ 2012-04-26 16:18 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-kernel, Stephen Warren
From: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
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 c22d040..3b894a6 100644
--- a/include/linux/pinctrl/pinctrl.h
+++ b/include/linux/pinctrl/pinctrl.h
@@ -72,6 +72,15 @@ struct pinctrl_gpio_range {
* group selector @pins, and the size of the array in @num_pins
* @pin_dbg_show: optional debugfs display hook that will provide per-device
* info for a certain pin in debugfs
+ * @dt_node_to_map: parse a device tree "pin configuration node", and create
+ * mapping table entries for it. These are returned through the @map and
+ * @num_maps output parameters. This function is optional, and may be
+ * omitted for pinctrl drivers that do not support device tree.
+ * @dt_free_map: free mapping table entries created via @dt_node_to_map. The
+ * top-level @map pointer must be freed, along with any dynamically
+ * allocated members of the mapping table entries themselves. This
+ * function is optional, and may be omitted for pinctrl drivers that do
+ * not support device tree.
*/
struct pinctrl_ops {
int (*get_groups_count) (struct pinctrl_dev *pctldev);
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: add kerneldoc for pinctrl_ops device tree functions
2012-04-26 16:18 [PATCH] pinctrl: add kerneldoc for pinctrl_ops device tree functions Stephen Warren
@ 2012-04-26 21:08 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2012-04-26 21:08 UTC (permalink / raw)
To: Stephen Warren; +Cc: linux-kernel, Stephen Warren
On Thu, Apr 26, 2012 at 6:18 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Thanks! Applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-26 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 16:18 [PATCH] pinctrl: add kerneldoc for pinctrl_ops device tree functions Stephen Warren
2012-04-26 21:08 ` Linus Walleij
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.