From patchwork Fri Sep 20 08:54:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 1987808 X-Patchwork-Delegate: tudor.ambarus@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=NfGqm4n5; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=bNb+oEXR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X95n41QWlz1y27 for ; Fri, 20 Sep 2024 18:55:04 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=94MQQLS2QWXjbEHbXFqUsg0oxfpi4/3qt0xwd4dLb7I=; b=NfGqm4n5DfGkzVJ+T3S5Utjvhw aCHH9xtf/OKy2p7szO5UG2bJXBc4qe4ivZtoXIXWUxKDSlJr+fV4PLgrTLF2Suio8R8VxFd+ljzK7 zXogD3ZUkjAfjUDh1ta66B8AmzgpPs4i0RDtpr8jxohtCffxyYzhCQx/q15sQe4t+GbXFeeeoi8Kv LLzj3FO+j8n3iiJFwvFM89Sbo3rnInvslJXAKuNS+kvOvVzWpRKo/mcqHzniCBIh5to57t4P9TqXN HTVUIVQvDcikuab2f5z3zNTSlsYrcKlZhOfmhFQc8cPOIPqT5e+kZ5bOYMtb0ECmhYFpoTZ3oWTbm FNJBcqsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srZPj-0000000BqOQ-0NHt; Fri, 20 Sep 2024 08:54:55 +0000 Received: from mail-am6eur05on20609.outbound.protection.outlook.com ([2a01:111:f403:2612::609] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srZGo-0000000BoeZ-1bAS; Fri, 20 Sep 2024 08:45:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=l1bfNviKUXCguiZeTuhUg+Zxg85kh2FHtcD2lhZia5OwN+7q130Uul9oQ2U2241ZZZXZriWma1u6K5cFud22T2mNXUqjiAfaUr/5Pa519QJ5gTkiARQ5iH2jP/pzrBpSs9yqm3gb65FcdXaO6+QjqsTpJaaHlAElubRsUufSeZubk25oW4qAqIqhPYy2eA8oX/jXT6PFNcQlsWjQNf0e4jAPOJh9crqOFOoD1e/Gi2pfZGR/yx7Lnm5BWblIg0yet5ElDcZdaY2U+KrdeUzveE6XQ5cgL2w9DtOr93WShUzT2brWcmPDSwGWbPRWjHW7fxK33qPyDAr/mGggbKBKmA== 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=E7jQMVsaBaR0K5GQ5FK86+/yOlnXxkx8ikniVNSfvZw=; b=IPqh2L+Ztj03Yk5l5bflA/lpafaGaRaymJOI3rd2D3vF673IiqtDnk+Sy4i8r7FMuMJqdBJ0wkUoirSOnYc1pjHuEXmXw23vWy3WSfYIQV+Nd0Ef2BsPktWiC+TjZ/f1XITMdqMuNCzQXJcd0dHfWalbUV5IjcZdWwBXNRqFz9lDXmM2C+G+K70YJzUiSJbxyY+AKx2VNimvrrT7cBcZ7RzG5ff9xNmh+sLj3m7gDjOsxNvbYDm3c7cTSoOhMSSrFYC8+7MNz9gTrPflDN9sErXHHEV75poYKJ9LZpQ6jITFQQ1Q+pfKnfli0k7+G+EcXOMaeejnuhOrJ9M3kLfHjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E7jQMVsaBaR0K5GQ5FK86+/yOlnXxkx8ikniVNSfvZw=; b=bNb+oEXR9hBF734cUOsZNuqF0burfzuLuC0Bs15qnBQWyLU0x3Vg9OY8krVhqQBCo2GvO7pdsutu4sTLIXaV6mLp5+jcaz9g3unfPqQcrpYLEqPkKlBhBq3xfTAqIqIvwFtiRR96VNCYloiK+7lSBr/vKsNhteUwJoP8NfDOlx9siWCejcN7FSXBFGmkghxY8BeLjg5EAorycc/aNwfKgnQfxzde6SV5ZgkPcUUiKAcgr+LLFgzZNklUO29z0H8rhi+n7hQkqH8Afvk/fZPMjOzRiElpF4oaMpwAGlcvr1SZC19K6LW5stF2HYt/iSE0uOtN/DzW+tVn9IUwUb8n6Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by VI0PR04MB10613.eurprd04.prod.outlook.com (2603:10a6:800:25f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.16; Fri, 20 Sep 2024 08:45:27 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%6]) with mapi id 15.20.7982.018; Fri, 20 Sep 2024 08:45:27 +0000 From: "Peng Fan (OSS)" Date: Fri, 20 Sep 2024 16:54:06 +0800 Subject: [PATCH 1/3] dt-bindings: mtd: jedec,spi-nor: add optional vcc-supply Message-Id: <20240920-spi-v1-1-97f220c2e10c@nxp.com> References: <20240920-spi-v1-0-97f220c2e10c@nxp.com> In-Reply-To: <20240920-spi-v1-0-97f220c2e10c@nxp.com> To: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726822454; l=884; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=BuP9VyjeIY/9wyT5y3n2z0sc+8ehoRAlvVwYzILjd1s=; b=l0fa3qM67G88SMRC47Xxw5dUnzFlbTGEr7zVNPiaLXcpB5sA+evHZdwEtJYHqvZrhFKax1fGg sSMuDiLHRbdCmcX8wuvkK0BGlgnbC6eKxqHKFfWHT0ejg+HuQfn6XQq X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0035.apcprd02.prod.outlook.com (2603:1096:4:1f6::8) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|VI0PR04MB10613:EE_ X-MS-Office365-Filtering-Correlation-Id: 550d5a8d-98f3-4939-4f1e-08dcd950931f X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?8qUoUOGEqdau9cPL3fczjJ+AyfoRj+/?= =?utf-8?q?trhY679aiv2ivh6/d7gEZaGePMR1b2UaNsrQEVVRkdhSQVUvPeqU1cybvUfxybueK?= =?utf-8?q?Rg5mqtNDjuUvH0cCjRxTFaCvDoHRdny1dP+gvNDiWFqkDe77LamxZic5AmJQtZ5B+?= =?utf-8?q?/rUMUu+z3i+g10A9vRkNtDnDNhl0YaPUid+4bo/3bKDe4aAlRTkjwP2l2TYtiUr3N?= =?utf-8?q?PZ3wpKEykiW/J7DFZrdDViVS+zbBzN1hRr5PQJx8Gx/+58Ud6C9XiJwi2SfpbQZ+N?= =?utf-8?q?FdKOWUPHii9V8J9cpSv51g+cSd8yaWhwQgLKwSj4Eu3xoYvCx0WPG4py6YYnsEqZI?= =?utf-8?q?TW6bTQMA3Pdk3rg3K/Ib7IOo337r+vCemrtPu1VDiZYVpS1TE1NeCEBcGuXruMen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mEVxwhRKG0i6hp8?= =?utf-8?q?qlYTi6VWX1hZsn6P8s1M9YgkgA+JyvHPxT9L0pHY57+yz4XqQZEu6pCyoAkvQCAdW?= =?utf-8?q?bvlXIFxFThN7seT/kizs1hdZEfkdcxGx2gMhq/hWRX39bNrcHJZuk9o=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ESDyshJQbDEbKT7qR0HxA9eD0GmY?= =?utf-8?q?oHTh0043/5XNzxkjZz9RPorLFVOJFsBRbrND9AUi6b8T2lYoHl18jNVl0jwcDzLEx?= =?utf-8?q?Nyrnwlnn+T8YiTh3knZrmc+5zSvnqCZehwC9FVm2WjRVPPilyc5APHEF7aHddUUt6?= =?utf-8?q?UHgDZZSpeR9VZujsyZPSJ+Ze2DMAq/EQbpi4Iyi9eoKMyJpNMAuBvyoSN9kJVSzQk?= =?utf-8?q?dxtIbyPA2gGrsiu0pImZRzn9DAfeH+0dtCAPL4pbbEoeTIJQ0Yxz5GKWJ4/hQl4dk?= =?utf-8?q?QGM3iJqMq++r5SeqGrFe0DShJTBj7GF0Z9EtQS+7fGNcRmNM9SrhkMePB5LEkEuWL?= =?utf-8?q?JTKZnjX1hkPUOTh2+dlf8pK3wZQ8K/iMoDmWTXHJqQ5kionqHFHRSWWixDWSgHBbp?= =?utf-8?q?AE1xMdGoEVaGarcM/IDgeDvwMCYQxnuRle8mqu1n+oyQL3NxOoK/x5JjE3tMr7xVi?= =?utf-8?q?qnsPnqN2tyJa/gC7hhTIKyWETN9pdAuMRvs6XZe94/vQ4ulRABW8c6Pf/+0SS4K2i?= =?utf-8?q?u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vkJ4v79mMMcUfEk/H1p/tuv6Jkeb6ZtiIz9TnnEeBVMZEROqG5DO9xvvYS6/jr/C?= =?utf-8?q?HEjpakdKjn9lFuJw2Qh3rLwvKCRgRlEmJsGA3vMzJOZ7uPXtYOi9VoP9syrQS0Ydp?= =?utf-8?q?2RXNshsRjxSw?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 550d5a8d-98f3-4939-4f1e-08dcd950931f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 08:45:27.0121 (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: WeWMFe3ZsOhJcuxRfdPfbf7zuB3iXZS+eQUiDX4Uxdqgg+Jrgo3CDKlFTF+nMLrXxdJbRVfuP5tiUxPAOJrT+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10613 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240920_014542_621878_B7B2A0D3 X-CRM114-Status: UNSURE ( 8.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Peng Fan Introduce optional vcc-supply property, spi nor flash needs power supply to work properly. The power supply maybe software controlable per board design. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 4 ++++ 1 file changed, 4 insertions(+) Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 ARC_VALID Message has a valid ARC signature -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 ARC_SIGNED Message has a ARC signature -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 FORGED_SPF_HELO No description available. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Peng Fan Introduce optional vcc-supply property, spi nor flash needs power supply to work properly. The power supply maybe software controlable per board design. Signed-off-by: Peng Fan Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 6e3afb42926e..bab0617a51d5 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -96,6 +96,10 @@ properties: If "broken-flash-reset" is present then having this property does not make any difference. + vcc-supply: + description: + Supply for the spi nor power. + spi-cpol: true spi-cpha: true From patchwork Fri Sep 20 08:54:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 1987809 X-Patchwork-Delegate: tudor.ambarus@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bLF5+XF3; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=oHjbftqh; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X95pM1VDJz1y27 for ; Fri, 20 Sep 2024 18:56:11 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Nbvgn2MJu2x3Ta/m7QNqE9qlL7P+pd9kEHSmxD6e64M=; b=bLF5+XF3wFcertlFhb02EEiygi hTgWUh5phkoJd7Z7fNFY0ZIcbdrdYiA+w9myUK0/sL9iT0Tbm7FuwnsnpypAdFYRyPe3UGJiJILMB F21KAWVzqmUGhh4e/XNkIdC/FyXQ9x42XbJNo3wbZMmJaznjL14qJusQ3pezOmuvkW99LSPIRLqW6 jNgWOdkY994jfUh6sjPJm5VKQlVq6ez2KVNEeUK/fqEkgOFLPYsDc2ZSFgxANqtrhugPDfk9HLEwi NuUkyLlEnNLbUi7EZYYwl09dQM/zUy+HD8BcrFtRCusNNkWZ54ais2qAAas22iq7JExkXr+MwhJtU XhaMTxRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srZQo-0000000BqgH-0Ofl; Fri, 20 Sep 2024 08:56:02 +0000 Received: from mail-am6eur05on20609.outbound.protection.outlook.com ([2a01:111:f403:2612::609] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srZGq-0000000BoeZ-0xcC; Fri, 20 Sep 2024 08:45:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gWNIblSmNE2SCTlPNIpOvySE/j71dFl8M967VZuOXYiZyEmwi1hU6r4eTlq+NXkLHyztO4+6Exerw8bziXRUdzjnRTTWIEsjtns2my4iAp4/ROemztKRh+d1tqNd16MdANbh4B2TIzsN6YsjV/+cHUlkrb8NK1/cdwoPgn3fVujmQGRtjoZ8w8HjdZp8+Zlq0M8X5Y3dqwomp0D2BCdc/++80EUN+A7Y+tsukNKi4j3biYLmHAs87PPQjRdP/L8ZV+MlYk0STOwTkq9KKmL+YiQXX/A3HYnk3t8pFhAzb8DS3FupEejp2HmqrKTJ6BDoFPasVvhf9UtnQD9fS6ThVQ== 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=kKT+WjcRy2Jdf9Ju7fmeJI7MqkqP2sH/kdhJMlZ4Jsw=; b=L1frqQzXdwIkzO4tbpImzc7Ws8urNmAY0jJZ+z2jWXj1eWUTWjOk7jKqxjs3WplPT+VtKRYG6K+8M0Wq8Zl/o+tvEIPlEJPzL5YuAY7txpAViuATYc/zFW0QrtkKJ57DirWRrXnGaSSx+Q59tyygybs6rnDSUuO6o7rr2Jp0AxmLSUPkpXYw9+KyjxiPGrBBvzg8ZnNVAdI3VzuVZmF3EFNykIyINAT6D41P9KanRgtBfQ/3J4bJQW5ah+PukrY3idCHC5K7kv4CwJx+9w+r8PEDpWaJS2RQLpYwP2ZWsMdq9qEEUTvOy2j+3cIlDEJ8m0ckQ47J11dllHevHUMUeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kKT+WjcRy2Jdf9Ju7fmeJI7MqkqP2sH/kdhJMlZ4Jsw=; b=oHjbftqhRlrwPD6tRJUqdJClA9aSX+F5C96flMvQheSWmI7xl6XyaLSLf6xGclM2gWfmr+HsTmv4U/Dn7PcwlW69f0nNZqyxjrh7yZES6re2M4TaiEwvKdHIgEwxwtK1du3AwfjJrIOM/zYg/4W3+RhjannMGDr7IBgNexUaeAOvi9dz/0deARHosB2XZlwdTJm9mu2aW6pRThKFPYRoAPQ70zOtUft94IeoVbkcWVUppmFBnTacPFQ035p/5vzWaMUza38WabzKbwJKbvU3a7e+6ua4BbKngYxOKgVP6bnNZTXMG7dMCcuoq9Z4W+XNw1F8JY19aWFAN6L1nvFjdg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by VI0PR04MB10613.eurprd04.prod.outlook.com (2603:10a6:800:25f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.16; Fri, 20 Sep 2024 08:45:32 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%6]) with mapi id 15.20.7982.018; Fri, 20 Sep 2024 08:45:32 +0000 From: "Peng Fan (OSS)" Date: Fri, 20 Sep 2024 16:54:07 +0800 Subject: [PATCH 2/3] mtd: spi-nor: support vcc-supply regulator Message-Id: <20240920-spi-v1-2-97f220c2e10c@nxp.com> References: <20240920-spi-v1-0-97f220c2e10c@nxp.com> In-Reply-To: <20240920-spi-v1-0-97f220c2e10c@nxp.com> To: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726822454; l=1012; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=3PKCZ8dMAK7a/VbQbbFq/RL7XYZ1/SiYfBLf6uYUjBc=; b=e/bcw0WOzkxxJnJofth9F7KBbBqUL2V3ptQz/kmqt4yClw2HvJB7vXAhmYZZ5AxNnIsXAAZcL oTehqf1YfmXCncQIg8zZEkUu44KYg8GvfpKmNon3JOOcrgwL9Bx7O+i X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0035.apcprd02.prod.outlook.com (2603:1096:4:1f6::8) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|VI0PR04MB10613:EE_ X-MS-Office365-Filtering-Correlation-Id: 58f76eaa-cb89-4484-fa66-08dcd9509671 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?LLK8Ns0A24zql5RjkxjZmDtw/hKysDy?= =?utf-8?q?IPbaWVvXks3ZCQs4E/XVaWYumnkcDFk0JLlYqw1O/uaCQ5PwCGoXITeb5/vwxPgeT?= =?utf-8?q?Ky2hIXFUefNvC+rCFJCwk7LniKNXqhWVFwjEmYQPwM96CGY7io9n71zYYBYyzvxb2?= =?utf-8?q?9HbAySaMOF+bENHKu6ECjLPzUC0muSsre7zSMYLLFOG0pU8a+QJY53S+fzxrdhAHI?= =?utf-8?q?K6emsi0EsckxIhMNQHpxS/rDUMB9zb4vVo6BJtwcYpUlfCeFX0FqnhpfM/Cgp4IgF?= =?utf-8?q?w+wDPGbBiHW4ymWzorvqx7OUu5whyQIYWn0W5IWWDlbm2vpMusGJJbR1LQvjFU9JQ?= =?utf-8?q?rvESjCYfzaIH4TnNDRrsZRabAwSKTFwxW6Cc2cqxOvjeTzkjKbufxufE0Q8bnOmZQ?= =?utf-8?q?suliTPb/hz+V8qPBT6HIXDbH8vNkIBXEdVTqGjhTamvoIWBKAW/91R0fF62EGOIrm?= =?utf-8?q?bCs+qopeFY3bGuGy4tyZaUoX4us2NULvYW0lQSP/D8RCfQxS9KJwk4tFDkk7dMM5D?= =?utf-8?q?WNvTM2TDQa7dfqCKjqYtOekVJGmUOzPYzK2b7hjvUeBjjkQww6MxKaOp7mvpzGFa5?= =?utf-8?q?Ow15C9eKd/TsNjfXOnxl7kBZG9rd5wvag/ZcF65lzLAi/dUofJtakeDkO/N738vo2?= =?utf-8?q?Qn669V84hX08D2a9sqHMzCoGfbmhv1NLnhfs3480IA7RrOTza+kKsl2Ogf0K4efAh?= =?utf-8?q?PhGCchVY+pEIyWVdYvz33oAtiixr6JAJk8hCOZaAQmYHiPuvFzvBuSXN46wj7gLQK?= =?utf-8?q?9N0x8Yx5eosNBZu+xMQXpUyBuYIFARURQsC0e69r+SmAGs9G52p7Y9C4x1xuM28pM?= =?utf-8?q?Lzegp4+P0dc4lczV0/Tuvzilg/Xh3g3UKOVM2yQU6G2/JfEtv36W0vfT57DOLJKlo?= =?utf-8?q?g4sXhXbHgDn1dX/KGAJ6YssFPAevDkxb8Tr7h7fOwJ2ge+uiViqbQ/I9fX88EJf6Q?= =?utf-8?q?pZpDSIuts5UF6Ggl8Ktd5XN6E69NiQFtpCYxYNrADx++CKH6bBYWV2GcMhAAUj/e4?= =?utf-8?q?qdizysAeGorJWwjDPncU/jsxD+8J4/pqZVi8qIRy9xfkBa0n1xDAjVngTqRf1QGh5?= =?utf-8?q?P00HU4t6de0tXCgc1p0Z0xPtSiLr7hjk5y5DyOqBhXgXJAItDVNMFQvRCK9t75oAH?= =?utf-8?q?e+kXfYlt3tELNl7z1oXpfc4VZ/e1B/2ckfFXCdihZijTOy+YGn7GLiPUB5CQqQJc0?= =?utf-8?q?rtik6+K4KNT93Vqjy6OlRG4LPokzPio/l1bVOjvcLErFBNYKKTcqa4FcR/DfG8yrk?= =?utf-8?q?UJD6GZ3Zc/RCKNH2orgeI1y3JmhPQSFETypUD5oO9RDADtMIZiFubaW04UAuh2ok2?= =?utf-8?q?NzTFnyLfNHPREQyNsg4cWiAcg+/5RZ0/AiyRLRDcQe0TcObapsiA8Io=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?kg4Z7ybR0RPrPOf/0gzRxvX+xC4A?= =?utf-8?q?Hez2qAj+/kdc9jWku/DgBDzP5cm4VIJ1EHimfp9JObX6Vn2Rn9H5n6dhtYGSeLh18?= =?utf-8?q?ivKhnjNOW6gp78bYUK8chghreR0HXYL1lHStH2IReTXNxQa/Wez/oZXIFpj2FdM+v?= =?utf-8?q?B8/6PrMoIUusBbHW87Pzt9JZt/bVQ61dKxihwSfbTdE9GO+/QVB2qcNXrBFgGtBhj?= =?utf-8?q?HmCoc6eWrdAoDX3zOSt1KhjarL5R0sj18gxxGAGPQzm482EWadkAKMYk8fs/ZHykQ?= =?utf-8?q?bzIropagOX4boqMQpvK5pGFWSc6OLtd6k419221o/oIj/1IQD6oUMPoENmTjJayrZ?= =?utf-8?q?2JrcihrVHgkYkz+rtFbWZYji9foLIWhXuNCF8gb20LjVayRfQIyC65RbQ1uxiXQWI?= =?utf-8?q?dm09gvapjKQ6BsAQ/GlkScOKtSqmUK9yzP22QlOVzOANUKcaFy40z9pz6AUocwCuG?= =?utf-8?q?3M5bWh/94gYzs3ZM2qKNmJANYc/bTJdF4DTboutaYjQhi0THzjbYrLposzEX0YpQO?= =?utf-8?q?e124G/PCVfYDxLdrwXmi77rpEJ9z+1+jD2qdh4OjxDNu7RIml4PGKzXfKSyIw3uz4?= =?utf-8?q?myTpAFiCTeyA69Ct8xjfD1HZb5OYTlYlxOf7bSct8xDpEvpZ8grRVY0T6/c9ZWXB4?= =?utf-8?q?mC2wf2Ek9JSy+zRcZvLzQDoRzaq7QnZwff7CikpNOgSabHLns0QX5UCppdGY8IxR+?= =?utf-8?q?JFS+GOrpaDu1KChv9CRjn45rp1AFnjV+SFwRJBu2b17kZzpEcdsozSLYBjmAkfmCJ?= =?utf-8?q?KgKypp4XqTMkDVKYQVMGcoDl+/JKNmSe3qwSILohSbO0rE/5b0PYV4lTgoLnr2THB?= =?utf-8?q?1NSYfcKXQMkhxECgOacTh1U1Iuloc1nrQxXechCUCqfhMS96bKUO96DN0lI2mbGUa?= =?utf-8?q?N15jqtxjESy7wlWBvl/2c8gpSXwAjLz/mWfTYJ1Qj27kkUPOkeHlirv2mp5pBAnhq?= =?utf-8?q?6ExS3vqpuSoiAcEp4wDm3GZEWUfoNUuZr15kgGihoAvKTC6p75umN3kEFKwymwIMj?= =?utf-8?q?elZxriNg5JUbU/JNl6ka7ti4XTXtFJehiZTxdFPbViNlpoQK1yYBrChFP0cyOA/Eo?= =?utf-8?q?6eaIr4iL9Ni2BD2Zq4F0pVVozTL//X4lC72vgEI7RKK6ZhnX+4nTrATxXByZiEh+l?= =?utf-8?q?y7TB8TyvyXLMFauyG3n0GRZTUVCeiKVcARelWTDq7fMTfWQ/RuE8GCWusCvNtZfXP?= =?utf-8?q?xlXpp2ZhozIP+iWX/CulPgdjKZlm/8gFDt6E3xpsnfx+cJbmnaZ+8NwRVr5D6N+Y5?= =?utf-8?q?tdoR3XM8WSPVOBOFeqfgk8ZUlkD0Ywtaqm7Asyb0XTUD1bs1Pq/xLboavtV+3dDE7?= =?utf-8?q?40IiKk4agJag7ZcZH7lKrDOVHt04XcnPUr23a3HR3FFH2g3q23GT2GKBDcA7ShDUP?= =?utf-8?q?TGXkh9U1JB9qY0PHZk+5x/ARoK8w4hoteiP5I/7hDBkaUc/ZZg5ZZGAuFxbgz+ajE?= =?utf-8?q?VUs6U3pKbKoZ/NrRi3js1IqTeEBCuCgLn+FyQoGsi2wyJN5N/DMp5yKMH6+EmlVeJ?= =?utf-8?q?XCw9At7BX5kV?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58f76eaa-cb89-4484-fa66-08dcd9509671 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 08:45:32.5549 (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: ovfh/QOdorPtvcQrDEyBLbnQ59U3PSAHNQcxeyrf4vgirdHRuEgYsk74uT37srSrO+876l+bwvVAxO6sGooTbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10613 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240920_014544_396653_64CA257F X-CRM114-Status: GOOD ( 10.46 ) X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Peng Fan spi nor flash needs power supply to work properly. The power supply maybe software controllable per board design. So add the support for an optional vcc-supply regulator. Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 ARC_VALID Message has a valid ARC signature -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 ARC_SIGNED Message has a ARC signature -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 FORGED_SPF_HELO No description available. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Peng Fan spi nor flash needs power supply to work properly. The power supply maybe software controllable per board design. So add the support for an optional vcc-supply regulator. Signed-off-by: Peng Fan --- drivers/mtd/spi-nor/core.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index 9d6e85bf227b..0449afe6bb20 100644 --- a/drivers/mtd/spi-nor/core.c +++ b/drivers/mtd/spi-nor/core.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -3462,6 +3463,10 @@ int spi_nor_scan(struct spi_nor *nor, const char *name, if (!nor->bouncebuf) return -ENOMEM; + ret = devm_regulator_get_enable_optional(dev, "vcc"); + if (ret) + return ret; + ret = spi_nor_hw_reset(nor); if (ret) return ret; From patchwork Fri Sep 20 08:54:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 1987810 X-Patchwork-Delegate: tudor.ambarus@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=BppZh+yc; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=mFh82EOy; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X95qm3Hfyz1y27 for ; Fri, 20 Sep 2024 18:57:24 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=+1oD3e/jmVF31lc0/wDiW2sDTVuR+U02FeihYZUfADw=; b=BppZh+ycTz++VycxTQaJREv0gI Ttaeato1ZPToJAmQCB8ypYVjfae/Sjp/pvIBJp8XTVYBEFqYITvf1Sx58oCzgJizt8LSONrNNCwU3 iLeq35npPOv3eX836hliPceSd+XR8tBkdA9KggdTZ5boBc+JEaRhHhJ4wwD9K4tk09qAPuvQRy6pt dTmillAoj2jAX+l1A2fS1PntZs8Bn5lNovE6hQxZfDCJ1sf44HAohW7HfxceSBaqFAoOZTC05+Nmb LVvGeyVZoOb2vn+ESX3uqkeIE/Ym4VY5Ol1EeIdHKBvmnVGocbItRACkbJQMPuVmyeD1YwKQbXGuU U9zKfH+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srZRy-0000000Br6n-3Mgu; Fri, 20 Sep 2024 08:57:14 +0000 Received: from mail-am6eur05on20609.outbound.protection.outlook.com ([2a01:111:f403:2612::609] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srZGs-0000000BoeZ-19Ep; Fri, 20 Sep 2024 08:45:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QzXAPg4iu4WuTyrS+YMXo/tQbmBugaqiDkeauwDLEEfJtTiUQACH0X8QiZ37C2yPLUyLfsHkl2pJE9HNyRzPxAOypVBcwW7fv/2Au2EVEX0+lAf6j9extfDsy5UaGqs762Ey537I6/qA03GCoZva21m4zWji25S7nh1DMyrbpiIgoAsCbTon+AoqYQiuxE5reDcVKgME/9Szo0RNJ04G4mGKRzTo5DdjuAlzGCUe7cEusYZiMpVQUo7HyH7GRxrXc3SgSNOYiGS0eahjvS3wHbHLsUOzc14bG3xzULyoo6BmYB/3LEiyOSnGBQyY8EG3WUjDY3S5zogZX08VD64Wag== 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=MboKSzgGk6AJ901e0vhMqshKxikNQu03vaA4EA+qlj0=; b=wTbCPZSDhBaRQLu5c33a64M8wr3kwdHZcvc3QHdFw9FEpyLfePrksdZ+O0aPmZ6hbCSJJv8J2YlGpA7yr9nhysAzjfzcRRZy9dDbkXr9aqVM70a+r9Y4eByMTO1Tx4VoTbxMEgC0a7sHWuf830l7X/8KTe5ZIK4YuZzMSEBIXZ60NOVuEpLcPbCDNlfnXfq90uogmkKtH0DjHFWLRYvVf8JjzOxj/bmOltcYuK4w6TBgGpET49Txrt3dBH2oWHdrpuTWOE5DVTimhpAg/J7zp0Eyn02+auLDBdXp2dO8fQlqLHPDDaEaTjWcQjU9uPCS8yrAIXhESS/TFdsNf39X4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MboKSzgGk6AJ901e0vhMqshKxikNQu03vaA4EA+qlj0=; b=mFh82EOyQQ27/Sy58tW3G/EdjAN/Y2qaE4YwF5mUV4fiKOWGrKBJipbZNLBrwqqgUxbfdMb9mqUg9GHg/YGk1OrukapZNZgAbxrqWZpCmE/B91CGl3ZAEd5e5rgoOEoiXKIxTrvyBLCnxXagMwaRFA7GINqLF1dgTHorMZjZ9he9rVCvQ5sKRvH6aeEfNTdbxXnItlFuLRKepbnqV/k7M1PK+rTi1td8rRFkkdzu3dFHoc55JovT/HtFo6joBcs2F9TF5LEnb/6pdpNs0N6Rl2uR88rrBpdNISGNLy5H6QRBcAwXLOPLu41hb23ZScmu3YA/Fv4UW4Z11NQOEzrd5A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by VI0PR04MB10613.eurprd04.prod.outlook.com (2603:10a6:800:25f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.16; Fri, 20 Sep 2024 08:45:37 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%6]) with mapi id 15.20.7982.018; Fri, 20 Sep 2024 08:45:37 +0000 From: "Peng Fan (OSS)" Date: Fri, 20 Sep 2024 16:54:08 +0800 Subject: [PATCH 3/3] arm64: dts: imx93-11x11-evk: add overlays for flexspi flash Message-Id: <20240920-spi-v1-3-97f220c2e10c@nxp.com> References: <20240920-spi-v1-0-97f220c2e10c@nxp.com> In-Reply-To: <20240920-spi-v1-0-97f220c2e10c@nxp.com> To: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726822454; l=4277; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=ZqvguUiQsUfx/RBcd1BVPDtrroCvCtLF7yJnubT2Mz4=; b=vH9oqOJk7x2eJzLiJyJ2hTQPTBn8JCu8JXJxPfarMUmkZeRexKph0F3qt5aM9v9tC0dPFxCZs 2J+pgi6GtG5BfpUp3UihUXxpHnaI0CD9gtuQrrcjVGdKF/1RzCm5kN9 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0035.apcprd02.prod.outlook.com (2603:1096:4:1f6::8) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|VI0PR04MB10613:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a0ab242-5c12-49be-342c-08dcd950996e X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?CwwLVWlUcQ80+9uPqPhzXj/Q76YucaV?= =?utf-8?q?mqPt6ejmpS76n09jO3AUh/tFGKEOjo0gp7t231hvGewfYJTmSYUIjNMTq4Zt8KykU?= =?utf-8?q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PaQyfT3r7Pwcw5BOhyykOqlVnKY2DZ8hrZvZ1TiPRfMGUVshu16MS4dPM82Zn?= =?utf-8?q?MWPisOntxCkIh4LFx4T0iO7WviyLV857MEybiUvnGEja2kGzjaCJvMgS6cKS4sBta?= =?utf-8?q?L1nbTe3roMesJ4x79GhjtD2wLX6KtEES7ChuyYJv3X6plP0HMZ8AncxI8R4NKctKe?= =?utf-8?q?spolVH8nbLZe2Vpj4GtNN2ydL9DGWbRvuJRBBLQcfAoxTXVeofVyeonuYGdTaAKvb?= =?utf-8?q?SMdMG1Eu2VjcCSRkNQOuF6osmOr0XsS5DtSmW7eZ/0RvPhCEtJIUFbHYwsD2QgUtA?= =?utf-8?q?vb7a3VNIjJht4gxrGj7E/PovKTZiSiXeovbqSar2+RQ1TWRB0DcfCeAIFs+vYJy2T?= =?utf-8?q?21efgzVK8EmZmBGxpMilNxbfwOi9tK51u2Oi1m7a4gPlf9QxUSIZCXk=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?drkV5t7Ls70KixtJaTvjYw64JJcM?= =?utf-8?q?r9lJxkHtRkgit0mL7TgiMtJIqcnwOmS/YTFGHkAtiAIQx9LioRUV3fSPIIkthxYG6?= =?utf-8?q?7qSBj9gdb+nG+RBT8cf30H9AJMSmE6YwtPsYcwIERTx7KBiXXk9SVTc0iAycViAh2?= =?utf-8?q?gcyooygxQtCwWZwpcoEXiB+VZL/xvgT3zBbb7iY5NAcWErhIm4mrCIyLfyd/CIoeC?= =?utf-8?q?btkjzPtrFhSeLZ2zsa1WWgDWAJbYFEfRp51BoMMA8OXxr/5Q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i0hLX2l?= =?utf-8?q?Zb6NcZSaq7EaBCOMrLwZvA/8cpHu3qe30b35pOgH9KPmAItsnbPYYtmPmq7N3IuCA?= =?utf-8?q?7zKbivPAMB4UM+wrVvyOaYE1J/dGuNKDJtlYmPwXjcfH3cIoPf//Kmqizfrq3MSUq?= =?utf-8?q?GI4A3D912ssvAekCDZ7MAjAgi50+m/5WZeb6z5GQsmsPlVpih8DwKpzSJQury+F5L?= =?utf-8?q?qJVghVUR+qkPiup1ZjO5ITOj7slcR3I9NCpt+lfujDvUuZRYwMMdjAZNWl8Gdv8od?= =?utf-8?q?ThBjB7nn9rBN+DRqZJd74WKF5rlI6tX+yzUD1Lc2kVfBUSyrWKDGEID3f8INoKQko?= =?utf-8?q?4PFl9JNkZ7Y5WNs22Qr1vm3/aFDhx4NEx86ug6RxCoM08bNdtrHQBQdl8kO5sMfgu?= =?utf-8?q?B4EgrOC3LXTe?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a0ab242-5c12-49be-342c-08dcd950996e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 08:45:37.5540 (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: aJ3r1IC7brNChQs/76KleQiejcXTM5p7Lkfl1zCzI3lKmGNUgELGLD+NehKcuqoT7XYnekVfIJ5pTrFDGKXjXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10613 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240920_014546_365626_26D3535B X-CRM114-Status: GOOD ( 13.07 ) X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Peng Fan Add overlays for the flexspi flash connected using M.2 interface. The M.2 interface could be connected with M.2 flash card. The M.2 interface needs PCIE power to work properly, the flash card needs 1. [...] Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 ARC_VALID Message has a valid ARC signature -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 ARC_SIGNED Message has a ARC signature -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 FORGED_SPF_HELO No description available. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Peng Fan Add overlays for the flexspi flash connected using M.2 interface. The M.2 interface could be connected with M.2 flash card. The M.2 interface needs PCIE power to work properly, the flash card needs 1.8V voltage to work properly. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/Makefile | 3 ++ .../dts/freescale/imx93-11x11-evk-flexspi-m2.dtso | 59 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 10 ++++ 3 files changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 9d3df8b218a2..8f82aae85fe0 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -241,6 +241,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqp-mba8xx.dtb dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk.dtb +dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk-flexspi-m2.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-14x14-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-kontron-bl-osm-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin.dtb @@ -249,6 +250,8 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxla.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-evk.dtb +imx93-11x11-evk-flexspi-m2-dtbs := imx93-11x11-evk.dtb imx93-11x11-evk-flexspi-m2.dtbo + imx8mm-venice-gw72xx-0x-imx219-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-imx219.dtbo imx8mm-venice-gw72xx-0x-rpidsi-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-rpidsi.dtbo imx8mm-venice-gw72xx-0x-rs232-rts-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-rs232-rts.dtbo diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk-flexspi-m2.dtso b/arch/arm64/boot/dts/freescale/imx93-11x11-evk-flexspi-m2.dtso new file mode 100644 index 000000000000..f307789546a2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk-flexspi-m2.dtso @@ -0,0 +1,59 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include +#include +#include "imx93-pinfunc.h" + +/dts-v1/; +/plugin/; + +&{/} { + reg_spinor_vcc: regulator-spinor { + compatible = "regulator-fixed"; + regulator-name = "SPINOR"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <®_m2_pwr>; + gpio = <&pcal6524 20 GPIO_ACTIVE_HIGH>; + startup-delay-us = <2000>; + enable-active-high; + }; +}; + +&usdhc3 { + status = "disabled"; +}; + +&flexspi1 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi1>; + status = "okay"; + + mt25qu512abb8e12: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + vcc-supply = <®_spinor_vcc>; + reset-gpios = <&pcal6524 12 GPIO_ACTIVE_LOW>; + spi-max-frequency = <133000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; +}; + +&iomuxc { + pinctrl_flexspi1: flexspi1grp { + fsl,pins = < + MX93_PAD_SD3_CLK__FLEXSPI1_A_SCLK 0x3fe + MX93_PAD_SD3_CMD__FLEXSPI1_A_SS0_B 0x3fe + MX93_PAD_SD3_DATA0__FLEXSPI1_A_DATA00 0x3fe + MX93_PAD_SD3_DATA1__FLEXSPI1_A_DATA01 0x3fe + MX93_PAD_SD3_DATA2__FLEXSPI1_A_DATA02 0x3fe + MX93_PAD_SD3_DATA3__FLEXSPI1_A_DATA03 0x3fe + >; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 8d036b3962e9..2eefa65fbfa8 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -78,6 +78,16 @@ reg_vref_1v8: regulator-adc-vref { regulator-max-microvolt = <1800000>; }; + reg_m2_pwr: regulator-m2-pwr { + compatible = "regulator-fixed"; + regulator-name = "M.2-power"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pcal6524 13 GPIO_ACTIVE_HIGH>; + startup-delay-us = <2000>; + enable-active-high; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default";