mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
platform/x86/amd/pmc: Move PMC driver to separate directory
With latest commits having PMC code spread across multiple files, it would be easier to maintain them in a separate directory under amd/pmc. Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20230811112116.2279419-2-Shyam-sundar.S-k@amd.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
b0c7f1d9d7
commit
92c2fb8fa5
8 changed files with 30 additions and 18 deletions
|
@ -1006,7 +1006,7 @@ AMD PMC DRIVER
|
||||||
M: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
|
M: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
|
||||||
L: platform-driver-x86@vger.kernel.org
|
L: platform-driver-x86@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/platform/x86/amd/pmc.c
|
F: drivers/platform/x86/amd/pmc/
|
||||||
|
|
||||||
AMD PMF DRIVER
|
AMD PMF DRIVER
|
||||||
M: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
|
M: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
|
||||||
|
|
|
@ -4,21 +4,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
source "drivers/platform/x86/amd/pmf/Kconfig"
|
source "drivers/platform/x86/amd/pmf/Kconfig"
|
||||||
|
source "drivers/platform/x86/amd/pmc/Kconfig"
|
||||||
config AMD_PMC
|
|
||||||
tristate "AMD SoC PMC driver"
|
|
||||||
depends on ACPI && PCI && RTC_CLASS && AMD_NB
|
|
||||||
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.
|
|
||||||
|
|
||||||
config AMD_HSMP
|
config AMD_HSMP
|
||||||
tristate "AMD HSMP Driver"
|
tristate "AMD HSMP Driver"
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
# AMD x86 Platform-Specific Drivers
|
# AMD x86 Platform-Specific Drivers
|
||||||
#
|
#
|
||||||
|
|
||||||
amd-pmc-y := pmc.o pmc-quirks.o
|
obj-$(CONFIG_AMD_PMC) += pmc/
|
||||||
obj-$(CONFIG_AMD_PMC) += amd-pmc.o
|
|
||||||
amd_hsmp-y := hsmp.o
|
amd_hsmp-y := hsmp.o
|
||||||
obj-$(CONFIG_AMD_HSMP) += amd_hsmp.o
|
obj-$(CONFIG_AMD_HSMP) += amd_hsmp.o
|
||||||
obj-$(CONFIG_AMD_PMF) += pmf/
|
obj-$(CONFIG_AMD_PMF) += pmf/
|
||||||
|
|
19
drivers/platform/x86/amd/pmc/Kconfig
Normal file
19
drivers/platform/x86/amd/pmc/Kconfig
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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
|
||||||
|
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.
|
8
drivers/platform/x86/amd/pmc/Makefile
Normal file
8
drivers/platform/x86/amd/pmc/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
# Makefile for linux/drivers/platform/x86/amd/pmc
|
||||||
|
# AMD Power Management Controller Driver
|
||||||
|
#
|
||||||
|
|
||||||
|
amd-pmc-objs := pmc.o pmc-quirks.o
|
||||||
|
obj-$(CONFIG_AMD_PMC) += amd-pmc.o
|
Loading…
Reference in a new issue