Thread (6 messages) 6 messages, 4 authors, 2015-07-27

[PATCH 1/2] gpio: dwapb: Use human understandable gpio numbering.

From: richardcochran@gmail.com (Richard Cochran)
Date: 2015-07-16 17:19:30
Also in: linux-devicetree, linux-gpio

On Thu, Jul 16, 2015 at 09:50:44AM +0200, Linus Walleij wrote:
NACK. And it has been NACKed before again and again, search
the mailinglist for repetitive answers.
Yeah, ok, I give up.

This happens with every DT discussion that tries to make things
logical for the end user.
The GPIO numbers inside the Linux kernel are Linux specific and
have nothing to do with the hardware numbers. If they sometimes
match it is a lucky coincidence.
Someone should tell the users that.
The same goes for IRQ numbers
in the kernel FWIW.
Isn't there a mapping interface for irq numbers?
 
So this "binding" has nothing to do with describing the hardware,
which device tree is for. If it ever comes to exist it needs to be
a "linux-*" property. But I doubt it will.
How can you say that the GPIO numbers associated with the pins and
appearing in published data sheets (and used in every schematic) are
not part of the hardware?

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