From patchwork Thu Apr 16 11:11:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 237831 List-Id: U-Boot discussion From: bmeng.cn at gmail.com (Bin Meng) Date: Thu, 16 Apr 2020 19:11:12 +0800 Subject: Please pull u-boot-x86 Message-ID: Hi Tom, This includes the following changes for v2020.07: - Provide serial base clock speed via getinfo() for ACPI SPCR - Initial ACPI support from DM core by leveraging existing ACPI support in x86 The following changes since commit 66b8669d7709cecedf2e0403bb17b48bab86f644: Merge tag 'u-boot-stm32-20200415' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2020-04-15 12:10:51 -0400) are available in the git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-x86 for you to fetch changes up to 1f4431e46120ef913fc9f83c78a734d910d00b3f: test: Add hexdump.h to the unit test header (2020-04-16 14:36:28 +0800) ---------------------------------------------------------------- Andy Shevchenko (3): dm: serial: Add clock member to struct serial_device_info serial: ns16550: Provide UART base clock speed in ->getinfo() x86: acpi: Let OS know that console already had been initialized Simon Glass (20): cpu: Support querying the address width spi: Add SPI mode enums tpm: cr50: Release locality on exit tpm: cr50: Add a comment for cr50_priv tpm: cr50: Use the correct GPIO binding tpm: Don't cleanup unless an error happens dm: pci: Allow disabling auto-config for a device x86: Correct wording of coreboot source code x86: apl: Move p2sb ofdata reading to the correct method pci: Adjust dm_pci_read_bar32() to return errors correctly x86: apl: Add Global NVS table header dm: core: Add basic ACPI support dts: Add a binding for hid-over-i2c acpi: Add a simple sandbox test x86: Move acpi_s3.h to include/acpi/ x86: Move acpi_table header to main include/ directory acpi: Add an __ACPI__ preprocessor symbol acpi: Add a central location for table version numbers acpi: Add support for DMAR test: Add hexdump.h to the unit test header arch/sandbox/dts/test.dts | 4 + arch/sandbox/include/asm/acpi_table.h | 9 ++ arch/x86/cpu/apollolake/cpu_spl.c | 2 +- arch/x86/cpu/apollolake/fsp_s.c | 2 +- arch/x86/cpu/apollolake/pmc.c | 2 +- arch/x86/cpu/baytrail/acpi.c | 6 +- arch/x86/cpu/coreboot/timestamp.c | 4 +- arch/x86/cpu/cpu.c | 4 +- arch/x86/cpu/intel_common/p2sb.c | 33 +++---- arch/x86/cpu/quark/acpi.c | 2 +- arch/x86/cpu/tangier/acpi.c | 4 +- arch/x86/cpu/wakeup.S | 2 +- arch/x86/dts/chromebook_coral.dts | 2 +- arch/x86/include/asm/acpi_table.h | 381 ++----------------------------------------------------------------------- arch/x86/include/asm/arch-apollolake/global_nvs.h | 36 +++++++ arch/x86/include/asm/arch-coreboot/timestamp.h | 4 +- arch/x86/include/asm/intel_pinctrl_defs.h | 2 - arch/x86/lib/acpi.c | 2 +- arch/x86/lib/acpi_s3.c | 4 +- arch/x86/lib/acpi_table.c | 11 ++- arch/x86/lib/coreboot_table.c | 2 +- arch/x86/lib/fsp/fsp_common.c | 2 +- arch/x86/lib/fsp1/fsp_common.c | 2 +- arch/x86/lib/fsp2/fsp_dram.c | 2 +- arch/x86/lib/tables.c | 2 +- arch/x86/lib/zimage.c | 2 +- configs/tools-only_defconfig | 1 + doc/device-tree-bindings/gpio/intel,apl-gpio.txt | 2 +- doc/device-tree-bindings/input/hid-over-i2c.txt | 44 +++++++++ doc/device-tree-bindings/interrupt-controller/intel,acpi-gpe.txt | 2 +- doc/device-tree-bindings/pci/x86-pci.txt | 23 +++++ drivers/core/Kconfig | 9 ++ drivers/core/Makefile | 1 + drivers/core/acpi.c | 33 +++++++ drivers/cpu/cpu_sandbox.c | 1 + drivers/pci/pci-uclass.c | 11 ++- drivers/pci/pci_rom.c | 4 +- drivers/power/acpi_pmc/acpi-pmc-uclass.c | 2 +- drivers/serial/ns16550.c | 2 + drivers/serial/sandbox.c | 1 + drivers/sysreset/sysreset_x86.c | 2 +- drivers/tpm/cr50_i2c.c | 24 ++++- drivers/tpm/tpm-uclass.c | 13 ++- include/{ => acpi}/acpi_s3.h | 0 include/acpi/acpi_table.h | 512 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/cpu.h | 2 + include/dm/acpi.h | 77 +++++++++++++++ include/dm/device.h | 5 + include/dm/uclass-id.h | 1 + include/log.h | 2 + include/serial.h | 3 + include/spi.h | 33 +++++++ include/test/ut.h | 1 + lib/Makefile | 1 + lib/acpi/Makefile | 4 + lib/acpi/acpi_table.c | 93 ++++++++++++++++++ lib/efi_loader/efi_acpi.c | 2 +- scripts/Makefile.lib | 4 +- test/dm/Makefile | 1 + test/dm/acpi.c | 85 +++++++++++++++++ test/dm/cpu.c | 1 + test/dm/serial.c | 1 + 62 files changed, 1089 insertions(+), 442 deletions(-) create mode 100644 arch/sandbox/include/asm/acpi_table.h create mode 100644 arch/x86/include/asm/arch-apollolake/global_nvs.h create mode 100644 doc/device-tree-bindings/input/hid-over-i2c.txt create mode 100644 drivers/core/acpi.c rename include/{ => acpi}/acpi_s3.h (100%) create mode 100644 include/acpi/acpi_table.h create mode 100644 include/dm/acpi.h create mode 100644 lib/acpi/Makefile create mode 100644 lib/acpi/acpi_table.c create mode 100644 test/dm/acpi.c Regards, Bin