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