devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] WIP: generic OF pinmux binding
@ 2011-08-17 11:47 Jamie Iles
       [not found] ` <1313581648-22303-1-git-send-email-jamie-wmLquQDDieKakBO8gow8eQ@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jamie Iles @ 2011-08-17 11:47 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ, sshtylyov-Igf4POYTYCDQT0dZR+AlfA,
	konkers-z5hGa2qSFaRBDgjK7y7TUQ,
	marek.belisko-Re5JQEeQqe8AvxtiuMwx3w,
	linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	ccross-z5hGa2qSFaRBDgjK7y7TUQ

To avoid going too far in the wrong direction I thought I'd post what I
have so far for a generic pinmux binding.  Essentially it's just
Stephen's nvidia binding but with the nvidia specifics abstracted out so
the common loop can be used for other platforms.  This approach works
nicely for picoxcell too.

For more esoteric bindings, such as pull strength, these could be
handled in the platform specific configuration function.

This doesn't address the runtime muxing that LinusW's set of patches do,
and I'm not sure how to handle that.

Jamie Iles (1):
  of: add a generic pinmux helper

Stephen Warren (1):
  arm/tegra: Add device tree support to pinmux driver

 arch/arm/mach-tegra/pinmux.c |  240 ++++++++++++++++++++++++++++++++++++++++++
 drivers/of/Kconfig           |    5 +
 drivers/of/Makefile          |    1 +
 drivers/of/of_pinmux.c       |   80 ++++++++++++++
 include/linux/of_pinmux.h    |   67 ++++++++++++
 5 files changed, 393 insertions(+), 0 deletions(-)
 create mode 100644 drivers/of/of_pinmux.c
 create mode 100644 include/linux/of_pinmux.h

-- 
1.7.4.1

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

end of thread, other threads:[~2011-08-22 19:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17 11:47 [RFC PATCH 0/2] WIP: generic OF pinmux binding Jamie Iles
     [not found] ` <1313581648-22303-1-git-send-email-jamie-wmLquQDDieKakBO8gow8eQ@public.gmane.org>
2011-08-17 11:47   ` [RFC PATCH 1/2] of: add a generic pinmux helper Jamie Iles
2011-08-17 11:47   ` [RFC PATCH 2/2] arm/tegra: Add device tree support to pinmux driver Jamie Iles
2011-08-18  6:40   ` [RFC PATCH 0/2] WIP: generic OF pinmux binding Stephen Warren
2011-08-22 19:59   ` Stephen Warren
2011-08-17 13:49 ` Linus Walleij
2011-08-17 14:38 ` Shawn Guo

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).