linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctrl: common handling of generic pinconfig props in dt
@ 2013-06-08 23:59 Heiko Stübner
  2013-06-08 23:59 ` [PATCH 1/2] pinctrl: add devicetree constants for simple generic pnconfig options Heiko Stübner
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Heiko Stübner @ 2013-06-08 23:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Linus,

following your suggestions for a common handling of things like pulls in dt,
I've come up with the following solution - hopefully I've gotten the correct
meaning of your explanaitions.

It handles all the pinconfigs that either ignore the argument, or have very
simple one, like PIN_CONFIG_OUTPUT does.

I've also attached my current rockchip pinctrl driver to show how it is using
this currently.


Heiko Stuebner (2):
  pinctrl: add devicetree constants for simple generic pnconfig options
  pinctrl: add function to separate combined pinconfig values

 .../bindings/pinctrl/pinctrl-bindings.txt          |    9 +++
 drivers/pinctrl/pinconf-generic.c                  |   61 ++++++++++++++++++++
 drivers/pinctrl/pinconf.h                          |    6 ++
 include/dt-bindings/pinctrl/pinconfig.h            |   37 ++++++++++++
 4 files changed, 113 insertions(+), 0 deletions(-)
 create mode 100644 include/dt-bindings/pinctrl/pinconfig.h

-- 
1.7.2.3

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

end of thread, other threads:[~2013-06-11  8:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-08 23:59 [PATCH 0/2] pinctrl: common handling of generic pinconfig props in dt Heiko Stübner
2013-06-08 23:59 ` [PATCH 1/2] pinctrl: add devicetree constants for simple generic pnconfig options Heiko Stübner
2013-06-09  0:00 ` [PATCH 2/2] pinctrl: add function to separate combined pinconfig values Heiko Stübner
2013-06-09  0:01 ` [EXAMPLE PATCH] pinctrl: add pinctrl driver for Rockchip SoCs Heiko Stübner
2013-06-10 12:55   ` Linus Walleij
2013-06-10 13:00   ` Linus Walleij
2013-06-10 13:10     ` Heiko Stübner
2013-06-10 13:35       ` [PATCH v2] " Heiko Stübner
2013-06-10 13:40       ` [EXAMPLE PATCH] " Linus Walleij
2013-06-10 18:23     ` Stephen Warren
2013-06-10 19:53       ` Rob Herring
2013-06-11  8:50       ` Linus Walleij
2013-06-10 12:52 ` [PATCH 0/2] pinctrl: common handling of generic pinconfig props in dt Linus Walleij
2013-06-10 13:06   ` Heiko Stübner
2013-06-10 13:39     ` Linus Walleij
2013-06-10 13:54       ` Heiko Stübner
2013-06-10 14:08         ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).