linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] Adding support for NI Ettus Research USRP E3XX pinconf
@ 2015-11-05 23:41 Moritz Fischer
  2015-11-05 23:41 ` [RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf Moritz Fischer
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Moritz Fischer @ 2015-11-05 23:41 UTC (permalink / raw)
  To: linus.walleij
  Cc: linux-kernel, linux-gpio, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, devicetree, Moritz Fischer

Hi all,

I've been hacking on this pinctrl driver to control pins on
our FPGA idle image to use different daughterboards using
different pin configurations.

I send this as an RFC because it's still pretty early stage,
and while it seems to work fine I'm unsure about some of the
semantics (as always, there will probably other changes required).

I'm planning to use this pinctrl driver to set pins to either
input (do nothing, default), or output with a value of (1 or 0).

Can I use the 'output-low', 'output-high' bindings to achieve this,
or am I supposed to implement a gpio controller to do this kind of stuff?

I'm not sure if I'm using the pinctrl framework correctly to achieve this,
any suggestions on how to change a pin from output to input, as the bindings
documentation explicitly states 'input-enable' does *not* affect output.

Thanks for your help & feedback,

Moritz

Moritz Fischer (3):
  Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf
  pinctrl: e3xx: Adding support for NI Ettus Research USRP E3xx pinconf
  ARM: e3xx: Add header file for pinctrl constants

 .../devicetree/bindings/pinctrl/pinctrl-e3xx.txt   |  27 ++
 drivers/pinctrl/Kconfig                            |  11 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/pinctrl-e3xx.c                     | 403 +++++++++++++++++++++
 include/dt-bindings/pinctrl/pinctrl-e3xx.h         | 142 ++++++++
 5 files changed, 584 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-e3xx.txt
 create mode 100644 drivers/pinctrl/pinctrl-e3xx.c
 create mode 100644 include/dt-bindings/pinctrl/pinctrl-e3xx.h

-- 
2.4.3

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

end of thread, other threads:[~2015-11-17 10:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05 23:41 [RFC 0/3] Adding support for NI Ettus Research USRP E3XX pinconf Moritz Fischer
2015-11-05 23:41 ` [RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf Moritz Fischer
2015-11-06  8:56   ` Arnd Bergmann
2015-11-05 23:41 ` [RFC 2/3] pinctrl: e3xx: Adding support for NI Ettus Research " Moritz Fischer
2015-11-06 20:56   ` Andy Shevchenko
2015-11-09 10:21   ` Linus Walleij
2015-11-10  3:55     ` Moritz Fischer
2015-11-05 23:41 ` [RFC 3/3] ARM: e3xx: Add header file for pinctrl constants Moritz Fischer
2015-11-06  8:54   ` Arnd Bergmann
2015-11-06 16:01     ` Moritz Fischer
2015-11-06 16:42       ` Arnd Bergmann
2015-11-06 17:55         ` Moritz Fischer
2015-11-06 20:28           ` Arnd Bergmann
2015-11-17 10:55 ` [RFC 0/3] Adding support for NI Ettus Research USRP E3XX pinconf 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).