linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC V2 0/4] pinctrl: bcm2835: improve libgpiod output
@ 2019-01-21  7:11 Stefan Wahren
  2019-01-21  7:11 ` [PATCH RFC V2 1/4] pinctrl: bcm2835: declare pin config as generic Stefan Wahren
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Stefan Wahren @ 2019-01-21  7:11 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Eric Anholt
  Cc: Stefan Wahren, linux-gpio, Lukas Wunner, Peter Robinson,
	linux-arm-kernel

Based on a recent discussion [1],[2] about the unexpected output of gpioinfo
this patch series tries to improve the situation. Patches 1-3 are specific
changes for bcm2835 while the last one is the intended improvement for gpiolib.

Changes in V2:
- take strict mode into account as suggested by Linus
- add bcm2835 specific changes

[1] - https://marc.info/?l=linux-gpio&m=154716249606544
[2] - https://marc.info/?l=linux-gpio&m=154747265118765

Stefan Wahren (4):
  pinctrl: bcm2835: declare pin config as generic
  pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl
  pinctrl: bcm2835: activate strict mux mode
  gpiolib: Take MUX usage into account

 drivers/gpio/gpiolib.c                |  3 ++-
 drivers/pinctrl/bcm/pinctrl-bcm2835.c |  5 ++++-
 drivers/pinctrl/core.c                | 23 +++++++++++++++++++++++
 drivers/pinctrl/pinmux.c              | 18 ++++++++++++++++++
 drivers/pinctrl/pinmux.h              |  7 +++++++
 include/linux/pinctrl/consumer.h      |  6 ++++++
 6 files changed, 60 insertions(+), 2 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2019-01-28  9:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-21  7:11 [PATCH RFC V2 0/4] pinctrl: bcm2835: improve libgpiod output Stefan Wahren
2019-01-21  7:11 ` [PATCH RFC V2 1/4] pinctrl: bcm2835: declare pin config as generic Stefan Wahren
2019-01-28  8:02   ` Linus Walleij
2019-01-21  7:11 ` [PATCH RFC V2 2/4] pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl Stefan Wahren
2019-01-21  7:11 ` [PATCH RFC V2 3/4] pinctrl: bcm2835: activate strict mux mode Stefan Wahren
     [not found]   ` <20190121073419.iosy3bd6tcnexya7@wunner.de>
2019-01-21  9:57     ` Stefan Wahren
2019-01-21  7:11 ` [PATCH RFC V2 4/4] gpiolib: Take MUX usage into account Stefan Wahren
2019-01-28  9:06   ` Linus Walleij
2019-01-28  8:06 ` [PATCH RFC V2 0/4] pinctrl: bcm2835: improve libgpiod output Linus Walleij
2019-01-28  9:23   ` Stefan Wahren

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