Message ID | 20240620-ls_qspi-v3-0-1a2afcf417e4@nxp.com |
---|---|
Headers | show
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2072.outbound.protection.outlook.com [40.107.21.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 1E69F1B3720; Thu, 20 Jun 2024 16:58:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718902730; cv=fail; b=lfwwU//2UMMS9zWfvPMWG2BuyIfA3sZZQVDg8tJ+IEBjg6mKTgLhYwGewaXuywpuhcChw0VsRy4UmnzGvNGS2ZnYY+IWcbZjBAlos0zuKpiBZEiIeU3xWpQ65YIp70TQ7cyJNnloAoQYbhOdQFankj4ARF3sWs9CYBs3oJUBD5s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718902730; c=relaxed/simple; bh=3Jl5aAnZNhlQmHjIX+NC8ghex8qkEHP6Oc+SrQaoz7k=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=WUzK6SqBOn5VJz8makjfvNvFRK4q5XdYghdlv8y+X/JHGChKZfbITQmx02ZFl5vcQCXLmHRezXEvLvEDedFxBi/aYEb8vKyAHpXY/SF6Ym/h0mcuSwauZltNFM0paSxHRgd92/GTcCceJ/EcnU3+RCxDyJ8Ji88I41TxtbMde74= 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=q+TCBkdr; arc=fail smtp.client-ip=40.107.21.72 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="q+TCBkdr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QCWs4jJ8tmTqjA8gYgyromezqHSXvvb7nr4u1+dXImO9GJa1C6CaQjFW7Y6qpAQeJ9uDVrORVFQO5IJ2WdbiWwm/JQONsXKieYOEbNYp3e0ypcVCeaeEo0QesN1Ym8swYCExvIR/VwQIYQNmkBdf6NxbJJ++9bEtQpC3Km20NqMzomPYM+JddVfSk6uIwkR1S04W59P8PQQGiMpZmpI0pDL+DyD9XkK92c5f9CxbRJQ9zfVOvQFHx/AOBsMeogGE+uwWRlzMzBiVH19dPD6gRjqRtejJDifbfsVNFAZFF/3d1RQ/zKa3OSP94PsklLONGyh8s9SwRwjZ9rFxxIjpsA== 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=4KDdOaQLnz5ByclRtwTVaEwIY9i9ftXrZkjAwUrgnB8=; b=liYgJgJllTZ2A1G1y13jsb/1Xd6fe/lvlqXpI9j0xLEBo52SWaro3eHPlT4/TaMrYKOeiCqojNAZlriYhsZvMgppoCEFQVs0NWL0lNn9mKVyV+e5+xtKfPSLuXySLnAVmmTihbexXdgYc4N6uaQ6NCKtNIzAhCiRPKm/hFyzyObqPaLNodwX0Mbwa0cgC7kaNa3cnhYwltnBVTXA5SIvWzl51I7JAw6aCIxDN1MfYvBLCKvwgmeFjHyViptNDXUF6wEGT2wB/xrVDftVXnJbxuzAv1csrPOks37YPLJ5pbxLmLNxrOUE/uJFqRGDwccln4ruZ4HSV6XThAv3oaOxoQ== 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=4KDdOaQLnz5ByclRtwTVaEwIY9i9ftXrZkjAwUrgnB8=; b=q+TCBkdr+++KgbsjXV4+wzAHczdaSENpnb7PRI3shHDY0IlEv5cHrw7xm9CMbXc4L7s98deUWtpK9FAMyqlyutmGmzcOHj/Hz5sbVgzqh78M8/myO4M7U2Qet595HsS2xpz0D1aurbZR+bHppT7YcDZE1OBikEHVhhlp+rnumiM= 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 PA4PR04MB7632.eurprd04.prod.outlook.com (2603:10a6:102:e8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Thu, 20 Jun 2024 16:58:44 +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; Thu, 20 Jun 2024 16:58:44 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v3 0/3] spi: fsl-dspi: Convert to yaml format and use common SPI property Date: Thu, 20 Jun 2024 12:58:26 -0400 Message-Id: <20240620-ls_qspi-v3-0-1a2afcf417e4@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALJfdGYC/2XMQQrCMBCF4auUWRuJExuLq95Diph2Ygc0jRkpl ZK7G7t1+T8e3wpCiUngXK2QaGbhKZQwuwr68RbupHgoDajxqO3BqIdcXxJZuaGnATWhqQnKOyb yvGzSpSs9sryn9NngGX/rvzGj0sph03jra3cytg1L3PfTE7qc8xfFVt3fnAAAAA== To: Vladimir Oltean <olteanv@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org> 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 <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718902721; l=1786; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=3Jl5aAnZNhlQmHjIX+NC8ghex8qkEHP6Oc+SrQaoz7k=; b=V1FuZdZpRBLW+tXNJWA9rZpu10wk5IT2lUUlkeVUxGlNPHez+TqYmrQ327MjAHAMGs3Cii9+8 UadUj+aLk+ECWD7T+r1SQjQoYBL3lhiZyVgtAQmffbXc9r883zjpxbg X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0029.namprd04.prod.outlook.com (2603:10b6:a03:217::34) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: <linux-spi.vger.kernel.org> List-Subscribe: <mailto:linux-spi+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-spi+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB7632:EE_ X-MS-Office365-Filtering-Correlation-Id: d56a9bd8-c9b9-43dc-56e1-08dc914a3e55 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|7416011|366013|52116011|376011|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?dPQzk4dc5aFYbWpA3ldV9jOKzi08Ccj?= =?utf-8?q?mYdN216iwukGpKdnFIlDrEanmP7ixEZB2mArL03I+s136+p+rJFORCf5irCRXZrZ+?= =?utf-8?q?GPdwDDSPOjM6TKps/B7h1RqRM1hEmrzxj4l96+MXYuPlCyfarKeq1dTsS0AAQTPdf?= =?utf-8?q?KZBXpJS9zQRGp5HWUtCVvIYH8EHIC5X3gOeFCUh6hCVJeVrJugW/sOtQHnF2tao7x?= =?utf-8?q?TfE8Q9p+i1t2v1ctVIzN2TwazTkpJ8WATV12FIy4t3E7DyaQS8d8ui1eUxWAghE0T?= =?utf-8?q?qOUQsN05+KzzCpClVMIP1I1/gJC7mex4yO4prKWdw1ddpCFpowRk8pI1cNw8+kqWk?= =?utf-8?q?O6et2VOjbY6g20w0P3c6vbZaWrGbDut2YclXHPadmD216zprbID8OwHPj2NxgzWu1?= =?utf-8?q?HBJj11+ZcZfNchMMbg4xOWuNDvywzErgiDQoVabGfkz89s6KDjtsuJF5FPnH8gTw2?= =?utf-8?q?l+df0/mBfdgeBNbon87D0AoImrDk+MXZcJGzBnTNuGMLNG+JjveHZ8MwRfoVHPqnk?= =?utf-8?q?I74qplLe1pEhZ0o7OTyssOLlLR2/ykqO+9Tw/cC5f672SSzFshlbqd0+XAu2YiWKr?= =?utf-8?q?D6ImdQDVSuE0+OK/fOMeJM/zNt/aNc6yQVk+NsiQn4dnxi5M+775US2r8WGBXjeaT?= =?utf-8?q?ka09uveuX+YuOkpEFo16hKs0qmZfQn+tSNnYXce26IIetHQ3uP17vXuEHzQkk8fAt?= =?utf-8?q?xXPrGinxglUg69GvSD1dwh7M1IJDAj239cBgdEsMuxs3eAr+8zCTSrFFjGv3A0dMP?= =?utf-8?q?Co7Xqql0aNlVoAXqTHCeDOW675g+BBGNWbBjbQkzkN9nnroxs/NiDkPMLeRUHv9Uz?= =?utf-8?q?QFelP64ycuLyiNc+3u4HzunP6arLChmKt0nsAgaast1VoWrrrOYs8HA/enptpNNxs?= =?utf-8?q?gnTKctWO/GyF472tTuoiJeFEQR0hvcwC02HPvRhdmtGhuiwxbCFrKdHElHCtc0zNn?= =?utf-8?q?xVdOv41RWwuYXkOvazhp4Xrxrp/16E3cl1H4z4sOoafmH8dAzwZ74fiHvHx3OUEmT?= =?utf-8?q?Y0NKGT6EWSmWrxwKtG5gAm6r48ox5UX07Bgi2i5UNw6iW2VwfdeWdra8WxAPImwFu?= =?utf-8?q?iLevsE8lw7Qda2fXsLXB1+Upjn5BLpGN6QrNm7MHkUJxPQJcXPOBFCePfou5YJmUP?= =?utf-8?q?N3Vv7G43s2yIyrOY8D5t0Dxq5DrDa979Iy4X7+GR3VikgwnKbmv38Ps09v508DTbm?= =?utf-8?q?igLMWuyxNsbCws1Q9/8/e0DwGNc7hTpBTzA+9FOshEwXERyw+gB9sH9AgZW2vvq+t?= =?utf-8?q?XGXsrPMLyorxe?= 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)(1800799021)(7416011)(366013)(52116011)(376011)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?lcjOyi1JWn0QDkPnhynElcC7nhws?= =?utf-8?q?/zo+/46+JA2EjHQ46bZb+2scCWEvXwa10foFkPW4IeOZLBTgN336kt/57L2Df8hhm?= =?utf-8?q?/+rWP/06uC+pXHsy11jhlflLF7iiaJqDLeEgxtoIPW6LKKEv7TF0cnZIfRxgvR2RW?= =?utf-8?q?chiv2ahP1SN3zTm7UwfUq16ERfAXXm+099nGB7us9WLfLSwgfzeJYO2X0DlGWRDbw?= =?utf-8?q?SwBqY+sY3A+3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mJOQE8wusQ4M8oJlrZxpjMvvUhP1hK4ZFbyCw4l80?= =?utf-8?q?P5C6+Ntb7JQKp2C+Gb0U+PGR2pZi9sbkr2RmH9juU4FqQz4JdIhR6nFanUHhgiI1s?= =?utf-8?q?3c9qyW7X1oDAxSoSCiQQv4U/seSNwsgIcdwZGvx01pJvbpMdPxcl7W5SnWc47NwPI?= =?utf-8?q?O365HttJkD4mMezJz0TgR1b32N1z2ELYd/DRJKYOb4oNJrECt4hgaEeEhDRLzXRBA?= =?utf-8?q?vUGGkY04n4s//tNBHDTYoU1SEGyrH4kCQsyNsoVnEsi8c7hgZcXsIrUVaZHkVaQI5?= =?utf-8?q?b2PkG3RzkmxXQo8ZluSYK6csN/huNX133UdLJVJEtoYt4nrXpiGWW9F96BSLGBjxN?= =?utf-8?q?3+EZshsOPm86HRnMo3qzSLQd9RGSBbUZ0Kjo8IUG2nzjKskM/QTt87XJZIL0YnbqS?= =?utf-8?q?iFOf/i+YY5Y3?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d56a9bd8-c9b9-43dc-56e1-08dc914a3e55 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 16:58:44.1520 (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: v4RPXDWYG4Gw06vBSscqeXinEPW4zTft2m3B7REtf4VTjiGCwWympljYA5K7X906pJkIYADt7bm3ctZtgvB2IQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7632 |
Series |
spi: fsl-dspi: Convert to yaml format and use common SPI property
|
expand
|
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 <olteanv@gmail.com> To: Mark Brown <broonie@kernel.org> To: Rob Herring <robh@kernel.org> To: Krzysztof Kozlowski <krzk+dt@kernel.org> To: Conor Dooley <conor+dt@kernel.org> To: Shawn Guo <shawnguo@kernel.org> 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@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 .../devicetree/bindings/spi/fsl,dspi.yaml | 115 +++++++++++++++++++++ .../spi/fsl,spi-dspi-peripheral-props.yaml | 28 +++++ .../devicetree/bindings/spi/spi-fsl-dspi.txt | 65 ------------ .../bindings/spi/spi-peripheral-props.yaml | 1 + arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 15 +++ drivers/spi/spi-fsl-dspi.c | 14 ++- 6 files changed, 168 insertions(+), 70 deletions(-) --- base-commit: 03d44168cbd7fc57d5de56a3730427db758fc7f6 change-id: 20240613-ls_qspi-bdced20e235e Best regards, --- Frank Li <Frank.Li@nxp.com>