Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Stephen Warren and committed by
Linus Walleij
02ae6da2 fde04f41

+9
+9
include/linux/pinctrl/pinctrl.h
··· 72 72 * group selector @pins, and the size of the array in @num_pins 73 73 * @pin_dbg_show: optional debugfs display hook that will provide per-device 74 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 85 struct pinctrl_ops { 77 86 int (*get_groups_count) (struct pinctrl_dev *pctldev);