summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-designware-core.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 /drivers/i2c/busses/i2c-designware-core.h
parent1560541631a6f3215d27aeea182a5682644d33ba (diff)
downloadlinux-440da737cf8d35a1b2205678cc1879fa90948f7a.tar.gz
linux-440da737cf8d35a1b2205678cc1879fa90948f7a.tar.bz2
linux-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 'drivers/i2c/busses/i2c-designware-core.h')
-rw-r--r--drivers/i2c/busses/i2c-designware-core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-designware-core.h b/drivers/i2c/busses/i2c-designware-core.h
index 050d8c63ad3c..c5d87aae39c6 100644
--- a/drivers/i2c/busses/i2c-designware-core.h
+++ b/drivers/i2c/busses/i2c-designware-core.h
@@ -383,7 +383,6 @@ int i2c_dw_baytrail_probe_lock_support(struct dw_i2c_dev *dev);
#if IS_ENABLED(CONFIG_I2C_DESIGNWARE_AMDPSP)
int i2c_dw_amdpsp_probe_lock_support(struct dw_i2c_dev *dev);
-void i2c_dw_amdpsp_remove_lock_support(struct dw_i2c_dev *dev);
#endif
int i2c_dw_validate_speed(struct dw_i2c_dev *dev);