platform/x86/amd/pmf: Get Human presence information from AMD SFH driver
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tue, 23 Jan 2024 14:14:57 +0000 (19:44 +0530)
committerHans de Goede <hdegoede@redhat.com>
Fri, 26 Jan 2024 19:09:41 +0000 (20:09 +0100)
commit118063f3803324411be0e601d560ed7d1c9824b0
tree33cf68ec7d6687288aff98fb4304245890343229
parent732c35ce6d4892f7b07cc9aca61a6ad0fd400a26
platform/x86/amd/pmf: Get Human presence information from AMD SFH driver

AMD SFH driver has APIs defined to export the human presence information;
use this within the PMF driver to send inputs to the PMF TA, so that PMF
driver can enact to the actions coming from the TA.

Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20240123141458.3715211-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmf/Kconfig
drivers/platform/x86/amd/pmf/spc.c