
This brings initial support for Intel Merrifield platform (based on Intel Tangier SoC) along with minimum support of Intel Edison board (based on Merrifield).
This RFC series based on discussion [1] to show how we may unleash the powerfulness of ACPI on the board, which initially didn't support it, via U-Boot.
Note, pin control device is using compatible strings since there is near to impossible to allocate ACPI ID for it. Patches to the kernel to make it OF-enumerated driver are under review.
Note, I dunno the split of DSL pieces is fully correct since we need to understand the difference between SoC, platform, and board terms. Even though some stuff here declared under 'tangier' folder it's related to Intel Merrifield platform (like Wi-Fi chip connected to SDIO port of Intel Tangier). Because of some restrictions of ACPI language / interpreter I may not split some of those parts. Thus, it needs to be revisited.
More information is available on [2].
[1]: https://lists.denx.de/pipermail/u-boot/2017-August/303997.html [2]: https://edison.internet-share.com/wiki/ACPI
Since v1: - drop RFC - address several Bin's comments - add tag
Andy Shevchenko (2): x86: tangier: Enable ACPI support for Intel Tangier x86: edison: Bring minimal ACPI support to the board
arch/x86/cpu/tangier/Makefile | 1 + arch/x86/cpu/tangier/acpi.c | 87 ++++++ .../include/asm/arch-tangier/acpi/global_nvs.asl | 16 ++ .../x86/include/asm/arch-tangier/acpi/platform.asl | 31 +++ .../include/asm/arch-tangier/acpi/southcluster.asl | 298 +++++++++++++++++++++ arch/x86/include/asm/arch-tangier/global_nvs.h | 22 ++ board/intel/edison/.gitignore | 3 + board/intel/edison/Kconfig | 6 + board/intel/edison/Makefile | 1 + board/intel/edison/dsdt.asl | 13 + include/configs/edison.h | 3 + 11 files changed, 481 insertions(+) create mode 100644 arch/x86/cpu/tangier/acpi.c create mode 100644 arch/x86/include/asm/arch-tangier/acpi/global_nvs.asl create mode 100644 arch/x86/include/asm/arch-tangier/acpi/platform.asl create mode 100644 arch/x86/include/asm/arch-tangier/acpi/southcluster.asl create mode 100644 arch/x86/include/asm/arch-tangier/global_nvs.h create mode 100644 board/intel/edison/.gitignore create mode 100644 board/intel/edison/dsdt.asl