Message ID | 20240904111727.1834935-1-haibo.chen@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BF89CD3431 for <linux-arm-kernel@archiver.kernel.org>; Wed, 4 Sep 2024 11:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=uaes94WbseF+m8qXJsa7LnSmihuQgrahx8WWOXyfTxM=; b=1YHwfq8AU2+H9qmFxRF9oFAMi1 Q6AxMfwcgejFMsyRbf1HsaUVZf3qEzVZCGBnNt8BCEc07zbHAokR5kW/ElI7D1WCH+X3hhMRx1CFQ +pgtoUxqT0xOdhoJiKKsc8oQqApM+Ot18rosXvh2m+ArpeJvnrpE2Zoe4KerM+fhWrYYq3iIoT1F6 XFNyQoapQmtAcuYD2lYaSCOe+mv++9ef3A4YaTMJC7L8D3IDsc0vTLtKxd+Foz25LwI7RZQJHpJS8 7fHz+pH8qX9LG5KVcSWBqNOjtZKtmb9qqOuf4m723P4WG1Af2AbL2P1B56zmadEtC3xmRG3rhHUY+ Uyy6AZgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sloEH-000000049tg-28du; Wed, 04 Sep 2024 11:31:17 +0000 Received: from mail-db8eur05on20615.outbound.protection.outlook.com ([2a01:111:f400:7e1a::615] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slo1L-000000045ad-1Uep for linux-arm-kernel@lists.infradead.org; Wed, 04 Sep 2024 11:17:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mkTMCj3LKzBoQ6PJrleO09KY8/snZlHVTiNFUHwFJYH4fzHu1hFHvcnX4UzVNT0Z5u/WaGujFoNoI6IT2yJz2YOjmzmQiWgxj4JExd8djVqQRXQCfht0hFqjOsX/ZAYftI6ed0Xw8aelwugmWIEt5yEbfR6PyP8HZBcnrxbCRtl6Ny3vP+/L0WMHtQqeLdhoh+Sv28pwvAVWzVsqg7gHXVPvB1SFeGzvfbPadVQCjdrtmB0lH+n6J58j4mHs4bGfhHzKa9+fK3+gLAqhcc0yrtSXzPFTCDCreKkyJE64y5tNtbSKbf2fE7dpCEwuGPP55jXF7Ho0iJYZWdPMsn0JnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=uaes94WbseF+m8qXJsa7LnSmihuQgrahx8WWOXyfTxM=; b=Kh8e7JtzyJHkpvidbBLUd6mY/mKP553pd9ecjMZiQn3rLrjQmnPMPQwArAXAIeOiscIsz++Nb1SLHA2LVh+UjgPtAnqoUbyNBeWjj1SP7FRvII6Lk9+xJFVD2nnKDs03722km7F9jbsYs9umj+3qljJ+QH9ViNkZhGlU3Jtwbcq5KD6wJsUiFfmeeXlIakESlg2elbV8eT+f3aoCncNQ8lwYa5l8TcWFlJDl2U16Ep+3mzcfAOCS0vOaCLUTC6+BGHQWnpoJOyPg4UpDzcv8FzZ12jIWUuaKO7LexPrnRi8KRH6oIDdtpE41R4MledNzhmVwW6CO7n3kDCpLn9NCmg== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uaes94WbseF+m8qXJsa7LnSmihuQgrahx8WWOXyfTxM=; b=C5AA6T4mWaZEfm5ncuyFw8QLbfEZyPAMNQxldYLfMvuViitw7/fBMrJg/aMUI13b94rX9h9s/HfhHIJcL7KjDfJqi+CiYo/mU6cjptFf7hP/ij+6mbp2/4dCadH7WqhFI0TVQyB5ktb7NS+8upQybea/OHtgP5Gj6rBQc651Zvxh60J8NnAA7qPWi/youP8ykUW5r5yksmKj++X4QDaa0i9MO9O1DGy7KpXPt4IIM4tMzaX4XjAAHeB9dbXdDOa85ANQMp7r8xFLD/uehDyUEmg1bGP/JV+5QYqSgsBWnOaEeUhi06zQbuEqsL/9ZjG1OgoSUpRGMm/t7EJrT4lYgA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU0PR04MB9496.eurprd04.prod.outlook.com (2603:10a6:10:32d::19) by GV1PR04MB10607.eurprd04.prod.outlook.com (2603:10a6:150:203::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Wed, 4 Sep 2024 11:17:47 +0000 Received: from DU0PR04MB9496.eurprd04.prod.outlook.com ([fe80::4fa3:7420:14ed:5334]) by DU0PR04MB9496.eurprd04.prod.outlook.com ([fe80::4fa3:7420:14ed:5334%4]) with mapi id 15.20.7918.020; Wed, 4 Sep 2024 11:17:40 +0000 From: haibo.chen@nxp.com To: han.xu@nxp.com, yogeshgaur.83@gmail.com, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, singh.kuldeep87k@gmail.com, hs@denx.de, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, haibo.chen@nxp.com Subject: [PATCH 0/6] few clean up for flexspi driver on imx8ulp and imx8mp Date: Wed, 4 Sep 2024 19:17:21 +0800 Message-Id: <20240904111727.1834935-1-haibo.chen@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0005.apcprd02.prod.outlook.com (2603:1096:4:194::6) To DU0PR04MB9496.eurprd04.prod.outlook.com (2603:10a6:10:32d::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9496:EE_|GV1PR04MB10607:EE_ X-MS-Office365-Filtering-Correlation-Id: 823c04f0-126e-46f8-17bb-08dcccd3302b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: A93XtteL1VaS+xTIeCKa+hmkTjgGvChE0gZdB0rag3qagnqoRqAxbkeu7BfI8rUD8+d5cqTGWHAHs04toyQC/9R6vgX0ENSTfqp9BlOGXnZZSLuGFOHOX/v8db7HmO6BmNy7jby05wrNn/nmQRbF42SHNhr2093JmjwZOeZRjih3qCg748Ld2UdccmrIQWuQUg0gUXNdgFYPMh97KygZq/ZMtkRaPhkc6tz3rB0rydOH0F1mZqvjYCalXdJg0lEGv2sNJ8knJniyxoZwDKs2dJvtDkswYZnoDeSb591AuvHe5LGCHH1Wkh0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qtwuoTIlhrzR9skaLM+4K2hqnN6G/FYKr39Ss6Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9496.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5SVKsWGoxlgvOEod3XA8+pwTWgk/T3/0nYnsXI492Rrgu81JvT/+34jUjHxsUOatEIPbUXZUFt9aMgYF4vEWcXFSNrzI5Rf+MqE/fZ6cWEj/dIyovGQTBLiLqchWKxCGsCPcJRAT6xIzmJn+RIps5pp3z0Hi16lzEJPIspDy4udo35SgcFRdeVohGGdDk+P3NvkOjM5FwFop8TzKzxK6Y6VfZU+x9DieYoTnExzVSbOq10fwVCbBcWZFPcg3jEgDCPz5fCSGf3jc0PeopDJ/QAehl8tYYVcCgG+zpxzoRIDnuOjY1t01WafT7UQvn8WQMcLWvzx2uKohnNp1ibhsRFQp05AFRZxLilXP0SCe5wuY7I4mXdr2T7z3bPR6JbHp/w75NiryFPilapXkM4//1OF6mFS1D+6fv7VoGyBN+3pIXp6QzSVoBGlBzay54p+qV1z3I5ExT+J3oOpH9ZstgpFSTwfRPEzua627uHB1/rMvQmwflmnrHF3SLnbJvBb5jwYKWOFuLANiV68enTdyQapYVXinQqJMaNUUoZYXSBxBUesGIaen9ITemo1t6yWmTYIp5kxMRjKLHsf+KmgArik1XO9rqkgc1mm/1Q9hsI8RpekvXOIzFwWX+gRIfWEXbfqRjG8xrM4DQ9vDxDd7n9InrxhY/ShkqTHTqSa+Z0/5cai0GHO4VC1FKwTHoRTVBDJjghA9268E965RZhsWE7E0FqZ+ckmMXybgn6HLdf3mmnLkfhwvWEX7c3TKSCEmLRzu3LvBBY5X/BGxguRBDy0d7iGBlAiEbkXh7Uf8bWKnJTvSW8HnmsgABtqrYYIHsUxUBqyqnZP5+J5OKvYRiAWxlxdEvoSV0FZA98Ypm58PHSGRJYbTi5Z84bgfVX3Qa3LWcUsmmSguGs6PA29Gv1QUfa6TMWGKur+JNqOHO7xiOaREsFftUbBfFgHahQKYFtuD4wfBlOtiXdLUFG28NZTxuEIubscIUW+3E8khZmaLTq6Xt0CivKUARHtMeon/2vnrTdBoQ66D4/S+uKykNd7zCsbCjjg/TqcVyVr3GKjdgzOR2AEB1GPTKTcGY/nzHdU60kzChMnLKDahSisYohd5uQ1NB+0Qrmjpan8vjH7XFruCZJTEg+rlRXiTFgtBQ5jtgIz+7ZyolWkrFpr1mY8MWtajxAEVcbqSIqdRJdrjydcticJ4qh9V8Ozw2eb0W4K5uxyjnwCUfs8UlDhZn9t86bB5go1cB2WHgNrX41EbkdRBYVYt1xDdM5Otq5T/ieEcDp/xjTDKGtRJVQvOBnxmQqULJHL6Y3sERCN4w0cuvQlaR9DA9JKSLb/jBLryOaXDlIbtqkPWXrz0lMjME2fMRPhmTUxOrmHTnJI6b0NgMIjTiDQgdGmjIB6xGmshY8bnHXnsgnbX8wQMT94d4G6g2o6fR/JozVbd2rXvxOVg46HNfi/hMGHoZw9MzNsbiDhR+ZXmwICUfgpAp6QwWQcZs3kMxxA/16+TbREXYb8dbBZEEmDzuEG1beaTMCjmOt2CwuHXajFfYZvcTXUhMzEpQMVxm6TnHM6DfjjPTJUNLEChBgen7sC7wvzcSJGA X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 823c04f0-126e-46f8-17bb-08dcccd3302b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9496.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 11:17:40.2374 (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: I0H5lMPyOINKJkLdm8dewAyXFAl7AHe13kV+f2bT7SXuPdmqEumvYp7H4ZwxsQrNaynBNTojyp2gQX9mXpJ+zQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10607 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240904_041755_500364_1227F278 X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
few clean up for flexspi driver on imx8ulp and imx8mp
|
expand
|
On Wed, Sep 04, 2024 at 07:17:21PM +0800, haibo.chen@nxp.com wrote: > From: Haibo Chen <haibo.chen@nxp.com> > > PATCH1~3 clean up the redundant imx8mp compatible string look through these 3 patches, look like we can't get much benefit and broke compatibility, I think it is not worth. just leave as it and add 8ulp support. Frank > PATCH4~5 add support on imx8ulp. The flexspi on imx8ulp has a difference > with others, it only has 16 LUTs, while others all has upper to > 32 LUTs. so add this distinguish in the driver. > > Haibo Chen (6): > dt-bindings: spi: nxp-fspi: adjust imx8mp to compatible with imx8mm > spi: nxp-fspi: remove the imx8mp compatible string > arm64: dts: imx8mp: add the compatible string for flexspi > dt-bindings: spi: nxp-fspi: add imx8ulp support > spi: fspi: add support for imx8ulp > arm64: dts: imx8ulp: correct the flexspi compatible string > > .../devicetree/bindings/spi/spi-nxp-fspi.yaml | 3 +- > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- > arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 2 +- > drivers/spi/spi-nxp-fspi.c | 55 ++++++++++++------- > 4 files changed, 39 insertions(+), 23 deletions(-) > > -- > 2.34.1 >
From: Haibo Chen <haibo.chen@nxp.com> PATCH1~3 clean up the redundant imx8mp compatible string PATCH4~5 add support on imx8ulp. The flexspi on imx8ulp has a difference with others, it only has 16 LUTs, while others all has upper to 32 LUTs. so add this distinguish in the driver. Haibo Chen (6): dt-bindings: spi: nxp-fspi: adjust imx8mp to compatible with imx8mm spi: nxp-fspi: remove the imx8mp compatible string arm64: dts: imx8mp: add the compatible string for flexspi dt-bindings: spi: nxp-fspi: add imx8ulp support spi: fspi: add support for imx8ulp arm64: dts: imx8ulp: correct the flexspi compatible string .../devicetree/bindings/spi/spi-nxp-fspi.yaml | 3 +- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 2 +- drivers/spi/spi-nxp-fspi.c | 55 ++++++++++++------- 4 files changed, 39 insertions(+), 23 deletions(-)