[PATCH v2 0/2] net: thunder: Add ACPI support.
David Miller
davem at davemloft.net
Tue Aug 11 13:50:19 PDT 2015
From: Robert Richter <robert.richter at caviumnetworks.com>
Date: Tue, 11 Aug 2015 22:12:37 +0200
> On 11.08.15 13:04:55, David Daney wrote:
>> >In the future it might be better structured to try and get the OF
>> >node, and if that fails then try and use the ACPI method to obtain
>> >these values.
>>
>> Our current approach, as you can see in the patch, is the opposite. If ACPI
>> is being used, prefer that over the OF device tree.
>>
>> You seem to be recommending precedence for OF. It should be consistent
>> across all drivers/sub-systems, so do you really think that OF before ACPI
>> is the way to go?
>
> If ACPI is enabled then no OF function may be called at all.
That makes no sense to me at all.
If ACPI is enabled, the OF routines should return no nodes etc.
More information about the linux-arm-kernel
mailing list