mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 20:13:49 -04:00
on x86_64: CONFIG_SUSPEND is not set CONFIG_PM is not set this leads to build failure of the AMD PMC driver. Add a 'depends on' in the Kconfig. Reported-by: Randy Dunlap <rdunlap@infradead.org> Closes: https://lore.kernel.org/lkml/5181685c-29d8-22a4-a2d7-682f26e2e031@infradead.org/ Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Tested-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20230826161213.3180194-1-Shyam-sundar.S-k@amd.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
21 lines
635 B
Plaintext
21 lines
635 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# AMD PMC Driver
|
|
#
|
|
|
|
config AMD_PMC
|
|
tristate "AMD SoC PMC driver"
|
|
depends on ACPI && PCI && RTC_CLASS && AMD_NB
|
|
depends on SUSPEND
|
|
select SERIO
|
|
help
|
|
The driver provides support for AMD Power Management Controller
|
|
primarily responsible for S2Idle transactions that are driven from
|
|
a platform firmware running on SMU. This driver also provides a debug
|
|
mechanism to investigate the S2Idle transactions and failures.
|
|
|
|
Say Y or M here if you have a notebook powered by AMD RYZEN CPU/APU.
|
|
|
|
If you choose to compile this driver as a module the module will be
|
|
called amd-pmc.
|