2023-03-30 15:16:11 +08:00
|
|
|
# ACPI configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2023 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig ACPI
|
|
|
|
bool "ACPI support"
|
|
|
|
help
|
|
|
|
This option enables support for ACPI driver.
|
|
|
|
|
|
|
|
if ACPI
|
|
|
|
|
|
|
|
module = ACPI
|
|
|
|
module-str = acpi
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2023-10-31 22:45:57 +08:00
|
|
|
if PCIE_PRT
|
|
|
|
|
2023-03-30 15:16:11 +08:00
|
|
|
config ACPI_MAX_PRT_ENTRY
|
|
|
|
int "Size of PRT buffer"
|
|
|
|
default 4096
|
|
|
|
help
|
|
|
|
Size of PRT table buffer.
|
|
|
|
|
2023-10-31 22:45:57 +08:00
|
|
|
endif # PCIE_PRT
|
|
|
|
|
2023-11-29 17:43:25 +08:00
|
|
|
# Default minimum system heap required by ACPI
|
|
|
|
config HEAP_MEM_POOL_ADD_SIZE_ACPI
|
|
|
|
def_int 1048576 # 1MB
|
|
|
|
|
2023-03-30 15:16:11 +08:00
|
|
|
config ACPI_SHELL
|
|
|
|
bool "ACPI command Shell"
|
|
|
|
depends on SHELL
|
|
|
|
help
|
|
|
|
Enable commands for debugging ACPI using the built-in shell.
|
|
|
|
|
|
|
|
config ACPI_DEV_MAX
|
|
|
|
int "maximum child devices"
|
|
|
|
default 1000
|
|
|
|
help
|
|
|
|
maximum acpi child devices.
|
|
|
|
|
2023-09-15 17:59:19 +08:00
|
|
|
config ACPI_IRQ_VECTOR_MAX
|
|
|
|
int "Interrupt vectors per device"
|
|
|
|
default 32
|
|
|
|
help
|
|
|
|
Maximum interrupt vectors per device.
|
2023-03-30 15:16:11 +08:00
|
|
|
|
2023-09-15 17:59:19 +08:00
|
|
|
config ACPI_MMIO_ENTRIES_MAX
|
|
|
|
int "MMIO entries per device"
|
|
|
|
default 32
|
2023-03-30 15:16:11 +08:00
|
|
|
help
|
2023-09-15 17:59:19 +08:00
|
|
|
Maximum MMIO entries per device.
|
|
|
|
|
|
|
|
endif # ACPI
|