>> Yes i will fix your hints tomorrow and send a v6 of my patchset.
>> Thank you for your hints and time
>> It would be nice if you could fix ACPI problemmatik.
>
> I would like to see the ACPI dump for that...
See https://github.com/openwrt/openwrt/pull/1232#issuecomment-443224576
In this comment MichaÅ Åygowski appended to this thread the missing
files you want to have.
So, let me clarify what we have:
- some platforms are in the wild with old BIOS with broken ACPI tables
- you still may fix the things for new BIOS version for all affected platforms
- you need to support both
For broken firmware you need to do the following:
- create an MFD driver, which would instantiate GPIO and GPIO keys
support (at least)
- create one of each above drivers w/o any DMI crap (should be done
as a part of MFD driver)
For fixed BIOS you need to add the following (example, not a fully
correct solution) at the level behind SB:
Scope (SB)
{
Device(GPIO)
{
After updating firmware you would need just an ACPI ID table to be
added to the GPIO driver. MFD driver should not be enumerated at all.