From patchwork Thu Jun 13 19:00:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13697324 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2049.outbound.protection.outlook.com [40.107.7.49]) (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 EE622F9F8 for ; Thu, 13 Jun 2024 19:00:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718305257; cv=fail; b=ZZs1v1bEe5TuHhD4PWK9ArQrciJBPsuvNcdrlLc2xdXRvbvvOHW1Kwl767b+XsN/AhO92AkR2wlM2sQlDyBb5I2N/+PJ0b2P0y68Anja+mgkrhVCYAMJCGFnfhgfqXDY0dtgO/2rM4UVmvMRAqLfd2p3odFNZl0gadQ6mIzah/E= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718305257; c=relaxed/simple; bh=bp2CqPQj9e1L7ZUVCEd+6JZzs5bCZwX6xdjL2vNhsh8=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=cDSpHaw9JzuVwpuBB3Cke/EXx1KOqePnATbQgX4aqGornZr+zU27P66zBiFTGj0Qf7G+trqXFBmAK7UBuzgj0Elzx2uhcO7AOt7hEBHbHiFDuaVxORMRfBWcBic+h3ffV8Bd55qpshzlNNcmxEnU6r5C6sHjkEU6SlNzSCfxthI= 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=dhEjWAst; arc=fail smtp.client-ip=40.107.7.49 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="dhEjWAst" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DGBAUnAKlLnEkUY/uENXX4G6eZmZpaHhEnW7OVKbDD4fXrutUvpBLjqrgvNHho9/Z1ZQe/h6rawcqS/gh40oTYtb8zfVl8ouTydW3b+gTFoDpdYHz3zDFAgK6gMm1iBcPTHj5K0uZoYg25geb8+CyqhqCJqBS7AQp3ABP/DdeOk0g3xKJar3T9g5PVKRD8R3bMah3xFJ+v2okBbZGYPnjktqfnTV42oddQpSKRaNXFR5pAYqPJPH71K90lJlujYO+mkG/XFrO/Hy6Jv4chPPcFgdZEYgezlKf5nu5FOans4jnzPYkLW8pADHXos8j5/HMu3W3THmqroenR7j9I6ZjQ== 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=NxKH/qIic3iCuVIyy6jLNuMjeR8izpHoh7jKAAp/4SE=; b=jX6e9gOuhDMRLDvJQomO8O8SHz44PEN7aSHno9NJJEAH+3yGAMHYxG4DSsN6+5MXrGj/GLA15bNWTwBy67i3OsKcmwfmyBZYkrbruDSEqO79ddNDMM+Uhchhi25E613WdpQPr/T7Zsgh2UCmk8Hi266w1nq7qhvYc5psDzi9LIqW/f4P+mw3OaN/LLx7cvBkzAhjz+R9OHaOtpwtyzoFPgwfB1d3KuFA1UmVYD9IMqzXrXIbhskmd6dOobPT/PllBb/Le1ArJPJa6oRxS49Cmqw6aEI4JaH6qWVO6nOOoDU2cHq+hNZWZGW91/pFIds4jCzG6brXzG4njm4WDgQPkA== 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=NxKH/qIic3iCuVIyy6jLNuMjeR8izpHoh7jKAAp/4SE=; b=dhEjWAstU6Bopga90mm7SRp4dGCrvZ7BIgjO6JNT+cxuStSlIVbptkk1oLSEOr5Jga+1TnRQxTKDLjKJurDee8vXW5Oa2tAyCiYe6JpEGosO6gs4Nnzo/DuaW/ySk6NNS6YQFeyfrG+uCJTvJbNoP9JyMOi4yEkS0ivwOR5WGhI= 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:52 +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:52 +0000 From: Frank Li Subject: [PATCH v2 0/3] spi: fsl-dspi: Convert to yaml format and use common SPI property Date: Thu, 13 Jun 2024 15:00:36 -0400 Message-Id: <20240613-ls_qspi-v2-0-b288f6f5b736@nxp.com> X-B4-Tracking: v=1; b=H4sIANRBa2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyjHQUlJIzE vPSU3UzU4B8JSMDIxMDM0Nj3Zzi+MLigkzdpJTk1BQjg1QjY9NUJaDqgqLUtMwKsEnRsbW1ALg 5g51ZAAAA 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=1340; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=bp2CqPQj9e1L7ZUVCEd+6JZzs5bCZwX6xdjL2vNhsh8=; b=MvgnKN9wFZ/pxNKYslkjb0jhJTMZDOcMXmPeQJnPsMF1/gLliNjCHOUj3XIvQGmw5TcJ2Ls57 tXI5qA5ONAsBAnfIFNFVtIHSxmnJESOp7vVfWqrfLMFZ3rILjWdfnu1 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: imx@lists.linux.dev 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: b4f9e630-d0ec-4e90-4185-08dc8bdb2541 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?q?87uAMTruJ5ijJJ8uO4utczwhJwrM/42?= =?utf-8?q?nUePCJ2KS/vP0rfcJhqchN0wMb12r95bxR+3P3UXaTdKPf9ypPwe/yhb77RUBGipN?= =?utf-8?q?f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RzuRclbGXhi3slllgr1PU5GvMxX79Yb+pg7Bb2cSZm9wzyDQCZ91m?= =?utf-8?q?vsnTt2ejBtPi+UXtZvLnBs7F7KajUx5wp78k3WVG/I//uso3ESVo04MjE1zziAgpW?= =?utf-8?q?rAbf27eRhCULT0On/QftHJO9voyZzWhF+MA6rzJllnaNCvYTDMTI4J3fGu8xeiUC5?= =?utf-8?q?z6KbOJft6oVprI75bRArNiomCuiQapua7Z0nCFUw0q5xQhOwgXplVkZ4SkhIY6oLf?= =?utf-8?q?WP45Q+9bBzSW3D0I8X11gvugUUanaIO2v6YD2mRLEWakJGDG77IjgbwKRMD+X7zfV?= =?utf-8?q?wYcLkYjGxXgokgjXEXGmO8guVM2zhi3kToJPt8V/qLy/UynvSFQkJqx8=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:(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?q?enCXfKieND/+6JRHbz6wPsIV1lBR?= =?utf-8?q?STBRJrr3OM7P4x0OlM/uKCMtZsYTLFSUkMa4uaW07BA4D8vzPzdoxq5L19p8F0M/+?= =?utf-8?q?MnPFPoAMUQ/WBYPq0B0dWPu05TGUUGBMl2kgfTF0fRYpyAAjkTOzGX/DmdHt/HNFn?= =?utf-8?q?iQcXeuQSVy1cOwIIEX2aWoAfzEi9a2md9AeVm1RKfPxl5Pkm10quqDX0N7abc9obt?= =?utf-8?q?3Kmb9eHEjm2jjneiIxGbZj+VKAPz8OD0tkP6P19MNOKfWTwniTcpdCI72YYBxMZ3L?= =?utf-8?q?d+yJ3/L0FHAigLPwASdtHWzVw2/9AACNAilnfOnbM4XXYZTrzvXPV9SWRItKnat8K?= =?utf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l/YwLUw?= =?utf-8?q?tItfseQl7gF6A05VnRFagEAjHicUupv+72QwcJgGlbb8p03NRvA404vv2wqMy2jGl?= =?utf-8?q?uZv1SZb4m8g49M62VGAiwaIYx0l/pSvbrOX3bZ4FummKkOnDZbcevXzRoLZz14TwP?= =?utf-8?q?+NMyir1P24JJlU75LC7wI3CCj9Qe53IdRIIqQL4fu3kYZPShN2fjoOpQcqU/Njn6O?= =?utf-8?q?No6bvwTliQNiWmGG+0WtTonSVyqahidGmRSt6US9kAoqDRruIjwzvoY80NhEauy6a?= =?utf-8?q?FRRBEfEiFnC1Aq8ubT2ZuvxxSlnmGSeJopNboeEpLx6ZPL/pWh+z8/BQ=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4f9e630-d0ec-4e90-4185-08dc8bdb2541 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:52.0185 (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: ma2bVzcALb7xcor6+Vil7KmrhEnlNLr6f83sscqVQo7loxWGW86X6Hs8fsAj1EyHj/QqfsgaCydFh/TmmFX2JQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9384 Convert fsl-dspi binding to to yaml format. Using common SPI property spi-cs-setup-delay-ns and spi-cs-hold-delay-ns. Update driver and ls1043 dts file. To: Vladimir Oltean To: Mark Brown To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Shawn Guo Cc: linux-spi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: imx@lists.linux.dev Cc: olteanv@gmail.com Signed-off-by: Frank Li --- Frank Li (3): spi: fsl-dspi: use common proptery 'spi-cs-setup(hold)-delay-ns' spi: dt-bindings: fsl-dspi: Convert to yaml format arm64: dts: fsl-ls1043a-rdb: use common spi-cs-setup(hold)-delay-ns .../devicetree/bindings/spi/fsl,dspi.yaml | 115 +++++++++++++++++++++ .../devicetree/bindings/spi/spi-fsl-dspi.txt | 65 ------------ arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 12 +-- drivers/spi/spi-fsl-dspi.c | 14 ++- 4 files changed, 130 insertions(+), 76 deletions(-) --- base-commit: 03d44168cbd7fc57d5de56a3730427db758fc7f6 change-id: 20240613-ls_qspi-bdced20e235e Best regards, --- Frank Li