1# SPDX-License-Identifier: GPL-2.0-only
2#
3# AMD HSMP Driver
4#
5
6config AMD_HSMP
7	tristate
8
9menu "AMD HSMP Driver"
10	depends on AMD_NODE || COMPILE_TEST
11
12config AMD_HSMP_ACPI
13	tristate "AMD HSMP ACPI device driver"
14	depends on ACPI
15	depends on HWMON || !HWMON
16	select AMD_HSMP
17	help
18	  Host System Management Port (HSMP) interface is a mailbox interface
19	  between the x86 core and the System Management Unit (SMU) firmware.
20	  The driver provides a way for user space tools to monitor and manage
21	  system management functionality on EPYC and MI300A server CPUs
22	  from AMD.
23
24	  This option supports ACPI based probing.
25	  You may enable this, if your platform BIOS provides an ACPI object
26	  as described in amd_hsmp.rst document.
27
28	  If you choose to compile this driver as a module the module will be
29	  called hsmp_acpi.
30
31config AMD_HSMP_PLAT
32	tristate "AMD HSMP platform device driver"
33	depends on HWMON || !HWMON
34	select AMD_HSMP
35	help
36	  Host System Management Port (HSMP) interface is a mailbox interface
37	  between the x86 core and the System Management Unit (SMU) firmware.
38	  The driver provides a way for user space tools to monitor and manage
39	  system management functionality on EPYC and MI300A server CPUs
40	  from AMD.
41
42	  This option supports platform device based probing.
43	  You may enable this, if your platform BIOS does not provide
44	  HSMP ACPI object.
45
46	  If you choose to compile this driver as a module the module will be
47	  called amd_hsmp.
48
49endmenu
50