Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp356604lqs; Thu, 13 Jun 2024 12:01:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMAfG9/YoCsxIKOkU2NgJuRN34WxilADwFBruCUyEY9enrxh0Y7q40/dbP+vccIiZzhTfTB2EC76nVzoulB82qt9ISo1mKAHYwOOn67Q== X-Google-Smtp-Source: AGHT+IE7fjY71tyPj/NptXTqzg68IJH2zcvFtz/tEf/87c7L4YmbjFbJvPJqdPX9Y0a115WAOXOB X-Received: by 2002:a2e:9006:0:b0:2ec:1c9:badb with SMTP id 38308e7fff4ca-2ec0e5b8804mr4254501fa.9.1718305277287; Thu, 13 Jun 2024 12:01:17 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57cb72e2e43si988772a12.168.2024.06.13.12.01.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 12:01:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=NBYcw6yG; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-213876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CDDEC1F21DA3 for ; Thu, 13 Jun 2024 19:01:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4127114D281; Thu, 13 Jun 2024 19:01:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="NBYcw6yG" Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2080.outbound.protection.outlook.com [40.107.21.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 284E5F9F8; Thu, 13 Jun 2024 19:00:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.80 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718305260; cv=fail; b=bmsMVjOlrnL0hrDFTC7JJmTt5V72z6HUxmA6ixXCTSZvioPr17xA8PYGQNHK1aKY5n5v8lmS5826hic+xOgFCq0jEmcyKdAJQq2/32LR0YZnkvcqYGFYtqAIxvoY+jsu6DARun48uWHydWMa5iV52AEF7Q+8YkQxXaLyfV8RMc0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718305260; c=relaxed/simple; bh=1ZOLTYd9nKz3dWoCJmAdaERqxG9Ou/5gY0RXA9AdHIo=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=gXPabdaO+jQ9szFCS/GYgtmpqbCWs65SMXZ8ZucjjrJE832sLmgLD+zbRI4tQSBusltL2m1zhACjE9gE7pZBcrRV/fJQE6LcxswqZH8hocvKHK+dprggg1dMjts+W85uycwqAMyjULjDAvRt+P75OZ1IwJobhaqpBqSiSgBom5s= 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=NBYcw6yG; arc=fail smtp.client-ip=40.107.21.80 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K445UqfDJI51X14P18VydNEYxc/ge/2ir7kLOyWLKGBPT3NH4AhW5vCaHZAAjNHCwom/Ohb/G+MrUBj000rsZtj4yZoUHnChEohwUqR0KZEgG0YW7J1rLct2zd7ewXYu61eovX4OY/8ndWtfd8Yd30XGWCR3yiNDvlm1Xvwz/geGdH6FIUFupQmX3nIgLi6vKdHBnUsGBTNfD6Gcr98tCWMR0QJixUge8bm5cHlz3GBJl8UrgsD2JxqvpABW2LkOnZD45bdASN0kKKRkMZn1QbbfuTK2R6C504v6F7RXfclzmWQAVsIeRtQg/Z8aX5mSh3Y0Bb50GUWN6gObVUTvxA== 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=XUAB24xN6kjPK5ovZyDhtowkdtlZKMCF4c5Y7a2oS+g=; b=H+ggjTEfdXf+5Y02s7r8s1QIXvB4ZAcIKtTLKO9UZiXBWaIpz8R/6QDf+bEZjtB3ejMKEhS0PAhan9aUF+oX1gZWQoRsljc5TfSgnutxEPsX3awrprcYr2rXAdaPVKrBMuFzLqlObWXXhkuDLJShhfD8RylSaEaeKfbm32pIfFKRdsVwh+qSNPZUdhzpD395AtmMOuZ4wK3UM3ST91ZHCVzbE0rp2agV2YRK1nIaTfly77onx10uJvJVMUehO8H9SsP+sC+qNleW5V3Bqhg1261HhsBi5UuGhxmPwL2kXaYjIXWSPfqSfg6s/y0yGjrloMS4odSRc9UiiRnwawblDA== 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=XUAB24xN6kjPK5ovZyDhtowkdtlZKMCF4c5Y7a2oS+g=; b=NBYcw6yGRii/aUzIwnyrI59G6PH9MqaHhp+dKoiDKhayRvSp/Rr4CTLK/2ryxJUSfDo3H3hO6yCayvXI8BAXIP7QG4EgGZgyGluf2S6eIlEGbNjLuY0srYi/amcKZW3+2jtyUWCSdrelk8YXU9JWZT+tZz3bhqdmK7nFk2l+3NM= 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 AS1PR04MB9384.eurprd04.prod.outlook.com (2603:10a6:20b:4d8::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.24; Thu, 13 Jun 2024 19:00:55 +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.7677.024; Thu, 13 Jun 2024 19:00:55 +0000 From: Frank Li Date: Thu, 13 Jun 2024 15:00:37 -0400 Subject: [PATCH v2 1/3] spi: fsl-dspi: use common proptery 'spi-cs-setup(hold)-delay-ns' Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240613-ls_qspi-v2-1-b288f6f5b736@nxp.com> References: <20240613-ls_qspi-v2-0-b288f6f5b736@nxp.com> In-Reply-To: <20240613-ls_qspi-v2-0-b288f6f5b736@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=1718305248; l=1322; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=1ZOLTYd9nKz3dWoCJmAdaERqxG9Ou/5gY0RXA9AdHIo=; b=AigHny9H0acvhuIMW1lTlx9mJFrEZ5WuWDM01EOzUjFXuLy+g5t8qGmSZi7sV7BNo0b/iE1gN ss40sYh5ZuuATumuD0h1Wv0m0JUCL8+4dYUZZ4eCIxtARCs0gaie0Jw X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR03CA0029.namprd03.prod.outlook.com (2603:10b6:a02:a8::42) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS1PR04MB9384:EE_ X-MS-Office365-Filtering-Correlation-Id: 2bbb6667-33f3-4712-3bff-08dc8bdb274e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230035|52116009|376009|7416009|1800799019|366011|38350700009; X-Microsoft-Antispam-Message-Info: =?utf-8?B?aGtGVzBBWm82cGxmRHI5WWhzQ2lJOVdTNkNxK0trenZRUTh6SGUwT0dpUGRJ?= =?utf-8?B?dFJWUllWb0Zpb3ZHS3RSRGtOMnpOMTMrWFFtQTJ4TnczdWFBR08ydlViVkla?= =?utf-8?B?MDZkYk5FVC9vQytEMjNuaUEwbl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.outlook.com;PTR:;CAT:NONE;SFS:(13230035)(52116009)(376009)(7416009)(1800799019)(366011)(38350700009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cjlmQlN1UDZWcWJhY3FMamprWmoyZkwwdWxsbFVXNFh0Yk9rV0hNRGlvYThK?= =?utf-8?B?ZkJvYWRBdHVpSlNaMERqY1ZiOTdNWGlxc3NFeDJXRzV0KzlQYkNINVo3bWlj?= =?utf-8?B?R3pFOVVMK0xWN3pxOWF4MXJmRWU4TGd1NGxZVXMrdDJ2b0tzV3JtV2JjcXc0?= =?utf-8?B?Q1JxZHhlS1ZPYi81bk0xMk5YR3duN1hmZXpTbmxZQUJJYXpMN0hldHpMT1Fl?= =?utf-8?B?ZWxjYzhKbUlCQ2JnWnRNelE4ZGxpRm8xcnlvRWg3K3lSbWJJSSsyNHgvV0tW?= =?utf-8?B?U0pHZ1Q4TGcvNklqeFBqQjlnVmdaMXc3YkVFN2dDeTVib3dIUE91Mk5TVXFi?= =?utf-8?B?eEQzUUtmOFFBZGl4WFViUWFhYnZEUWFwNlhWeEtvajdrRU1XQ0dZQU5zdnh5?= =?utf-8?B?UFRtZzYxaVhiSnhsNXROQ2V2MXgrSFQ0dFlsczdoZ0ZsZGk2S2d3bFFCV2pO?= =?utf-8?B?dDF3YW5NQmhXd3NCTHprV25XZ3BoT3pzdmNxQlJSbG9sTFdxNStPUHBnUTNw?= =?utf-8?B?aU1HZHVkY25GaTZtRjltMVdFUlRUaElkU3ZES2xRQjZKaUY4aWpseDJZMHZP?= =?utf-8?B?WTFDREZuMFBnY1ZHelFkOTkvdldxemxEVmVqVGZoWjgzazAxbXRCenphc2tz?= =?utf-8?B?cVd5ZEJRazR0UXJ0UHRRZU9aSzlvQ0hTNGJBc0pEYlFxTVNRdHRLZU8xQWRi?= =?utf-8?B?SVdwWWo4Y3E2RmVuWVZwYXVqVjJ4clA4K29jdUNuV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TK0lVTVRaWGVEYkVYNTlsQ1daZkhF?= =?utf-8?B?UlFHbFMwcitLTzNkNGJXOEloeEJLMm1FZVJWaTA1d2lQcGl2b0xudDFsSXow?= =?utf-8?B?Mk5TekorNWRmV1V2TlN3UGU0UmUwN1ZicllORXF4anJMZ1IwMjFidmxWcE9t?= =?utf-8?B?cXJDY0plWlhEamtwaiszOTZsTVVkNjdWUU1aa3hjeEc2WjQzUnlrbDlBSEpp?= =?utf-8?B?OW9JTkRoSzJHZ3R0ZHdUMDVZSmRpMzhzM20wSzFLQVprVER5YWMrOExEQksx?= =?utf-8?B?YWlRN2xsc2pMVEZIOHQzaU5laU9CeGtaWHJNSlFvNkJwdTByeS9VUHBpZk9r?= =?utf-8?B?QlF6SUZYRkV5NjJ5SHhwYWFJM1RNOXdhRURkMWJaTVdoWWJHN2xaTDBobVZq?= =?utf-8?B?eklHSmZuREdaWDJoNWd6bjZRMWJ2eDkzS0pqNEl0S1JtODdSZDJBUEFqNlZE?= =?utf-8?Q?vccA=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2bbb6667-33f3-4712-3bff-08dc8bdb274e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2024 19:00:55.3959 (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: Kf1yL1RFvoB0hR/Kk4y8+pNB/fuCK3X3KeZAPq3aiRICEjoa+uquSKOvPAmNtwJsm2Zs7SdAqtXqyd/EK0HJXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9384 Use SPI common DT binding properties 'spi-cs-setup-delay-ns' and 'spi-cs-hold-delay-ns'. If these properties do not exist, fall back to legacy 'fsl,spi-cs-sck-delay' and 'fsl,spi-sck-cs-delay'. Signed-off-by: Frank Li --- drivers/spi/spi-fsl-dspi.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index 0a2730cd07c6a..7c1f8af9d215e 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c @@ -1018,11 +1018,15 @@ static int dspi_setup(struct spi_device *spi) pdata = dev_get_platdata(&dspi->pdev->dev); if (!pdata) { - of_property_read_u32(spi->dev.of_node, "fsl,spi-cs-sck-delay", - &cs_sck_delay); - - of_property_read_u32(spi->dev.of_node, "fsl,spi-sck-cs-delay", - &sck_cs_delay); + cs_sck_delay = spi_delay_to_ns(&spi->cs_setup, NULL); + if (!cs_sck_delay) + of_property_read_u32(spi->dev.of_node, "fsl,spi-cs-sck-delay", + &cs_sck_delay); + + sck_cs_delay = spi_delay_to_ns(&spi->cs_hold, NULL); + if (!sck_cs_delay) + of_property_read_u32(spi->dev.of_node, "fsl,spi-sck-cs-delay", + &sck_cs_delay); } else { cs_sck_delay = pdata->cs_sck_delay; sck_cs_delay = pdata->sck_cs_delay; -- 2.34.1