[RFC,V2,0/4] pinctrl: bcm2835: improve libgpiod output
mbox series

Message ID 1548054685-3781-1-git-send-email-stefan.wahren@i2se.com
Headers show
Series
  • pinctrl: bcm2835: improve libgpiod output
Related show

Message

Stefan Wahren Jan. 21, 2019, 7:11 a.m. UTC
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(-)

Comments

Linus Walleij Jan. 28, 2019, 8:06 a.m. UTC | #1
On Mon, Jan 21, 2019 at 8:11 AM Stefan Wahren <stefan.wahren@i2se.com> wrote:

> 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

Ooops started to apply this but now I noticed it's in RFC state so I
backed them out and wait for a non-RFC version first.

Yours,
Linus Walleij
Stefan Wahren Jan. 28, 2019, 9:23 a.m. UTC | #2
Hi Linus,

Am 28.01.19 um 09:06 schrieb Linus Walleij:
> On Mon, Jan 21, 2019 at 8:11 AM Stefan Wahren <stefan.wahren@i2se.com> wrote:
>
>> 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
> Ooops started to apply this but now I noticed it's in RFC state so I
> backed them out and wait for a non-RFC version first.

i will split this series and resend the non-controversial part (Patch 1+2).

Stefan

>
> Yours,
> Linus Walleij
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel