Thread (3 messages) 3 messages, 3 authors, 2015-01-14

[PATCH RFC] pinctrl: at91

flat view

From: Linus Walleij <hidden>
Date: 2015-01-14 12:26:16
Also in: linux-devicetree

On Tue, Jan 6, 2015 at 10:37 AM, Ludovic Desroches
[off-list ref] wrote:
Usage of of_gpiochip_add() only solves my issue about gpio but not about
pinctrl stuff, I still need a patch to manage the case when we have a gap if
a gpio controller is not enabled to not break the pin naming, etc.
This has been the topic of many threads today.
I assume you are talking about keeping GPIO numbers
consistent.

- My suggestion is to add alias handling of the GPIO chips
  to the core so they can be probed in the right order.

- For consistency in sysfs use the "names" array in
  struct gpio_chip so you can search for a symbolic
  name in sysfs and don't have to rely on fragile stuff
  like GPIO numbers.

- Partake in the development of a new GPIO ABI
  that does not use the global GPIO numberspace.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help