[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230302194235.1724-10-mario.limonciello@amd.com>
Date: Thu, 2 Mar 2023 13:42:32 -0600
From: Mario Limonciello <mario.limonciello@....com>
To: Jan Dąbroś <jsd@...ihalf.com>,
Grzegorz Bernacki <gjb@...ihalf.com>,
<Rijo-john.Thomas@....com>, <Thomas.Lendacky@....com>,
<herbert@...dor.apana.org.au>,
Tom Lendacky <thomas.lendacky@....com>,
"John Allen" <john.allen@....com>
CC: Mario Limonciello <mario.limonciello@....com>,
"David S. Miller" <davem@...emloft.net>,
<linux-crypto@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 9/9] crypto: ccp: Add doorbell register offset
The PSP in Skyrim uses i2c arbitration with a doorbell.
Add this offset so that the communication can work.
Link: Link: https://lore.kernel.org/linux-i2c/20220916131854.687371-3-jsd@semihalf.com/
Signed-off-by: Mario Limonciello <mario.limonciello@....com>
---
v1->v2:
* New patch
---
drivers/crypto/ccp/sp-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/ccp/sp-pci.c b/drivers/crypto/ccp/sp-pci.c
index 18aa902eb5ce..a4efcaee43d8 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -365,6 +365,7 @@ static const struct platform_access_vdata pa_v1 = {
.cmdresp_reg = 0x10570, /* C2PMSG_28 */
.cmdbuff_addr_lo_reg = 0x10574, /* C2PMSG_29 */
.cmdbuff_addr_hi_reg = 0x10578, /* C2PMSG_30 */
+ .doorbell_reg = 0x10a40, /* C2PMSG_80 */
};
static const struct psp_vdata pspv1 = {
--
2.34.1
Powered by blists - more mailing lists