Re: [PATCH RFC 4/6] net: rfkill: gpio: add device tree support

From
Linus Walleij <hidden>
Date
2014-01-22 09:58:41
Also in
linux-arm-kernel, linux-devicetree, linux-gpio, linux-wireless, lkml
Reply to
Alexandre Courbot, 2014-01-21
On Tue, Jan 21, 2014 at 3:53 PM, Alexandre Courbot [off-list ref] wrote:
The good (or bad, rather) thing about DT is that we can do whatever we
please with the new bindings: decide which name or which index
(doesn't matter here) a GPIO should have. However we don't have this
control over ACPI, where nothing guarantees that the same index will
be used for the same GPIO function.
It's not like ACPI will impose some tables on us and expect us to
use them as-is no matter how crazy they are. Then indeed the whole
idea of unifying ACPI and DT accessors would be moot and it would
only work by mistake or as a good joke.

The situation with ACPI is just like with DT, it is assumed that the
author of these tables also look at the Linux kernel drivers to figure
out what argument goes where and we can influence them.

Yours,
Linus Walleij
Thread (28 messages) 28 messages, 10 authors, last reply 2014-01-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help