platform/x86/amd/pmf: Add support for PMF core layer
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tue, 2 Aug 2022 15:11:39 +0000 (20:41 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 15 Aug 2022 11:23:37 +0000 (13:23 +0200)
commitda5ce22df5fe5cbaf0e86d0357728b224c0b1b0e
treef25d4d628d36bd7ee0132deed229ffca53695b85
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
platform/x86/amd/pmf: Add support for PMF core layer

PMF core layer is meant to abstract the common functionalities
across PMF features. This layer also does the plumbing work
like setting up the mailbox channel for the communication
between the PMF driver and the PMFW (Power Management Firmware)
running on the SMU.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20220802151149.2123699-2-Shyam-sundar.S-k@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/Kconfig
drivers/platform/x86/amd/Makefile
drivers/platform/x86/amd/pmf/Kconfig [new file with mode: 0644]
drivers/platform/x86/amd/pmf/Makefile [new file with mode: 0644]
drivers/platform/x86/amd/pmf/core.c [new file with mode: 0644]
drivers/platform/x86/amd/pmf/pmf.h [new file with mode: 0644]