From nobody Sun Feb 8 07:07:52 2026 Received: from OS8PR02CU002.outbound.protection.outlook.com (mail-japanwestazon11022072.outbound.protection.outlook.com [40.107.75.72]) (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 CFD4E32ABF7; Fri, 31 Oct 2025 07:30:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.75.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761895817; cv=fail; b=s/Lj2kzd07d2zwSRuieIkzA4yrxr9VS7W5PX618xgsBlg9+64xeoaHcVISHQ/UvCAFSEtr4gMVT3nP2uIj0IYM5q8ArxRaA5VLL5HmFNkcpRpTInl/9OOuKhVKIaetCn3ItHIiMkomJhK8tPduLUWYieeJi/bQfoh6k87CaZpik= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761895817; c=relaxed/simple; bh=vcxKBkSjhWv9aRJkN1jvvlaW0SLSzLEqKCPS7JBJx60=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=GqYvgoW5pZMN7Q7I3BtdOz4RIO8kWHu6S4yA8NTt9mfh3OHFdNdkD38QtzlynCWdNBfiHMVoQIuIPmPukYtILNSWF7HNkngKY3nDyZE9SD+dLORuSbb/QdorCyPOIz3QYgVP5nlZp0Ml7h3atl921IBrBdIuHkYWus0reBLiSYE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com; spf=pass smtp.mailfrom=cixtech.com; arc=fail smtp.client-ip=40.107.75.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cixtech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=F4hPKHM4ecfgwa1yRjEj3aseTpxBF5FM4zUEO+ByNze6WY6qb+LjTnhTn+FBAVdY5wB7LH4u8temllsB834ycF6EzvEmS20aehzrETx/1kf6nPSZRYHkb6LXumxH2JTMKxZbojLLoqoeUsQHKzmdrHLO7pArxUF0rCVK8cFyFaSUnurQ+lPzANfU5kjQR8vprehHcVFkCNi2jzRdbG/Psletb7VSQG3GqEC4jOfcQ7vp300STSb+HPEHlSt3qJlEMRnz/RJ5HjfzWQE0RIVOiIYbAjnNTFCFdTN40q/YsKZU6o4PiJm5Q9F4ti3BavMiZbN6nEY8rgYl40o7OBjNtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=LC2nDHKB6IalilFbVlVhaEQyAgioaKUdgu1i2CyQeCg=; b=YoLge9P3N8isCAXmD8QBkb44NANl7GOJwlTtoUSuYHCYgJzkkp/dfoJ4n20cYrR/uhdXR69GmSTNsthLHni4fhicut1LGNrPd1P/YsjiEAL0tiRrt2Ulk5tK/lt+ztNNcVxpZ07pdjDOVwW7GFRTg/nAZOgIpGPUYe2qb25Ml+4SU7PEO0xjA3V/u/6XYMznUsvh0EdM3esiMaesd7EbZRI5VHDp48U8eQ4/TP5sz/OUoyxQurx0mfntcGtu0UFqj3cSagw9GUOFIayhiuiyANwG7sloEpyrN+NJmSI+FiXIOkiPoxx/TSL6cHYL/uSoAXkGzbOzXG3h3Efh19v2eA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 222.71.101.198) smtp.rcpttodomain=amd.com smtp.mailfrom=cixtech.com; dmarc=bestguesspass action=none header.from=cixtech.com; dkim=none (message not signed); arc=none (0) Received: from TYCP286CA0059.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b5::16) by TY1PPFDCB6144B3.apcprd06.prod.outlook.com (2603:1096:408::92a) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9253.12; Fri, 31 Oct 2025 07:30:06 +0000 Received: from TY2PEPF0000AB84.apcprd03.prod.outlook.com (2603:1096:400:2b5:cafe::e2) by TYCP286CA0059.outlook.office365.com (2603:1096:400:2b5::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9275.15 via Frontend Transport; Fri, 31 Oct 2025 07:30:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 222.71.101.198) smtp.mailfrom=cixtech.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=cixtech.com; Received-SPF: Pass (protection.outlook.com: domain of cixtech.com designates 222.71.101.198 as permitted sender) receiver=protection.outlook.com; client-ip=222.71.101.198; helo=smtprelay.cixcomputing.com; pr=C Received: from smtprelay.cixcomputing.com (222.71.101.198) by TY2PEPF0000AB84.mail.protection.outlook.com (10.167.253.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.10 via Frontend Transport; Fri, 31 Oct 2025 07:30:05 +0000 Received: from guoo-System-Product-Name.. (unknown [172.20.64.188]) by smtprelay.cixcomputing.com (Postfix) with ESMTPSA id DAFFE41C014A; Fri, 31 Oct 2025 15:30:03 +0800 (CST) From: Jun Guo To: peter.chen@cixtech.com, fugang.duan@cixtech.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, broonie@kernel.org Cc: linux-spi@vger.kernel.org, michal.simek@amd.com, cix-kernel-upstream@cixtech.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jun Guo Subject: [PATCH v3 1/3] dt-bindings: spi: spi-cadence: update DT binding docs to support cix sky1 SoC Date: Fri, 31 Oct 2025 15:30:01 +0800 Message-Id: <20251031073003.3289573-2-jun.guo@cixtech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251031073003.3289573-1-jun.guo@cixtech.com> References: <20251031073003.3289573-1-jun.guo@cixtech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY2PEPF0000AB84:EE_|TY1PPFDCB6144B3:EE_ X-MS-Office365-Filtering-Correlation-Id: 74bb56f0-d7f5-4fcd-647e-08de184f4fbb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?hugsqabUrP5Sz1UR7LBPnddsmlyQL29QKVBWaC5+Ylm5aoZDPL8bP4nbdsO2?= =?us-ascii?Q?c65tfZHE5eM4E8yLWDlLpwYwZ9ahRYd7TkeagKFV9YC04DAKVyVUYLpYo2Cm?= =?us-ascii?Q?VlYNbUEcMNpgClD77tev5Zzao71Fb9Z6wNycH4dmp0ZTZY1miKubgV6u3/BU?= =?us-ascii?Q?BUistx30Nh3E1pa4yYWznEDnJeErfWoJcaSgiFWvU6/h+BSVtTcSG3GrWJtF?= =?us-ascii?Q?Z5djcP3fEDWwIlPsybnxoQSV0/JiHzsq/NLABYE8401DwQgobxwF3DSWLHn1?= =?us-ascii?Q?EJ3omOImLxDh4N+zB+5viDE8fcvl4yYup624f3XWk5wTvrvS2F75gRPHtjnx?= =?us-ascii?Q?abYDhTVcDi1oNS7g6dQO5NXN5EUYYsCcnol/YJKkxrc+arpfHnmD8aIJWUFN?= =?us-ascii?Q?9Rxfv5TTf3qLP28/Z30nqKguZRYZrL2sSndSixhVOnKbok4YhN/nJRVwysPk?= =?us-ascii?Q?EHtu4mSF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IX?= =?us-ascii?Q?+hYGqa/6smvm6QMcKVID46hcPnomrYw1Q402B9P8yw/argv2gHDpPFK7e29N?= =?us-ascii?Q?Gm2zMkvBnqlQpzmeQeBUrSgOX8300tubFhmzWCSjOlXINNAbCOCeqsyICEUy?= =?us-ascii?Q?WwrBeFoKP9RuXj+rG+CT8JmN/heVe52Jw6fESnShI8LHuYbhqabpTPtJPeKV?= =?us-ascii?Q?pHwzrAMwLlJMPhpPzuE=3D?= X-Forefront-Antispam-Report: CIP:222.71.101.198;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:smtprelay.cixcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1102; X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2025 07:30:05.0090 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 74bb56f0-d7f5-4fcd-647e-08de184f4fbb X-MS-Exchange-CrossTenant-Id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0409f77a-e53d-4d23-943e-ccade7cb4811;Ip=[222.71.101.198];Helo=[smtprelay.cixcomputing.com] X-MS-Exchange-CrossTenant-AuthSource: TY2PEPF0000AB84.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PPFDCB6144B3 Content-Type: text/plain; charset="utf-8" - Add new compatible strings to the DT binding documents to support cix sky1 SoC. Signed-off-by: Jun Guo Acked-by: Conor Dooley --- Documentation/devicetree/bindings/spi/spi-cadence.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-cadence.yaml b/Docum= entation/devicetree/bindings/spi/spi-cadence.yaml index 27414b78d61d..347bed0c4956 100644 --- a/Documentation/devicetree/bindings/spi/spi-cadence.yaml +++ b/Documentation/devicetree/bindings/spi/spi-cadence.yaml @@ -21,6 +21,7 @@ properties: - enum: - xlnx,zynqmp-spi-r1p6 - xlnx,versal-net-spi-r1p6 + - cix,sky1-spi-r1p6 - const: cdns,spi-r1p6 =20 reg: --=20 2.34.1 From nobody Sun Feb 8 07:07:52 2026 Received: from OS8PR02CU002.outbound.protection.outlook.com (mail-japanwestazon11022112.outbound.protection.outlook.com [40.107.75.112]) (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 483D3329E44; Fri, 31 Oct 2025 07:30:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.75.112 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761895813; cv=fail; b=deE4rjM4WpE7/jYgPW8Juw6sCTlTL+yRBE/wDkQRz8bOc3GS3qnajo8E5qFKfzFE1hw17e25kWwkaxHCbgJqVytUiR8SaTZ0p/x8IjNc6Fkjy32kQaMPPkFMGquE3QZ4GLN4HwZO9DcqSHGEBN6r1Kd4cZ2Jhxl7R5wOAA4lmbw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761895813; c=relaxed/simple; bh=VkH7qvCLQOtyLje/bgY2elPfc05szlSZ9xbEO5HIhGE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=aeYmkZjnN1avVin+p7h8eePwPLfj6QvRCxZL03XVogCiTN/ncs0T80vprQDEr5o8ptZpMbfByGBCCLN8mm49Pcwq/ypgq2spCFIICMgaOG8flNVHs5LZpcaJa/B1BNrtO+PUVgSp0jeYG0/NePlCldCwu7W08DuprE04FTgbELs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com; spf=pass smtp.mailfrom=cixtech.com; arc=fail smtp.client-ip=40.107.75.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cixtech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DT+3CV1mMtqdqJwmcffGLt/UYd6bEsHZ1wBFKlBCD9oN6L43hXPfr43ERo7pce+RuJIWRLSQiES5gJyvYA/sJwNp17rze+1wM/a2qzOIc4Q/OEt3+5TlnM9zwKTWCAXoSZer13g/ndrA1y8TQh5sjFdzQCDuxyamor6aSLIVzUsJy1es5valrr0aBuWxbIhcJpKtGw4N0zx4J/gf1ac8edh8w9ko+92QOpEnKqvunPmUTsZnVoWeWAiHy3yknmKZHIXbBCaJK9Je31E1rBRXLxLcoV3FHOoRo6ZEngO/nUL223GDZoLV9eU+jUio2HVGfX9N73GsqLSioD6jjXItuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Wce4tNWUEqmy3zx/t/UI+3vfZvOd9+aZ0wiSmODCESU=; b=PoKi3yiqoyfEzGaxJ0INIvgdAfU23CvLw/go5UzF75AoRnrpkTKUxNq+auen+qatH9lW2oIfF4pRzqLvOw4h311F1wjhknwDcx5bSpsqJj7zJcZ+Pv87/B6lxTvjx2z9AU+lbRDR2EFZP8Yb4LbT2Za4ABy6VsIPMtRvtTzZIdQsElHKgVNoL0L5bQqUjLharuW9EeC5Yogfmjpg/OW85l7QMD4WcREHEt+L+yGjSLEASy9+DnP3IQUVC0Fh5NrRUnFOnXVubV8MQwN/Dn981amMoJT0PzQLMK9NprEdB531E+h+TIS6q3jZTNr2dodHFg/vCZdK9yZwp2fOem0c3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 222.71.101.198) smtp.rcpttodomain=amd.com smtp.mailfrom=cixtech.com; dmarc=bestguesspass action=none header.from=cixtech.com; dkim=none (message not signed); arc=none (0) Received: from PS2PR02CA0035.apcprd02.prod.outlook.com (2603:1096:300:59::23) by KL1PR06MB6323.apcprd06.prod.outlook.com (2603:1096:820:e4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.14; Fri, 31 Oct 2025 07:30:06 +0000 Received: from TY2PEPF0000AB86.apcprd03.prod.outlook.com (2603:1096:300:59:cafe::ae) by PS2PR02CA0035.outlook.office365.com (2603:1096:300:59::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9275.15 via Frontend Transport; Fri, 31 Oct 2025 07:30:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 222.71.101.198) smtp.mailfrom=cixtech.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=cixtech.com; Received-SPF: Pass (protection.outlook.com: domain of cixtech.com designates 222.71.101.198 as permitted sender) receiver=protection.outlook.com; client-ip=222.71.101.198; helo=smtprelay.cixcomputing.com; pr=C Received: from smtprelay.cixcomputing.com (222.71.101.198) by TY2PEPF0000AB86.mail.protection.outlook.com (10.167.253.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.10 via Frontend Transport; Fri, 31 Oct 2025 07:30:05 +0000 Received: from guoo-System-Product-Name.. (unknown [172.20.64.188]) by smtprelay.cixcomputing.com (Postfix) with ESMTPSA id 39DB240A5A13; Fri, 31 Oct 2025 15:30:04 +0800 (CST) From: Jun Guo To: peter.chen@cixtech.com, fugang.duan@cixtech.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, broonie@kernel.org Cc: linux-spi@vger.kernel.org, michal.simek@amd.com, cix-kernel-upstream@cixtech.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jun Guo Subject: [PATCH v3 2/3] spi: spi-cadence: supports transmission with bits_per_word of 16 and 32 Date: Fri, 31 Oct 2025 15:30:02 +0800 Message-Id: <20251031073003.3289573-3-jun.guo@cixtech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251031073003.3289573-1-jun.guo@cixtech.com> References: <20251031073003.3289573-1-jun.guo@cixtech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY2PEPF0000AB86:EE_|KL1PR06MB6323:EE_ X-MS-Office365-Filtering-Correlation-Id: 274f1441-788f-4026-eaf7-08de184f4fdc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?icQTyGzeVqAwkXUioE9vOxvi6wfZwjsJ8vi5ljIxxP9BD3JjMHZCnBx6qRes?= =?us-ascii?Q?RBiIuisz7kgNeb5ZUoko6/bmPEOeEHHXiiLRUW3R/gM4LeJAAXjcgwSFnriK?= =?us-ascii?Q?NUhzbOAVJcyzUbK1hCnLaXxRPwoFZAGu7LwmbjEwTciRv2pWvwRgLN9T+2Ir?= =?us-ascii?Q?ONJaQKtw/UgOCvskEIw3ruf/whpROuP6np2762+eNodmfV09rvG/otPhmhEx?= =?us-ascii?Q?sQKn0SlrVjby6oMZbk7I+12Kj5Gr9ppTlnyBiQIEfrwYSQHl22QHwzjauQo+?= =?us-ascii?Q?DXG1NWXhzZSAd2DDMjuFJFDBXrgP0UqQ10GydCfdiqF4XNhLQ+ydmCc3q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5q9iJ+HBCjSLarfP8HtJFbpd+xGH4?= =?us-ascii?Q?bNrhVJKgdKrwqfIh7O0iNJqsm+Qrg/ybY0pm6PnHCTwPZZHcD+LpBCexszHo?= =?us-ascii?Q?4QOFslERrHFa1fyJvyR4EgdA5FFWglTlCZ+KxpGKKGTduzM4meu75rUCYL6A?= =?us-ascii?Q?ufv5hvabotL8pt+pwfa0kH9Vthonbtk7gpimXh143dF4ssAzCc/SYJK4gNHX?= =?us-ascii?Q?hoZI98ShTvB3gLsbeKzdSjhFROQCKElTjoEv3r8O2sQ5PMvGliUX/RSf1xPd?= =?us-ascii?Q?cVYPRcVo/in/XTkzXUe6d7qFK+wZJCm3s8OlqJ91JYd+BAfn3Rswc5tHjBKz?= =?us-ascii?Q?Zb7kaXt8qZH2NzK9m3I=3D?= X-Forefront-Antispam-Report: CIP:222.71.101.198;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:smtprelay.cixcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(1800799024)(82310400026)(36860700013);DIR:OUT;SFP:1102; X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2025 07:30:05.2469 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 274f1441-788f-4026-eaf7-08de184f4fdc X-MS-Exchange-CrossTenant-Id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0409f77a-e53d-4d23-943e-ccade7cb4811;Ip=[222.71.101.198];Helo=[smtprelay.cixcomputing.com] X-MS-Exchange-CrossTenant-AuthSource: TY2PEPF0000AB86.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR06MB6323 Content-Type: text/plain; charset="utf-8" The default FIFO data width of the Cadence SPI IP is 8 bits, but the hardware supports configurations of 16 bits and 32 bits. This patch enhances the driver to support communication with both 16-bits and 32-bits FIFO data widths. Signed-off-by: Jun Guo --- drivers/spi/spi-cadence.c | 106 +++++++++++++++++++++++++++++++++----- 1 file changed, 93 insertions(+), 13 deletions(-) diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index 5ae09b21d23a..47054da630d0 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c @@ -109,6 +109,7 @@ * @rxbuf: Pointer to the RX buffer * @tx_bytes: Number of bytes left to transfer * @rx_bytes: Number of bytes requested + * @n_bytes: Number of bytes per word * @dev_busy: Device busy flag * @is_decoded_cs: Flag for decoder property set or not * @tx_fifo_depth: Depth of the TX FIFO @@ -120,16 +121,24 @@ struct cdns_spi { struct clk *pclk; unsigned int clk_rate; u32 speed_hz; - const u8 *txbuf; - u8 *rxbuf; + const void *txbuf; + void *rxbuf; int tx_bytes; int rx_bytes; + u8 n_bytes; u8 dev_busy; u32 is_decoded_cs; unsigned int tx_fifo_depth; struct reset_control *rstc; }; =20 +enum cdns_spi_frame_n_bytes { + CDNS_SPI_N_BYTES_NULL =3D 0, + CDNS_SPI_N_BYTES_U8 =3D 1, + CDNS_SPI_N_BYTES_U16 =3D 2, + CDNS_SPI_N_BYTES_U32 =3D 4 +}; + /* Macros for the SPI controller read/write */ static inline u32 cdns_spi_read(struct cdns_spi *xspi, u32 offset) { @@ -305,6 +314,78 @@ static int cdns_spi_setup_transfer(struct spi_device *= spi, return 0; } =20 +static u8 cdns_spi_n_bytes(struct spi_transfer *transfer) +{ + if (transfer->bits_per_word <=3D 8) + return CDNS_SPI_N_BYTES_U8; + else if (transfer->bits_per_word <=3D 16) + return CDNS_SPI_N_BYTES_U16; + else + return CDNS_SPI_N_BYTES_U32; +} + +static inline void cdns_spi_reader(struct cdns_spi *xspi) +{ + u32 rxw =3D 0; + + if (xspi->rxbuf && !IS_ALIGNED((uintptr_t)xspi->rxbuf, xspi->n_bytes)) { + pr_err("%s: rxbuf address is not aligned for %d bytes\n", + __func__, xspi->n_bytes); + return; + } + + rxw =3D cdns_spi_read(xspi, CDNS_SPI_RXD); + if (xspi->rxbuf) { + switch (xspi->n_bytes) { + case CDNS_SPI_N_BYTES_U8: + *(u8 *)xspi->rxbuf =3D rxw; + break; + case CDNS_SPI_N_BYTES_U16: + *(u16 *)xspi->rxbuf =3D rxw; + break; + case CDNS_SPI_N_BYTES_U32: + *(u32 *)xspi->rxbuf =3D rxw; + break; + default: + pr_err("%s invalid n_bytes %d\n", __func__, + xspi->n_bytes); + return; + } + xspi->rxbuf =3D (u8 *)xspi->rxbuf + xspi->n_bytes; + } +} + +static inline void cdns_spi_writer(struct cdns_spi *xspi) +{ + u32 txw =3D 0; + + if (xspi->txbuf && !IS_ALIGNED((uintptr_t)xspi->txbuf, xspi->n_bytes)) { + pr_err("%s: txbuf address is not aligned for %d bytes\n", + __func__, xspi->n_bytes); + return; + } + + if (xspi->txbuf) { + switch (xspi->n_bytes) { + case CDNS_SPI_N_BYTES_U8: + txw =3D *(u8 *)xspi->txbuf; + break; + case CDNS_SPI_N_BYTES_U16: + txw =3D *(u16 *)xspi->txbuf; + break; + case CDNS_SPI_N_BYTES_U32: + txw =3D *(u32 *)xspi->txbuf; + break; + default: + pr_err("%s invalid n_bytes %d\n", __func__, + xspi->n_bytes); + return; + } + cdns_spi_write(xspi, CDNS_SPI_TXD, txw); + xspi->txbuf =3D (u8 *)xspi->txbuf + xspi->n_bytes; + } +} + /** * cdns_spi_process_fifo - Fills the TX FIFO, and drain the RX FIFO * @xspi: Pointer to the cdns_spi structure @@ -321,23 +402,14 @@ static void cdns_spi_process_fifo(struct cdns_spi *xs= pi, int ntx, int nrx) =20 while (ntx || nrx) { if (nrx) { - u8 data =3D cdns_spi_read(xspi, CDNS_SPI_RXD); - - if (xspi->rxbuf) - *xspi->rxbuf++ =3D data; - + cdns_spi_reader(xspi); nrx--; } =20 if (ntx) { - if (xspi->txbuf) - cdns_spi_write(xspi, CDNS_SPI_TXD, *xspi->txbuf++); - else - cdns_spi_write(xspi, CDNS_SPI_TXD, 0); - + cdns_spi_writer(xspi); ntx--; } - } } =20 @@ -454,6 +526,10 @@ static int cdns_transfer_one(struct spi_controller *ct= lr, if (cdns_spi_read(xspi, CDNS_SPI_ISR) & CDNS_SPI_IXR_TXFULL) udelay(10); =20 + xspi->n_bytes =3D cdns_spi_n_bytes(transfer); + xspi->tx_bytes =3D DIV_ROUND_UP(xspi->tx_bytes, xspi->n_bytes); + xspi->rx_bytes =3D DIV_ROUND_UP(xspi->rx_bytes, xspi->n_bytes); + cdns_spi_process_fifo(xspi, xspi->tx_fifo_depth, 0); =20 cdns_spi_write(xspi, CDNS_SPI_IER, CDNS_SPI_IXR_DEFAULT); @@ -654,6 +730,9 @@ static int cdns_spi_probe(struct platform_device *pdev) ctlr->mode_bits =3D SPI_CPOL | SPI_CPHA; ctlr->bits_per_word_mask =3D SPI_BPW_MASK(8); =20 + if (of_device_is_compatible(pdev->dev.of_node, "cix,sky1-spi-r1p6")) + ctlr->bits_per_word_mask |=3D SPI_BPW_MASK(16) | SPI_BPW_MASK(32); + if (!spi_controller_is_target(ctlr)) { ctlr->mode_bits |=3D SPI_CS_HIGH; ctlr->set_cs =3D cdns_spi_chipselect; @@ -797,6 +876,7 @@ static const struct dev_pm_ops cdns_spi_dev_pm_ops =3D { =20 static const struct of_device_id cdns_spi_of_match[] =3D { { .compatible =3D "xlnx,zynq-spi-r1p6" }, + { .compatible =3D "cix,sky1-spi-r1p6" }, { .compatible =3D "cdns,spi-r1p6" }, { /* end of table */ } }; --=20 2.34.1 From nobody Sun Feb 8 07:07:52 2026 Received: from SEYPR02CU001.outbound.protection.outlook.com (mail-koreacentralazon11023080.outbound.protection.outlook.com [40.107.44.80]) (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 E3F23329E56; Fri, 31 Oct 2025 07:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.44.80 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761895813; cv=fail; b=lDo6zXonU5WOzCspXHACYbuJhkHnLXVMcabEsi0JI7ak2J4EdvXtYcuW1zAgAZQS0z0cb/2Xmj4+jUnO9wZg3W1NFPvGz3vscvuTBgB+u9HHCsDKIl3OzsGPaxP+7zrulpgJKtB707IuK3IDwzEhQSsPjvg2OcZO5c+Uj3MAjyQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761895813; c=relaxed/simple; bh=tAxOiF8zIj9k8oeQX4z9lnWqV6iC0p59rGarBodFEKg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=T1xqWCh2VPD08GDjINTGVCJ/BvGnQmBABVycLdN1ToKRDaK1xp+vp9l86KTRl+xlEnDxopriTG8eMWnZpsG/onSB8weKXJo94C61ud585bUB549vNRHiVMg+gpTy9kdqVZ+yL6yw2Df63LtlCe++zVLCFxGP4tGRAQsA7kDRG2c= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com; spf=pass smtp.mailfrom=cixtech.com; arc=fail smtp.client-ip=40.107.44.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cixtech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=f08hpXlAdIBZ5d8Y/BKBSPwvUKfC15E4g9qiM+dwcIOBTJjAwZMkU93ybSA6aWnfefs7iKQxqKzzb7fwDv9iuzwQ2XChoP0Kr6jYBr6X7r6KXALxkSSCL5TORk5He2ECsELhiv910LQI4TCehPIxPG65xyl042BFDWUK9NY9aoYFfUS3zjWVQIzQb0bfeNHgO+kYEzX7uqiX74zAkMJhEDbM8LyA0FtppRl+l79ODQw13w3bVHQ+LSfs1h+a9uv+4Yb0IqmMtSn5Vigxe02wLPJDm9GWqCBQrA9e080m+AzSdiHjvl1nk1Y3vYnojE2Nf/MD55S30kSE1Ij2bssV6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ZGgWA70lT5FqnKk+8CQ+swW1c6q6S/SJLiE5Mcodpzw=; b=V3xf/U+zyVnUneM5Z+Ag7Z3bSL15K6TlHk0x3Y9Qz2cleh6RFS4KdN4yapldLLK/wpgZAQT6MOtU8qV7dqRQBirHJNCDRcBCZf6LD8A4i2WWPB/3RSXmwy5XOqLnrZcGcpccfh//NJUngo4tb6awA6uxs6gEviaIVGa3UkE5nlVvAi3jVb0+xtr9LOc4Zxs2JRCV0xX66voCVi0Jk93bYV5FKjvvCOf0535mGXX3E4FsX5HJu+RgARsZofPTL1cKmCYiLMuqZd4MKZpjZ7tvzKdz2BpfkqYdfQSgH5WVDb4GdHIhUj5eTmhTTls3OfGs7cZopJ5w6SrKYiWyjETjKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 222.71.101.198) smtp.rcpttodomain=amd.com smtp.mailfrom=cixtech.com; dmarc=bestguesspass action=none header.from=cixtech.com; dkim=none (message not signed); arc=none (0) Received: from PS2PR02CA0087.apcprd02.prod.outlook.com (2603:1096:300:5c::27) by KL1PR06MB7330.apcprd06.prod.outlook.com (2603:1096:820:146::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.13; Fri, 31 Oct 2025 07:30:06 +0000 Received: from TY2PEPF0000AB88.apcprd03.prod.outlook.com (2603:1096:300:5c:cafe::11) by PS2PR02CA0087.outlook.office365.com (2603:1096:300:5c::27) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9275.15 via Frontend Transport; Fri, 31 Oct 2025 07:30:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 222.71.101.198) smtp.mailfrom=cixtech.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=cixtech.com; Received-SPF: Pass (protection.outlook.com: domain of cixtech.com designates 222.71.101.198 as permitted sender) receiver=protection.outlook.com; client-ip=222.71.101.198; helo=smtprelay.cixcomputing.com; pr=C Received: from smtprelay.cixcomputing.com (222.71.101.198) by TY2PEPF0000AB88.mail.protection.outlook.com (10.167.253.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9275.10 via Frontend Transport; Fri, 31 Oct 2025 07:30:05 +0000 Received: from guoo-System-Product-Name.. (unknown [172.20.64.188]) by smtprelay.cixcomputing.com (Postfix) with ESMTPSA id 8D2CE40F0506; Fri, 31 Oct 2025 15:30:04 +0800 (CST) From: Jun Guo To: peter.chen@cixtech.com, fugang.duan@cixtech.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, broonie@kernel.org Cc: linux-spi@vger.kernel.org, michal.simek@amd.com, cix-kernel-upstream@cixtech.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jun Guo Subject: [PATCH v3 3/3] arm64: dts: cix: add a compatible string for the cix sky1 SoC Date: Fri, 31 Oct 2025 15:30:03 +0800 Message-Id: <20251031073003.3289573-4-jun.guo@cixtech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251031073003.3289573-1-jun.guo@cixtech.com> References: <20251031073003.3289573-1-jun.guo@cixtech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY2PEPF0000AB88:EE_|KL1PR06MB7330:EE_ X-MS-Office365-Filtering-Correlation-Id: 206b9706-169e-41aa-20e2-08de184f5023 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?i02WVFXukgQuOgvvL0lwHAaa9mY5EB3sEaUKQYnbN8MJ+LZnaaPVlC+rtJiO?= =?us-ascii?Q?AL82MICXU2r9cjj3k5QYRbSMA3u4ZBI6nUkH6wimXQcbM9AMK4sIJJiICdNa?= =?us-ascii?Q?wWoFhiQDHTIbP0XkpxE++FLEUI5LMhID/rNV2z/2YmsU0ExjQzApfsUTYFH2?= =?us-ascii?Q?QBV53LZysm3yh/m3Y6OcfG6QmV2aFpJixzbHBctdq6Ikh8zc2vmy8FMZvifD?= =?us-ascii?Q?OlPlrogAHJ/jVeV6brjbjjFX0ihNs86qwSRkcxvJbJ1UbdBPsD5AG7/MsMwd?= =?us-ascii?Q?76q8Kun73zbAY5BshNzXxu5c+ENk0MLqTpCfMUjYgINuWL4q5VMC5v4usv1J?= =?us-ascii?Q?PZ5Y20ElhwkHKUfS1yIKMuk0onVM1YI6Sb4mxXuEplTDTsPm/d8BnSTFBosL?= =?us-ascii?Q?V7BgywCPDVyz0tR3cODoQQTLZsG9no2rOPqeyVjHsZOO8G//fP8FbyPdZE4S?= =?us-ascii?Q?XGjQezmYKom6UZm9/uo/rqh256WeYWVAD609Qa9oCKNccN930AkRda4TcAy+?= =?us-ascii?Q?snChuVgCq4l/vzUk/ADovad8paTfdZggOp+JHZcTWuhQISUAVYxMYVH4raz5?= =?us-ascii?Q?kjukr3nLEYEDNAQIP91MdlbazIWI7SOgMpxkOS6DftGeXGp37xJagt1pmn7C?= =?us-ascii?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xwrYLSN4T8LerNZPc?= =?us-ascii?Q?SeOuPdK35J/TybXEe7c=3D?= X-Forefront-Antispam-Report: CIP:222.71.101.198;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:smtprelay.cixcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(376014)(1800799024)(82310400026);DIR:OUT;SFP:1102; X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2025 07:30:05.6832 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 206b9706-169e-41aa-20e2-08de184f5023 X-MS-Exchange-CrossTenant-Id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0409f77a-e53d-4d23-943e-ccade7cb4811;Ip=[222.71.101.198];Helo=[smtprelay.cixcomputing.com] X-MS-Exchange-CrossTenant-AuthSource: TY2PEPF0000AB88.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR06MB7330 Content-Type: text/plain; charset="utf-8" The SPI IP design for the cix sky1 SoC uses a FIFO with a data width of 32 bits, instead of the default 8 bits. Therefore, a compatible string is added to specify the FIFO data width configuration for the cix sky1 SoC. Signed-off-by: Jun Guo --- arch/arm64/boot/dts/cix/sky1.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/cix/sky1.dtsi b/arch/arm64/boot/dts/cix/sk= y1.dtsi index d21387224e79..189b9a3be55c 100644 --- a/arch/arm64/boot/dts/cix/sky1.dtsi +++ b/arch/arm64/boot/dts/cix/sky1.dtsi @@ -265,7 +265,7 @@ i2c7: i2c@4080000 { }; =20 spi0: spi@4090000 { - compatible =3D "cdns,spi-r1p6"; + compatible =3D "cix,sky1-spi-r1p6", "cdns,spi-r1p6"; reg =3D <0x0 0x04090000 0x0 0x10000>; clocks =3D <&scmi_clk CLK_TREE_FCH_SPI0_APB>, <&scmi_clk CLK_TREE_FCH_SPI0_APB>; @@ -275,7 +275,7 @@ spi0: spi@4090000 { }; =20 spi1: spi@40a0000 { - compatible =3D "cdns,spi-r1p6"; + compatible =3D "cix,sky1-spi-r1p6", "cdns,spi-r1p6"; reg =3D <0x0 0x040a0000 0x0 0x10000>; clocks =3D <&scmi_clk CLK_TREE_FCH_SPI1_APB>, <&scmi_clk CLK_TREE_FCH_SPI1_APB>; --=20 2.34.1