From patchwork Mon Jun 24 18:55:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 807475 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2047.outbound.protection.outlook.com [40.107.103.47]) (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 424A61A0721; Mon, 24 Jun 2024 18:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719255368; cv=fail; b=e0exJvD+TfAYTELbSTdVjVylqVZZ1zlVQr7c7D1LAcaJ3p2xuEMKtLYskig+u/65Yg1EwVABGzB7HEe21g8FpEeuP6MUIcejQnndBuUPSLfEj9Tks3OeodCxigD94pbqiWdrSHzQSoN/L3MrdlTl+9KC2zdbEwtgr0blyybSCUA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719255368; c=relaxed/simple; bh=PmYQsY2essTluLSJg0o2TW6HFgoqik5wKzt2Zp+nhbc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=T8hyNHEqUG4oKAgoC22qb24C/3QoQK8b+boHlp3Byx4W/ue0hUFbxJjAyeeBqO4UMp+wZX6vAr1R/GGy/32uy69mi7siZknK4JWtbDpS6+wvAJy/2cq78OMdpuoDYkfr37FLRXP+dgnrGixmpWe+01xwK5KUqoR3GWd8nunwDdo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=NgkIUM1E; arc=fail smtp.client-ip=40.107.103.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="NgkIUM1E" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A8KFat6BZeWsTSo9lqHuTYGWDjke+/An15zacuX9dIaubMOiYfXdAfbklwuPLViHiu4nDLQdFWxH4VTeFS3YS7iaF3CmlbERuzOjOOxeXLVPXpJej9Mm2sn6VrbQSYiQzEzjahYu3faFNFjJfAH0zVjlUO+aM1jaj5V6VizGJSWvML8haCRAczaVG4zqUxTsCffz0OpeG0P3mzCUx5fgdqyToxb6Z2gGR2I7ilAU/mb30bUTnSgPumSjop+i2CM+V1XzFZ5LQbdjae3ECsI4ikAws5/3iG/FFjH6y0h68DNriLpFl9X3ZzsYl/2XE5eIoasbmf0vDtqUhoNEoGXcOg== 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=QPsewZbsIBHl0El/Tm0w7Ato0Nmg/b5xX+lTYeF01c0=; b=P0365FtW9eo4qMYRcUeHTbnvwzet6f/ba+KJeL8/TBE/ahrJWD8nsiS/uk/VXnWS3+tiuja82NoZL5ldf0HFMiLc4nt28/Pv5T7oEQGWImWY5QLN1KV7q6P15mdF50+FcnKvW/brg/wdvA5xu5xN6QK8SEiIcDduHn6AFoeGPbCYjjwdz+8iySWbevK1HpVxUQUwpMgCP8IB2Cjwmtfkwi7iIKRyl1vw4coF/oge7On96cFXz9H4vgfncTiMGnB5/JSHdWVXhzOYMwRut4qkXrz38fAr0MXAV1AbR6rBwsTFE/4i3fV1Ru5ZZgh7moSr9rUUqw44ocgnAvSAaF4opQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QPsewZbsIBHl0El/Tm0w7Ato0Nmg/b5xX+lTYeF01c0=; b=NgkIUM1E0zYnnWnn5Ji4NF0OKfpFWpILnH3fg/tQPfkWHrqPcy1x4G+dqD5lM88SHdvHiWe+kXgzvv7ZNa9k+YjXp3EDnKXa2rRq/MRgsbPUskFtaZIGZ+jHSfGADzi+ww17PkK7k4UTM0O36KEe1qRwZdgw6jJ7Ym6y3o93IJM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI0PR04MB10138.eurprd04.prod.outlook.com (2603:10a6:800:242::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.27; Mon, 24 Jun 2024 18:56:03 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7698.020; Mon, 24 Jun 2024 18:56:03 +0000 From: Frank Li Date: Mon, 24 Jun 2024 14:55:29 -0400 Subject: [PATCH v4 3/3] arm64: dts: fsl-ls1043a-rdb: use common spi-cs-setup(hold)-delay-ns Message-Id: <20240624-ls_qspi-v4-3-3d1c6f5005bf@nxp.com> References: <20240624-ls_qspi-v4-0-3d1c6f5005bf@nxp.com> In-Reply-To: <20240624-ls_qspi-v4-0-3d1c6f5005bf@nxp.com> To: Vladimir Oltean , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1719255350; l=1902; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=PmYQsY2essTluLSJg0o2TW6HFgoqik5wKzt2Zp+nhbc=; b=3x+VtoEcc8bWypZNdBf70ZWyPNFKLMRuGX3WUH6QBEvQpOVmD4jEHA8RDXzdr6Cr7mShi5y1Y bQyjA0KilfzBH1dj1XCiwy86alOZHlucSL3kC5BkNkZ2aHXQGmUjokv X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR03CA0014.namprd03.prod.outlook.com (2603:10b6:a02:a8::27) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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: PAXPR04MB9642:EE_|VI0PR04MB10138:EE_ X-MS-Office365-Filtering-Correlation-Id: 36a64650-2d65-4a38-2c0d-08dc947f4be7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|376011|7416011|1800799021|52116011|366013|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?wpbVUGLcg7rt0+lHeSLeU+euZlqBATE?= =?utf-8?q?CwywOaNsE+OwW2HbtuTro0I0elmub0721+YBY6czBL4Y22YYD/5oOyXED3eoYue/S?= =?utf-8?q?MTOQZLR9sJzzAI/ZtMhobna8h82XmuvUbqFwfcHolDJdvcQg2CPP7xBUKyLYkStSi?= =?utf-8?q?35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8?q?I3Wys+YbxWD8mbg43mvR4HYQ3NQVi6CRQoaK6DjpGkQy+20QSf6oWexlQdtSoSJX8?= =?utf-8?q?sZE3P7zkz0bxDhVwhAHIDo7k1Bgk2mcr0AgwP5B7/UUgG4M63liXEClVbnW10s1Uv?= =?utf-8?q?gfsQNmnplJXnI5Q1Jga1ybY+Mxaj+ZnoQHvYjKFYQPTwdiYtypnor48eAE//zoGdD?= =?utf-8?q?oz1yPeEiFWtVPbqN6U8DthyUs//SEQyPm4UijPkACMWe1n1SRLrt4E5RmwpoR5+Y9?= =?utf-8?q?Coz0EaLdmU7J3SK+GcZ8vv1suiL7Y/Gf+c8f7ZaawYFJqkvwpeLAz7n8=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(376011)(7416011)(1800799021)(52116011)(366013)(38350700011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?AE/ul2b+0qHQNZpTfmahPCrqV0e3?= =?utf-8?q?WtrIrhWeUPzzrac0Dc+K9kUskCjS4q9OH6MtdYHB7/WfzR0RF+3yX3AIfjCmh6kph?= =?utf-8?q?BKX1zm0aFxBo6jHnrQwbo3FTRzbkOwGr2dKb/WgzZQPIpJ9CrV+pjkGKx7RUbExPv?= =?utf-8?q?UoP+oOzHA+kTJGvaknwLtPbTo1xeSEy3xtgIHbj7owgWCxaQ9ObJM7Xv/ULuK9umq?= =?utf-8?q?bmRvQNkpocYkofTek10QiQmFB7y4KY9EDZUUQgHCUlXoCmHzgWw4lIxpy45Aj5gqr?= =?utf-8?q?Nv+TVoclSei7RPvEysB4PYKptMQE5xyGxM9AH850kDvCaR059edLlwOhtTtSs44Iq?= =?utf-8?q?ZPfTBzIIRH+dHEJ+77Pd0I6FGOOsicT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v9y9sHMzww2si1C4e0CoZ3ICzOUQaIgy76PrQGh?= =?utf-8?q?2uuQLGwLYBMBAAC5NXSBoyHB454aJfukZHzqbPFzH8TDYGEeDkisStCBvR0gIUih5?= =?utf-8?q?dzIH/TABOajtwcIcr+L9avxbxWyOV4zO+WCCjN5PM7Wpv8wY7xVeeEiFI4OOM7CRS?= =?utf-8?q?8ns626cVQ+Ov3fQrM1iQMKoHS5Rx14mTECsfpszzKXfuCacrzf2pkkLnzLivuu8Iv?= =?utf-8?q?0g57D+j7hvQB0iArNpq2iR8t2erms2EX6rzlYu+mTwQP/EKD2vqqBiErGorfAqu9P?= =?utf-8?q?iDKXwpB43DYM?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36a64650-2d65-4a38-2c0d-08dc947f4be7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 18:56:03.5917 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: AE73o6dJtwlEEpTwevF3aM1HA2++y8K1Oo+vdI+vUkmHDeLk8ZPAsk0WSF5CLNta0kI5zLkwPwe7mJ5DUnITBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10138 Use SPI common properties 'spi-cs-setup-delay-ns' and 'spi-cs-hold-delay-ns', mark private properties 'fsl,spi-cs-sck-delay' and 'fsl,spi-sck-cs-delay' as deprecated. Signed-off-by: Frank Li --- Chang from v3 to v4 - fix typo at commit message - use comments: Standard CS timing properties replace the deprecated vendor variants below --- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts index 26f8540cb101b..de23f5ebaafdb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts @@ -104,6 +104,12 @@ flash@0 { compatible = "n25q128a13", "jedec,spi-nor"; /* 16MB */ reg = <0>; spi-max-frequency = <1000000>; /* input clock */ + /* + * Standard CS timing properties replace the deprecated vendor + * variants below. + */ + spi-cs-setup-delay-ns = <100>; + spi-cs-hold-delay-ns = <100>; fsl,spi-cs-sck-delay = <100>; fsl,spi-sck-cs-delay = <100>; }; @@ -112,6 +118,12 @@ slic@2 { compatible = "maxim,ds26522"; reg = <2>; spi-max-frequency = <2000000>; + /* + * Standard CS timing properties replace the deprecated vendor + * variants below. + */ + spi-cs-setup-delay-ns = <100>; + spi-cs-hold-delay-ns = <50>; fsl,spi-cs-sck-delay = <100>; fsl,spi-sck-cs-delay = <50>; }; @@ -120,6 +132,12 @@ slic@3 { compatible = "maxim,ds26522"; reg = <3>; spi-max-frequency = <2000000>; + /* + * Standard CS timing properties replace the deprecated vendor + * variants below. + */ + spi-cs-setup-delay-ns = <100>; + spi-cs-hold-delay-ns = <50>; fsl,spi-cs-sck-delay = <100>; fsl,spi-sck-cs-delay = <50>; };