[PATCH RFC 4/6] net: rfkill: gpio: add device tree support
Linus Walleij
linus.walleij at linaro.org
Wed Jan 22 04:58:38 EST 2014
On Tue, Jan 21, 2014 at 3:53 PM, Alexandre Courbot <gnurou at gmail.com> 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
More information about the linux-arm-kernel
mailing list