From patchwork Mon Jun 24 18:55:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13709966 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 320A03A1B5; Mon, 24 Jun 2024 18:55:57 +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=1719255361; cv=fail; b=qcR+EndJi9qksgZ+9Muji9ReJ57Sg0f4jEJsBaAqICta0VzD284AkBo36oYyykzGKKMM+M/3tpqxePEWr3rZPBPj8gM0cMwkjF6zi1FOJ1XnVxuK5biJ8fXB+P/M+Hv3FgC1g/MVrJnaFXn2heTRcnDMrujP+FQmEKfbCt8jZVQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719255361; c=relaxed/simple; bh=KH2tDLFerBCE5xeJDaw6oNnMcLC+yp8zFvep6kWpmPE=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=a9B+DoMv/fVvvdBlmxCoD38qNNRvJpJJ1cF/cB3IWAP7/fXzPlc0/ZNXnPmEfwjSFI4hkBNJ2GwSrneFUyQG7CWsBn0tkCFCKePwYgl9rup6IX7wBzHVeGf7TVJFvTcJL3zXDrvrV5zANijpfuYGghpvR18yRRqc1fbCskFR2To= 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=RWVhYpZF; 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="RWVhYpZF" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CwXQMzsop7w9BB1ocfaxMld8kgMbskqQU7P4M/1Bo40bPcMHXtDlIZlS373bUm07wjF/NZXv+ZmyS9M3Yanj5OmKhj+hHOExJXXSc7qNfF92Lh+TIQ8ItMwz4IeBywrZRBOrK0EzRwUWqw+hnPhc5SMBcadvHE7mu3iqxzh9johZ0Mw6jKLs1CZHqCxaTgKK+IZ4MYEpw6CD53mkvTdpfzxEhFTTEKn7rZiTvRGo8s2xCmYDG3/qCeS4bZ/d2JBmwgr+2rqUaMeuNPCXkC9CrMd7baiZSLe4BB2xOWA2/y7kHwgIPlFcGLHqihdP+YpLvHp4S2cLd6R6F2InfzWY6A== 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=eeq3x3Ko75+ioUzj7Wo1IGhCYqPF3AXjc0imEPKtTX8=; b=PDTfuVzzXHi+ieOfetue23AH7b03qWo5umziQgkUH0VWdPHBUIfST6rTN4LuTdjsGRIOO9dzymt/2EBszeRXAcyahlal18gmOG2jZ1uymwBuceoOSb3Dh7Pan8sO2y65FM1cI9w++3MpT8X/rw4yumfCKj4F5xPly9zlFYvls4RXcFWnKIZZQDgIkoGdt6NP5gq8ByLxRo1sAuUHboOqmewyqKoMUEOvm4rKbFci0OVjVcF4jH+FXrqseRxMIXFbW6AxhSP+2Zf7C2sUefpJsovuByVm52cvXTdVe3rzLAVu/X7HU9c47G0LZd0/qETeiKwGdUu1L2dstXlWHLW9EA== 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=eeq3x3Ko75+ioUzj7Wo1IGhCYqPF3AXjc0imEPKtTX8=; b=RWVhYpZFmSWm5bj9gDo9RoLG/51SNgWemvOiFRi3d76O7yUoVIyBfdrbxszYiRr1NUK0OcoGpMUtwDajEB8vYf92Dm050Us+XCQicMzNpnY4btqF6Vd63JEajM4JGGRwuNbpeh+Xqo+RFwHPhSA4J/FiGFGZhQZPu+R6keZuHVk= 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:55:53 +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:55:53 +0000 From: Frank Li Subject: [PATCH v4 0/3] spi: fsl-dspi: Convert to yaml format and use common SPI property Date: Mon, 24 Jun 2024 14:55:26 -0400 Message-Id: <20240624-ls_qspi-v4-0-3d1c6f5005bf@nxp.com> X-B4-Tracking: v=1; b=H4sIAB7BeWYC/2WMyw6CMBBFf4XM2poyLY+48j+MMVCmMolSbE2DI fy7hQ0mLs/NPWeGQJ4pwCmbwVPkwG5IoA8ZmL4Z7iS4SwwoUcsyV+IRbq8wsmg7Qx1KQlUQpPf oyfK0lS7XxD2Ht/OfLRxxXf8bEYUULda1LW3RVqo8D9N4NO4JayGqHwvlbqlk5Q021lidV6R3a 1mWL8tvVV3SAAAA 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 , Kuldeep Singh , Vladimir Oltean X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1719255350; l=1972; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=KH2tDLFerBCE5xeJDaw6oNnMcLC+yp8zFvep6kWpmPE=; b=GSSICJiMmlxwfFGfRXN7QcQ0sLrCXSPd9azGddT5KlsbeXi12tIRxGdpXMHu61d4BnQc0fb6j WvFhLdEsrQMDpu7bwkoQlVDfBA+U+0i/j7caoidVI9drnFq0TaC5IIS 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: cea39006-6c3d-464a-a116-08dc947f45e6 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?x5uSkkvxWDkGsB8E3mlTxVWUNN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qvytg9RZmE+coF4P?= =?utf-8?q?+B2ipe7eyIkD/haHwLjtOyfcf2asLY68QfeZWe5YN9BewBLRtBW5Gt0x6U5i9MgPw?= =?utf-8?q?oU+BwS6Dc3Z0ngl+Gkt96yw2spreV/wj4Ifn47l3P8hRqkg8r+viuaevr1WqdofLs?= =?utf-8?q?H5wgPHEtSWhKeTii/qqzQ6miuNiOqICEmp/A4o10y4tVU0Bl0EtDdsdGBa/zM5FpG?= =?utf-8?q?QyT5546sdAjpRjkbqndBGRcz0kRCOLTf/y2thmiRRVDfIlVRQqXiRdivbV50pkyqp?= =?utf-8?q?cuvfsT+aOLxUft+wBLaRiWUqr7ZjmEkbI3iP2dtB2+Xj8CVulSxZFgiChcX2bmkpS?= =?utf-8?q?IFAopbsuxwBU4X8XiJBLOfTdMYiXPfgg7BuxmnJjh2n7NTadGyY9zpSVFZwdkhViB?= =?utf-8?q?aZvJnwx6rsRTG?= 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?SvXWmulXILVbPgLA7rgGpuFuHsXT?= =?utf-8?q?NOiyNhMtdNMgPWBZVxJzAdo+OGdOFX+tQL/caHL3UimJlGpQdWSXFvXDlX37grGi2?= =?utf-8?q?I+kY1kd4nmmepVUdLIP/RKR7TeEA1QR5PxAN2w0ZbnJSxTNnbL7yU3rwGcZmDqN9S?= =?utf-8?q?MrkzrAm+plIzgqZ/1OIiWpGUOvoHKDHQ4/SX6byuELXAGpg04ViZcbVJaeLQUz0jb?= =?utf-8?q?x/GPjP+ab2jQUVdk2KvTm5DrwlrY+B6X9SHxXmaFrbjMtgxkbXML46jWYN9iE9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q?AgheroWt0CLrobExQi/Ic8zrj5ObzdEmIM5gjdd7Vc3Hqqwc5+ojxpVkH0YsDRyPk?= =?utf-8?q?vsKb+4dVVMt3aS0AkdH+dzb3QEjtE16/2lYGj7Js4gEuy3U7DKDogcw2JbTjs3wTL?= =?utf-8?q?Odt6iDjk8EhRuHn/g8KlobTabUghhRfmUu7KhcFAECqvqitkQWtpy4NZfgeuiCwRJ?= =?utf-8?q?Mqci102Jh6Y8BY+Gi3cRkohj+0EeUE5etTBasRY7KI+hizKUKiSu9GNl9oaCFgKZi?= =?utf-8?q?bJDXWswl/nXBvblvjLgnZn/F0CZi6XyHR0tC7yrc6DqzZ4fHuqPzF++cVT/W60NDB?= =?utf-8?q?IP4yRc920lN8whRLykCH2oOpchiGKxOt8iHSTR9afFlq1G1mjDtM4nWwdIyEZFvqP?= =?utf-8?q?hmdKoCrF/KOS?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cea39006-6c3d-464a-a116-08dc947f45e6 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:55:53.5305 (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: m/LmO/tWvBdrT2Xg37idWpWv8TFs1MCiUu8OPhp2vFGYuyBT+zNhzvFsFnw6p1p1zUOrFnUgS4MYFtlP5T7djw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10138 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 --- Changes in v4: - See each patch - Link to v3: https://lore.kernel.org/r/20240620-ls_qspi-v3-0-1a2afcf417e4@nxp.com Changes in v3: - using Vladimir Oltean's https://lore.kernel.org/imx/20240613-ls_qspi-v2-0-b288f6f5b736@nxp.com/T/#t for fsl periphal part to keep compatiblity. - Add common property and depericated fsl private property. - Link to v2: https://lore.kernel.org/r/20240613-ls_qspi-v2-0-b288f6f5b736@nxp.com --- 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 .../bindings/spi/fsl,dspi-peripheral-props.yaml | 30 ++++++ .../devicetree/bindings/spi/fsl,dspi.yaml | 103 +++++++++++++++++++++ .../devicetree/bindings/spi/spi-fsl-dspi.txt | 65 ------------- .../bindings/spi/spi-peripheral-props.yaml | 1 + MAINTAINERS | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 18 ++++ drivers/spi/spi-fsl-dspi.c | 19 +++- 7 files changed, 167 insertions(+), 71 deletions(-) --- base-commit: 03d44168cbd7fc57d5de56a3730427db758fc7f6 change-id: 20240613-ls_qspi-bdced20e235e Best regards, --- Frank Li