From patchwork Wed Apr 24 05:13:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ji Sheng Teoh X-Patchwork-Id: 13641192 Received: from CHN02-SH0-obe.outbound.protection.partner.outlook.cn (mail-sh0chn02on2103.outbound.protection.partner.outlook.cn [139.219.146.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83B5C1552FC; Wed, 24 Apr 2024 05:13:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=139.219.146.103 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713935625; cv=fail; b=lOdwXGkc0c7RWd1QLXrMTVmoo2/EGLjZlpgvIBtGNYod77hSsjwbeBeEDsNKqs3RN7nVo4DeAYdEsfR1Y9e3WaUfq5mrUqB+ClH8YvpdPFpL8PP0ldnkRYQXd+jQ3uiXoomdjrT0a1/tgVxH2Qu59vS6eAXK5lR6/6z9SY2QodE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713935625; c=relaxed/simple; bh=b1Wr2FQQ8edG1QXlmD8JBcAjvqSZR4X9Xlisar+4XYs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=JigAFxMBNGD4gHlYtgHvPhmtkhnhEvn22FFuKNAcHMFEnmDDihWviawiSpazxthsSIZVv8XCG1jTZVK3uxi+1DJGE77XGuNwRn6T3rg1tmpWDbEQncWPxbRMJi2HdhnWWLp+lNl8VstCKTO39Al+V7ITS4S6d4FK7Iq3XOqJIF0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com; spf=pass smtp.mailfrom=starfivetech.com; arc=fail smtp.client-ip=139.219.146.103 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=acvJi86MSQCJwSGswZIA7/4U3Ydb5HBvPS0D198d0JAvaBMP9aU42SFvTnFEO4fd8N6VYfMt3vyDtPKuhnudnpm9fSJnyOkWMG+0OiWNtZ4QK/A4a9Uhpz+bkS3On3J2ebGMmM4W10ksGtn/XQNViAYAZ0TR+xSVr1dXvR3tDoewI53T2b2Z0OnhSemUvu18HS/h7pdCtUiu9dex92GywqKOMi47LaNCHN89uvgIOQJ/ZstKuDRwJwPFmicXqhkD7GCWtfiJ1WU6odQ/SxN9rDJQFvF6/7dcLPYphbH7hyvoi/ioXrElEFW1E8tGegVdT6XiQ0GeFibVBxQhgQorrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LJ45zfvFr8YH4sbFeZ59Y323p6m7eTtOClDR6YZehic=; b=UgqBCLMjl/sDwIXGKe7PJGD5qsWa/ccbWGwNrazbicJULR5iM626khHCdu+aWY2PgQytqXRstSnfqDzNcDgTE9DrbMXnBCaBTXKfz6tothksUH7N6dXjg8AdwMW8HK5lqplmFDCzL+0isHJfFjvbbEzTuqPO0R6GeUufgDlriRfXC+FkPLdbRXW4Qfe4cfZ4rGHBEfeBC7hGUzj5Upl0wkyEj4eOCtOY2nFvUoQZYr9yg0q86NwdQL15AmVrLxFKZgNHtiRwsi+s8XXVBin41Jw40IdnxSZW9kM7PAPj4/OKAxof8+np0X31rx2TrcdgQ4Khv2kABUkXLvqQ+Bwb+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=starfivetech.com; dmarc=pass action=none header.from=starfivetech.com; dkim=pass header.d=starfivetech.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=starfivetech.com; Received: from ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:17::9) by ZQ4PR01MB1268.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:16::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Wed, 24 Apr 2024 05:13:34 +0000 Received: from ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn ([fe80::301e:ec80:4356:8b14]) by ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn ([fe80::301e:ec80:4356:8b14%6]) with mapi id 15.20.7472.044; Wed, 24 Apr 2024 05:13:34 +0000 From: Ji Sheng Teoh To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Michal Simek Cc: Ji Sheng Teoh , Ley Foon Tan , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Eng Lee Teh Subject: [PATCH v1 1/2] spi: spi-cadence: Add optional reset control support Date: Wed, 24 Apr 2024 13:13:16 +0800 Message-ID: <20240424051317.2084059-2-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240424051317.2084059-1-jisheng.teoh@starfivetech.com> References: <20240424051317.2084059-1-jisheng.teoh@starfivetech.com> X-ClientProxiedBy: NT0PR01CA0024.CHNPR01.prod.partner.outlook.cn (2406:e500:c510:c::8) To ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:17::9) Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: ZQ4PR01MB1154:EE_|ZQ4PR01MB1268:EE_ X-MS-Office365-Filtering-Correlation-Id: acc065dd-291b-4286-10c4-08dc641d4a6c X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6LeCuUyjvkJ0E+x6IJWQrqI2wFGhQ4iKzHmgAADp9hZ3csfFUp5ZdlbRA4nw1H7hw6Fuh/rxqFf2ZbwkepnBKQy5Ez/+YFtnM2gtMefDv2Ndnl5LZCR3hhn7OmomOb/PXG/RBkzzjSwNW/KEq/CdE2Fa+0O/XQWYHkEkrGRBeQv8c47w+pS6qNqDNj8Hl6QG/+l4hwmu9jxnptoFjDWzpDsyhMgGcTvGf5KmKKHCvNFqlsIvSXYufrNz+zaq5mkyNroCaux4sedoQrEGRt3FAmqbqZPsJoNP9Gvl3DEIXoWxM8cpQ8lG2DxpWk6Q5uXqInoOv9LQ41msORoQyp7uDBMIEHygPAeJMu5BIjRTOqJ4OHhiHRy5sJIfroSuFz9Taw3D/f+kUM9vbKL4PaHNdqPUYsYysPUBNfccZtsJEYvKDMdZAJ/osPNKZZCEk9Aw9hbgaTxQhoHw+GO8mPQnMBhNE3RsZAoIbpFXmbxDwP8LUZkUZEtVkSSOlUuqs600sdJhgjeVz7Wfa3GdjqD2IHX5UIAnlhayGvnP0Mn7CYgdu94aSR41R5yjhv/2WjvvzifZxwVTKPvM35HrZgHGZoNr45rj2+wi6BPOCT2cdkjDu2FdC3a02MfOhAeFXQ3i X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn;PTR:;CAT:NONE;SFS:(13230031)(52116005)(1800799015)(41320700004)(366007)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pSly78CsVzafIw+NUoe7KXiqbCvjBNvy38ta/waeaUMQrVE5xTfCUP+Ud+jxOURHrGH1D27evKyahaj8NdAeSIMNxuXbz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j8NJcEKk/tZCsaL7aQqi8T375z/FwJiwVSodHMd5xExv5KsLoUh4rNFYt4b4m0lYNh8TjhiqKbpSa8DV8PzpDfe0PVi6TsX0oaQArl/xet4y4GbxPiGuqEG/pyajPDYcF6O6bBLSUc1PiwjFiOmyCyO6ZYchWd7URKZ4a4u8y6zkWTN1PmRDpzo2+BCkScOyJ2kTMWSU83GgQbRxYq+jB3y0whUkBOGvA5LlgQFB2QlquR5RO0AOTwquKQLiEfKRNhA7cKhSVx9ms8eeZTI9o5LiJak5uHZKEbSWaEDz1ugKhvs1kO+kQ2jo8JRUi8qfXSoEobZGfpZxxtsE60Uvw4ow8WQ6I5INNVVUqvdtCw+Qw8me5420h3T3OAvX+6iRa7wUXw3kG5rQUyBOqPWco1IEmPSflnXgBoBMb+0lGLMh2Zw9AA== X-OriginatorOrg: starfivetech.com X-MS-Exchange-CrossTenant-Network-Message-Id: acc065dd-291b-4286-10c4-08dc641d4a6c X-MS-Exchange-CrossTenant-AuthSource: ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2024 05:13:34.6839 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 06fe3fa3-1221-43d3-861b-5a4ee687a85c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Oapej/tjWyrm3sf6RruQAF93eIN3sEHE0sAc8GIecpcegg607B4AMtuLQgHS7F7K4AOg/T8LxZRPAhH2DUjbC5hHgNFLzZrNMR3hGJHoLsw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZQ4PR01MB1268 Add optional reset control support for spi-cadence to properly bring the SPI device into an operating condition. Signed-off-by: Eng Lee Teh Signed-off-by: Ley Foon Tan Signed-off-by: Ji Sheng Teoh --- drivers/spi/spi-cadence.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index e5140532071d..41f2f51d39e4 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c @@ -111,6 +111,7 @@ * @dev_busy: Device busy flag * @is_decoded_cs: Flag for decoder property set or not * @tx_fifo_depth: Depth of the TX FIFO + * @rstc: Optional reset control for SPI controller */ struct cdns_spi { void __iomem *regs; @@ -125,6 +126,7 @@ struct cdns_spi { u8 dev_busy; u32 is_decoded_cs; unsigned int tx_fifo_depth; + struct reset_control *rstc; }; /* Macros for the SPI controller read/write */ @@ -588,6 +590,16 @@ static int cdns_spi_probe(struct platform_device *pdev) goto remove_ctlr; } + xspi->rstc = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL); + if (IS_ERR(xspi->rstc)) { + ret = PTR_ERR(xspi->rstc); + dev_err(&pdev->dev, "Cannot get SPI reset.\n"); + goto remove_ctlr; + } + + reset_control_assert(xspi->rstc); + reset_control_deassert(xspi->rstc); + if (!spi_controller_is_target(ctlr)) { xspi->ref_clk = devm_clk_get_enabled(&pdev->dev, "ref_clk"); if (IS_ERR(xspi->ref_clk)) { From patchwork Wed Apr 24 05:13:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ji Sheng Teoh X-Patchwork-Id: 13641193 Received: from CHN02-SH0-obe.outbound.protection.partner.outlook.cn (mail-sh0chn02on2103.outbound.protection.partner.outlook.cn [139.219.146.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 467E115535C; Wed, 24 Apr 2024 05:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=139.219.146.103 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713935627; cv=fail; b=Mmt45DF9Hm6SAqeab2bXVcZalRhjRMdJXa1FxWsHGOQ+wKV+9RpxbGnYy6yVo1HI2XhAkS78GftGfnwy1UGfoI8iUHygzUTqb6VrJ65XQG1a3uUIiLM7f/hJmP3eNgMelsjEAGfiZVkgijMO6McXkIN7Cyxiao2+SAvsO9qYjxk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713935627; c=relaxed/simple; bh=lQfAbTG6iFSA1quimPcTUenPZTEEiZfChKNnH5ZRj/c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=seacJM20FLm0F/R03oOFRqRcPofmS1i7mLhHTb0k9YafMuyZ57nnJ8h8SI5NtBNE3ZUXdLvaDkQ4Id/zE9v4M+nLiE05CoPw8ML3YKqqwauzr4BmA31bP1nQNo7kcvf5/0XJdqsZh1904uQUjtNX/DlOpBd9XFszl1Aj0XqEN5o= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com; spf=pass smtp.mailfrom=starfivetech.com; arc=fail smtp.client-ip=139.219.146.103 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MZiDmCYOdJ6t1u7F7HTt/rJVPpxqbBDMlUzqPvmNfyJC6MeZ/VUV/VaOmgFOKPGLYkrRCr4FmhA6WYIevoC149yrjmYYIj7meA6pZJqPQgjHYkSBmEj0xsq2PbxINFbzyXjdyrVoswX2njKxhDQ5Em1sBkocNEfNI1iZSwv0JvHaSD0rCjmbeXPb/S5GMNjEmg8PyM7YTkx1C0Enr52hYxqFd7ilMfAly3mOLmMYxVg56JHkQ2z4TfhydWlDh1lN9ADbvdK2kpMjImeEbMrJELbPjCrHyCs+pP/OU/8wOlUHfYZWs4bXspZjNn4Iz4dNSeFQw9UB3YtA3obO5VzMEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bGPdyD90e52MBqfhMrUfF676Lxr2rIOdEtFVCXI45fc=; b=JvYRLaCbO7+XBgPQBYavt4Be27lz/eHd243KLeKzsxSBrtGvx8Tz7sHXYpvPfXUqBd4vJfIsZ1MHJgusMM/VIjphVcI3Tid+KrSTEnlJuZxB7ToX3s9ivWBi6nH8xFTzlpFw4qnIEm5IkC0F8hN/MXrnYW+eophgB6ab9MrPCpQzy3+T7UozeIzD8Ks+8rhv902L3sIjvkBp2cykHzd/gm147cHjL5WQ3QTzrNpi6qHL2iRG8wtNkSStNxvD9t9ikMKeYFD6iDGhtUW0GGeY/Sar+4fGH4RbyZsm0FgoBZ5nY3toN2x6tcUm3hcJvdaBBKCJWCzQH/wHEQRb5MWYzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=starfivetech.com; dmarc=pass action=none header.from=starfivetech.com; dkim=pass header.d=starfivetech.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=starfivetech.com; Received: from ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:17::9) by ZQ4PR01MB1268.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:16::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Wed, 24 Apr 2024 05:13:36 +0000 Received: from ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn ([fe80::301e:ec80:4356:8b14]) by ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn ([fe80::301e:ec80:4356:8b14%6]) with mapi id 15.20.7472.044; Wed, 24 Apr 2024 05:13:36 +0000 From: Ji Sheng Teoh To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Michal Simek Cc: Ji Sheng Teoh , Ley Foon Tan , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Eng Lee Teh Subject: [PATCH v1 2/2] dt-bindings: spi: spi-cadence: Add optional reset control Date: Wed, 24 Apr 2024 13:13:17 +0800 Message-ID: <20240424051317.2084059-3-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240424051317.2084059-1-jisheng.teoh@starfivetech.com> References: <20240424051317.2084059-1-jisheng.teoh@starfivetech.com> X-ClientProxiedBy: NT0PR01CA0024.CHNPR01.prod.partner.outlook.cn (2406:e500:c510:c::8) To ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:17::9) Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: ZQ4PR01MB1154:EE_|ZQ4PR01MB1268:EE_ X-MS-Office365-Filtering-Correlation-Id: c960bd96-051d-480b-48bf-08dc641d4bbb X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KwIMy1HSNfJavBIoHX/XxkIOf6dLljekf9lYA/6Vt76quU4HRI4gukY24/nQ19SV2XOVjKmJJxMgEwo124U8EqCx6AQDV+lW1IUmBITknxr8E1F1yi76d6im+WIaFaO4TLnkgqCH9zt8aq0bhsvW8j1KFSNk2XbGpWl/z2hPsx9h2ccHwcu8/KE8u1vMPKsQdNB0I+YFnnDdknL8YQ+LAQlmca67a6w+noc+tPJsp5n7ss9vDXH29uJrtBdSuqSqm0VIYuvQz5cAnSNYTgj7pRuQa2FzznLv/TIqm9Ngl7MSaQwyW5lzwiksVuJ9lWc8d8cpj40pYiR3HrpNjFQdMGyToSoazdHTcnm7xZCVhjLoxQtuGIgfqmBv4yLOzCTePHCbjrmyKYrOoJJUlE3JYPfYzU8UnGI89c76o2uYieMTlQU4TmnV1d1Ae7vWpuPoO99ObWoXfC2Rs4CKNmp9MvXLaC3ng7f5iUVyyAShgvZPpLGh/Kc3RMwSB/4etSZdoE+TRTQ3o/6+Xdvoo7DEgx+kw9qSvaYSkI/gq2JA6IOgMxhbXsgtfQad3apMAgdcX3Itf1V5ZGCELQigsK1VPhWMdRixZbzn6hfiDu9e65usDyFeYfyHDg4x/V/umFvU X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn;PTR:;CAT:NONE;SFS:(13230031)(52116005)(1800799015)(41320700004)(366007)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UDOtYAcnfKrMbTR5lDYazlbV0nbHINfcdsRfZuF7QRjnWVNl/H4YREG0bp6v2IJYhWOaf9jmHYfhoMAYkQdf8Ewn7DQNKP3CVSV9860qGCoN5VBtBr65cwdqUfOe50ZISpgoI5u5s+tiDfFrD+RGQEMBac3nPEqnMgiD7kD/0IMPZAX4jPVy1uu6XEER8b57+J3xTDM1uD4vMsVSf7oqTRbe+76IZWAaFjcHRUq7Eujhq664q8Z9mbYuzbTCpDDyIh3Vr0/iXHjQ0ZyaaLDRuv2H6hi+7aoXsdP4UC8vjm9mH9MMQ0rW+74MJE9ZuW4A2tfyTFwOFsXBWt4V6gePb2MZxXTrB5umIEU4tT0dBvsNX8nS4MeJ0VHuze3+GdSbQ8bwnnlnfP2j8T3Gu3PVvb6w9aWYzndVU75JLz7+KqHJnadPSyz1ZrT/gBg58od48McRpNRz20LHIV11p4phREjtOlH15a5oyWXe3j1B7QfPhIR+bTE8+NEuWXlQ4nF0McgYBM+slj/wNCz0uY3ecvARb/CJRq6so5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ilyQ== X-OriginatorOrg: starfivetech.com X-MS-Exchange-CrossTenant-Network-Message-Id: c960bd96-051d-480b-48bf-08dc641d4bbb X-MS-Exchange-CrossTenant-AuthSource: ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2024 05:13:36.8825 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 06fe3fa3-1221-43d3-861b-5a4ee687a85c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5xyM1ccI6dxSEviHYDUL75OvBe6y0nvPG2nsEkY4VCxCZ1LfmumGxtv06gj0PMbrSbGNGnlWrFaE+5PgJq6tuSYS5903Ynf+Tlxt2Q1sl7Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZQ4PR01MB1268 Document the optional reset control to SPI. Signed-off-by: Eng Lee Teh Signed-off-by: Ley Foon Tan Signed-off-by: Ji Sheng Teoh --- Documentation/devicetree/bindings/spi/spi-cadence.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-cadence.yaml b/Documentation/devicetree/bindings/spi/spi-cadence.yaml index d4b61b0e8301..2358489be4bc 100644 --- a/Documentation/devicetree/bindings/spi/spi-cadence.yaml +++ b/Documentation/devicetree/bindings/spi/spi-cadence.yaml @@ -55,6 +55,11 @@ properties: label: description: Descriptive name of the SPI controller. + resets: + description: | + Optional entry to specify the reset controller to the SPI + maxItems: 1 + required: - compatible - reg