blob: 8cd26350b75cd22edc016ef0a456069007e8fd5f [file] [log] [blame]
config SOC_INTEL_COMMON_BLOCK_PMC
depends on SOC_INTEL_COMMON_BLOCK_GPIO
depends on ACPI_INTEL_HARDWARE_SLEEP_VALUES
bool
select HAVE_POWER_STATE_AFTER_FAILURE
select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
help
Intel Processor common code for Power Management controller(PMC)
subsystem
if SOC_INTEL_COMMON_BLOCK_PMC
config POWER_STATE_DEFAULT_ON_AFTER_FAILURE
default y
config SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE
bool
help
Select this on platforms where the PMC device is discoverable
when scanning busses.
endif # SOC_INTEL_COMMON_BLOCK_PMC
config PMC_INVALID_READ_AFTER_WRITE
bool
default n
help
Enable this for PMC devices where a read back of ACPI BAR and
IO access bit does not return the previously written value.
config PMC_IPC_ACPI_INTERFACE
bool
default n
depends on HAVE_ACPI_TABLES
help
Enable this to have the PMC IPC mailbox ACPI interface added
to the SSDT for use by other drivers.
config PMC_GLOBAL_RESET_ENABLE_LOCK
bool
help
Enable this for PMC devices where the reset configuration
and lock register is located under PMC BASE at offset ETR.
Note that the reset register is still at 0xCF9 this only
controls the enable and lock feature.
config PMC_LOW_POWER_MODE_PROGRAM
bool
help
Enable this for PMC devices to perform registers programming
to ensure low power in active idle scenario.
config PM_ACPI_TIMER_OPTIONAL
bool
default n
help
This needs to be selected by SoCs, where the hardware PM Timer
can be disabled, to show the ACPI PM Timer Kconfig in menuconfig.
if PM_ACPI_TIMER_OPTIONAL
config USE_PM_ACPI_TIMER
bool "Enable ACPI PM timer"
default y
help
This should be disabled for devices running on battery since
it can draw much power. Further, it must be disabled, if S0ix
is enabled.
Disabling this option also stops the hardware TCO timer and makes
the TCO watchdog unavailable.
endif # PM_ACPI_TIMER_OPTIONAL