summaryrefslogtreecommitdiff
path: root/include/linux/psp-platform-access.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-04-14 09:40:07 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2023-04-20 18:20:05 +0800
commit440da737cf8d35a1b2205678cc1879fa90948f7a (patch)
treeac035f97f5f0234a5b0f211ed11e6ce763ca5d82 /include/linux/psp-platform-access.h
parent1560541631a6f3215d27aeea182a5682644d33ba (diff)
downloadlwn-440da737cf8d35a1b2205678cc1879fa90948f7a.tar.gz
lwn-440da737cf8d35a1b2205678cc1879fa90948f7a.zip
i2c: designware: Use PCI PSP driver for communication
Currently the PSP semaphore communication base address is discovered by using an MSR that is not architecturally guaranteed for future platforms. Also the mailbox that is utilized for communication with the PSP may have other consumers in the kernel, so it's better to make all communication go through a single driver. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Mark Hasemeyer <markhas@chromium.org> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Tested-by: Mark Hasemeyer <markhas@chromium.org> Acked-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/psp-platform-access.h')
-rw-r--r--include/linux/psp-platform-access.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/psp-platform-access.h b/include/linux/psp-platform-access.h
index 1b661341d8f3..75da8f5f7ad8 100644
--- a/include/linux/psp-platform-access.h
+++ b/include/linux/psp-platform-access.h
@@ -7,6 +7,7 @@
enum psp_platform_access_msg {
PSP_CMD_NONE = 0x0,
+ PSP_I2C_REQ_BUS_CMD = 0x64,
};
struct psp_req_buffer_hdr {