All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] pinctrl: add helpers for group based drivers
@ 2014-10-20  8:04 Antoine Tenart
  2014-10-20  8:04 ` [PATCH 1/4] Documentation: bindings: pinctrl: document the generic groups property Antoine Tenart
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Antoine Tenart @ 2014-10-20  8:04 UTC (permalink / raw)
  To: linus.walleij, sebastian.hesselbarth; +Cc: Antoine Tenart, linux-kernel

Linus, Sebastian,

As discussed earlier this year[1], this series introduce helpers for group based
pinctrl drivers:
- of_pinctrl_utils_read_function(): reads the function name of a
  specified node, and gets the number of groups it should be
  applied to.
- of_pinctrl_for_each_function_group(): navigates through the groups of
  a specified node, reading at each iteration the name of the current
  group.

A generic function to parse nodes for group based drivers is also added, and
then used in the Berlin pinctrl driver:
- pinconf_generic_function_groups_dt_node_to_map()

[1] https://lkml.org/lkml/2014/5/17/38


Antoine Tenart (4):
  Documentation: bindings: pinctrl: document the generic groups property
  pinctrl: add helpers for group based drivers
  pinctrl: add a generic way to map node to map for group based drivers
  pinctrl: berlin: use the generic node to map function

 .../bindings/pinctrl/pinctrl-bindings.txt          |  1 +
 drivers/pinctrl/berlin/Kconfig                     |  1 +
 drivers/pinctrl/berlin/berlin.c                    | 53 +---------------------
 drivers/pinctrl/pinconf-generic.c                  | 36 +++++++++++++++
 drivers/pinctrl/pinctrl-utils.c                    | 26 +++++++++++
 drivers/pinctrl/pinctrl-utils.h                    |  9 ++++
 include/linux/pinctrl/pinconf-generic.h            |  3 ++
 7 files changed, 78 insertions(+), 51 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-11-03 13:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20  8:04 [PATCH 0/4] pinctrl: add helpers for group based drivers Antoine Tenart
2014-10-20  8:04 ` [PATCH 1/4] Documentation: bindings: pinctrl: document the generic groups property Antoine Tenart
2014-10-28 15:29   ` Linus Walleij
2014-10-28 15:33     ` Linus Walleij
2014-10-20  8:04 ` [PATCH 2/4] pinctrl: add helpers for group based drivers Antoine Tenart
2014-10-28 15:38   ` Linus Walleij
2014-10-30 19:48     ` Antoine Tenart
2014-11-03 13:25       ` Linus Walleij
2014-10-20  8:04 ` [PATCH 3/4] pinctrl: add a generic way to map node to map " Antoine Tenart
2014-10-28 15:40   ` Linus Walleij
2014-10-20  8:04 ` [PATCH 4/4] pinctrl: berlin: use the generic node to map function Antoine Tenart
2014-10-20  8:04   ` Antoine Tenart
2014-10-28 15:41   ` Linus Walleij
2014-10-28 15:41     ` Linus Walleij
2014-10-25 10:44 ` [PATCH 0/4] pinctrl: add helpers for group based drivers Sebastian Hesselbarth

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.