Simon Glass | 5e5c0cd | 2019-12-06 21:41:53 -0700 | [diff] [blame] | 1 | config ACPI_PMC |
| 2 | bool "Power Manager (x86 PMC) support" |
| 3 | help |
| 4 | Enable support for an x86-style power-management controller which |
| 5 | provides features including checking whether the system started from |
| 6 | resume, powering off the system and enabling/disabling the reset |
| 7 | mechanism. |
| 8 | |
| 9 | config SPL_ACPI_PMC |
| 10 | bool "Power Manager (x86 PMC) support in SPL" |
| 11 | default y if ACPI_PMC |
| 12 | help |
| 13 | Enable support for an x86-style power-management controller which |
| 14 | provides features including checking whether the system started from |
| 15 | resume, powering off the system and enabling/disabling the reset |
| 16 | mechanism. |
| 17 | |
| 18 | config TPL_ACPI_PMC |
| 19 | bool "Power Manager (x86 PMC) support in TPL" |
Tom Rini | 36a4ca0 | 2022-06-08 08:24:39 -0400 | [diff] [blame] | 20 | depends on TPL |
Simon Glass | 5e5c0cd | 2019-12-06 21:41:53 -0700 | [diff] [blame] | 21 | default y if ACPI_PMC |
| 22 | help |
| 23 | Enable support for an x86-style power-management controller which |
| 24 | provides features including checking whether the system started from |
| 25 | resume, powering off the system and enabling/disabling the reset |
| 26 | mechanism. |
Simon Glass | 8c50102 | 2019-12-06 21:41:54 -0700 | [diff] [blame] | 27 | |
| 28 | config ACPI_PMC_SANDBOX |
| 29 | bool "Test power manager (PMC) for sandbox" |
| 30 | depends on ACPI_PMC && SANDBOX |
| 31 | help |
| 32 | This driver emulates a PMC (Power-Management Controller) so that |
| 33 | the uclass logic can be tested. You can use the 'pmc' command to |
| 34 | access information from the driver. It uses I/O access to read |
| 35 | from the PMC. |