From nobody Thu Nov 28 16:43:58 2024 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013040.outbound.protection.outlook.com [52.101.67.40]) (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 9B9F0186616; Mon, 30 Sep 2024 09:13:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727687636; cv=fail; b=AaElqy/n95IEwgYt8REjpj0w2an7MSNF6suRFWHvhvHGelaiHtaYpoE8u9Nte9ttaQDUz83Cun1+Ji2EhVTls17LsN3m6WVr+RK3cQbxpWQfQrY2iWBaqPkYBElNFPJKG8DYQahgOUfYxJQkxra59eewRCU5wapp0+ijl6KHghY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727687636; c=relaxed/simple; bh=NsJUH5NojxRAdNC9lEvCs208z3vzPlnqkIkCTD/HC5U=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=BIAVV9bLq+tT1b1DYpcoUbyPq8K33OnvjFlMHBY+LkSI8DGLoQ71m21hWl8rQnSbOkowgC4nCoxzLitA+zqS8V+5qB2YhhChj4cJqX5fx4C6NKTqMg5Oq6+koYgyE4ZySQjn+vsKGDcc0BJlvS1bgNoFH7BsFcsqM9BGavuoTH4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=AoByEE1y; arc=fail smtp.client-ip=52.101.67.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="AoByEE1y" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nri9Pu1QZ0xKkVs0KtKqbp3qgyVt96ejWeUNQMUBu5eRCk4LMjjLorxlbiYSbGbgZ3KgY6747gN+/PCDwMSk2ENccl+J0Yb/BZYVc5G5fZrFWeNou06Syx7TJB62NYqBU22hQcxVXS+Jc4WFc+EXePfFLb4C9IiDegIcYKnRfYDVoYh6plCHjqXEQluqFlS5atom7nt2oJ91uPj7x/tOmCKNOoAVjiZ3wYrcAZdDV3Yf+g7LnqBV1HsZNc5Jg17IzV8LcVWqXwKOFw+pR81IgKuieueGOLjAcXawjQdslM8M/SoBCGPTO47F84kE3qWm1/OF3elnYsUUEaquGCGCpQ== 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=ClwKpgBOVfl87Lhi+w5cm4Qn7yAezK3XX/iyO5BkGTg=; b=LSmHq4yFMxA7LHNikAXQ5CluR2bNV4iPLi7NmD/TVk5yLFM7iBD0NbiIqtkhXpWnaliUlQ06ZoV9C+QSCsMnYktqIsfPGCr/0nfOpZHXLZH3raG0vxn0UJBOwsrnOQy95sLn82i0qrBRi8fhsZCD3WHp8gE3ixtH2Bxw5v64AYGwEFG9a0Y93kBqo03iUBbV83CXtnRaqBfG/7Wr8C5fcgIThAW8z/ytGNwEwHulwgXNnzIZxaHpPVyMoQQXtINGYl49620xh1mjD54YknBxRtgm/ziizAjNZOq+a+brS35gVP7Eouff0i7IXNGIdbi5yCLfPAqNx7Y8UgVm3VOrqQ== 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=ClwKpgBOVfl87Lhi+w5cm4Qn7yAezK3XX/iyO5BkGTg=; b=AoByEE1yw3Ti5Gqb1azjG0bu68vfBBXGMWH3zQWZhPUFpW4uCz05aFpI8z4V9WM1aUjHnuqbedkIb6DTs+sdEIf8rc4jZIg10xBMqaH9boY2vvLwGiUKI2QvcRwkWrfLwVpsRzX+7a8XiLxCNxxhzHAl/FULZ8WXpSfQyqsXAy14ebmkw8ZfZZ1W6CJcnmZ87iHsGbuvxBgv1TXuaoje2QYV+lL7+4HPSkke3rxggEk0J86xvQah1+0o/51PEjqyV1EqIBKrCXBgTJXhgh2ueZseBr+5Qa8+F5IiBrO+dKsvym77q30F1DB6/fTHH6Fr7naHdQ2SKDSvdU/WM2biwA== 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 AS8PR04MB9173.eurprd04.prod.outlook.com (2603:10a6:20b:448::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23; Mon, 30 Sep 2024 09:13:49 +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; Mon, 30 Sep 2024 09:13:49 +0000 From: "Peng Fan (OSS)" Date: Mon, 30 Sep 2024 17:22:24 +0800 Subject: [PATCH v2 1/3] dt-bindings: mtd: jedec,spi-nor: add optional vcc-supply Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240930-spi-v2-1-ed7f6bcbe0df@nxp.com> References: <20240930-spi-v2-0-ed7f6bcbe0df@nxp.com> In-Reply-To: <20240930-spi-v2-0-ed7f6bcbe0df@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 , Marco Felsch 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=1727688153; l=933; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=KCwcdIzFjSB6OYMltfMvwaZ7bZQHSPTg+5JWl0oJQoA=; b=dy3pION3h1kxIVo/g6mzdp9VXckxpbdN0L42pwwN8+Gb1v5yUPLA3yQWtbAKKRL9QnkDhukwa Intim+KGbOQAUUdZgQ+7qwy4zvQKSFn7UsMGv+FdeU6xFPLb0uCxR7F X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR01CA0017.apcprd01.prod.exchangelabs.com (2603:1096:4:191::19) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AS8PR04MB9173:EE_ X-MS-Office365-Filtering-Correlation-Id: 96039ac3-07ed-42d3-c7c3-08dce13031ce 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|7416014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?M1I4Z2x2OUZQR3R0L0hVbGZESnNPOERMNVFpRURGWmpHSnBKSlJHMUNYOEV1?= =?utf-8?B?cDBQSjU1bVAwOGI5QS9aaFJ5WnVYYTY0OW93RFNRNlpaSEd0QnVselorNnNv?= =?utf-8?B?QlRKY0JoNmIzK3NZamFCbnNTbXVjNGprVmtScTYxL1E5QmZCMjQ1eGZjaDZB?= =?utf-8?B?YmVxNCtxSUl3Wjd5RkVYVDNhQm13MDhuQjZ2dHdwSHZ3NGhZL0Z5RVozeXN3?= =?utf-8?B?d3ovVERoZFErWGJmc3dQdlA5cGtvSlVDK1B6UUxmdjFCUW5yTFdqQ1djVWYw?= =?utf-8?B?ZnFDRUhxRDhBSkcyRlFneGZmbnAyb29CVmhWVzgvaDJNUWF5YTdlSXN0aSta?= =?utf-8?B?Q0RKeUl4bGE5eDZzRzh3Uy9BN1Vzdmx6TlpZLys1Y3MycnBYUmtvR3cyRCtt?= =?utf-8?B?WENlM1VwQU81ZUhvT1VscjgzSndTUE9WT0NYUUU4TmVQYmZOYTFLRnBqS0pF?= =?utf-8?B?M2duZ1BJa2xBbG9EOUZFTEVDUCsyVDFKd2Nyczh0Qy85bzBXWEdyRmg0V2tM?= =?utf-8?B?MmtCL0JVb2xLMHlUTVc3TG1PMk15ZmxLSG5HUGo3blBBSGFDblo5eWcvODJt?= =?utf-8?B?bHpmekliZWxtMVhiZWkybFhRcE1OWXZBUlJVeXdCL0ptQ2dFOWZVOGNmQjI1?= =?utf-8?B?aE1NamdTV2V4cEpHaE5JMXVzVnpCNDgrd2owSVU3TGZpRFBVT2FiK1dWV0lW?= =?utf-8?B?bkFsOVRKNXlWMVFKYjhPMlVBQk0ydllZZFNt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1ozekhTK0R4V3ZMWlhUUVI1ZEhjamtrVmQzUjhPdSs4L1FU?= =?utf-8?B?SXhZOFdZaEw2RGpOdVZuYWlBd1UxZDJkS3RiNjhJWTJxdUZDcUVBUEZvL3JH?= =?utf-8?B?bzFDNExvdzFJV21KWmJ0MmVOMTFrTG5zTUE3ODBxM2YzeHNMalR0cE03TTh6?= =?utf-8?B?TzE5NUU4dUxMcDl5d0p5a01LWTdCd05ZdnlkdUREREhtYkRQWGwwcDBNdEgw?= =?utf-8?B?b2gxSVdqd2h3UW5PS3JnbzMxNHk0TDgvaytMQ3JtU3lkWEJDREptUlhuNlQy?= =?utf-8?Q?aoXPo1EQDXA=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)(7416014)(376014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eGxIRkp0T3k2QWlQc2x1WktHRHBVakpIUW9MMmZOQzFIblNpSDJPYTZGNy95?= =?utf-8?B?UVZnTDI3TENNd3Q3U1BtbW9aRjM3dHhaMUsvalBuY0ljYWxJNjFwb2NzTFlI?= =?utf-8?B?Z2pZVGVZUkZWMUFjY0xMMDN5MEhiekVGaVZocGZUV0FNOGpma3ZzSkErSW5B?= =?utf-8?B?d044Z3VwVWpZanZVcXczYmdRSXZGVytGeFFoOWFvcXE1UlRhcS9obDBFcXFS?= =?utf-8?B?ZWpuMGNXSVNRbVcrTk52bEJXcnpwSlA4NlZpVGZxZGFHNGFMYm9MdXFJZVZZ?= =?utf-8?B?S2c2RnYxeG9SNjZobHFqb0FiL1BjbXprMXcvWGZOMFVuckZXSHlQZyt5L0Z1?= =?utf-8?B?dXcvMlA3L2d0MkxvUG56V205MkRheW4xW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ss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96039ac3-07ed-42d3-c7c3-08dce13031ce X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 09:13:49.1823 (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: oOUeTxTDOMCJBvY8eSY7v8WPBNUrf9FLovu6DvKzlBdmNf5pjlVOt7aUyXgQdLgZbL9p1xdhtd9tVGRHWr6DIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9173 From: Peng Fan Introduce optional vcc-supply property, SPI NOR flashes needs power supply to work properly. The power supply maybe software controlable per board design. Acked-by: Rob Herring (Arm) Signed-off-by: Peng Fan --- 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/Doc= umentation/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. =20 + vcc-supply: + description: + Supply for the spi nor power. + spi-cpol: true spi-cpha: true =20 --=20 2.37.1 From nobody Thu Nov 28 16:43:58 2024 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011054.outbound.protection.outlook.com [52.101.70.54]) (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 0E62B18A6BE; Mon, 30 Sep 2024 09:14:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727687652; cv=fail; b=DuYgLWasSu632z2rNBzpL8TCTKdwcGwJY/YfMtzRMu5m3+xaQEOE1jBoCs/IlgrZZVLQofg4PD8OcC2+5a4a47SIsQJFoG3q57mnwe5NS7dGuuIViPIR5sPkvMbQaGbAoU1zy5k0qllCfokMuf1eujL2VuwoQH2OzCuXW39MKEM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727687652; c=relaxed/simple; bh=IWQmxUJQH1+wyKTZpdLdosaXTRPHHiOtS1Ji8/a1k28=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=EzepU2i8vfc5xfGAQ4CqJ2UdkQifCY4hiPG2kp5PB0g5Gl845PXOEndZjGL6kCH/nrrkCqG3BPDLfBfYfk8JJMuu7oTauMSEuNClzq3Zr8+togFxj16wzfSejFhRQZdaWQbQQCgB2YI+dpgAGCn6DVou1Dg5kkj75UxAoD9u8Qg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=lz7JRPyb; arc=fail smtp.client-ip=52.101.70.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="lz7JRPyb" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=K/S5084/Vw77jFCBdFXjFPcefuZcc94uXKtSDlXtboh1fXWyDvq2Tpw+yIOUmafVPK57+RIO+4h/hq3Dj0kea1kzSD9cLSfGyBxb7n3t4q2Rl8UUH9psgJ2zo+p9ZedhFkT7ztew1ylHUsuKdBSRcXPrZH6uzGmJ1K5aH+lQL/HExOD/69+tRQQGfrQmJ+LyS2OHU9fXyOdcIO5Nwl37as6iKEGkF6cCGJkCTK+3mozFknmIY82/xqteLzuDs84Z57GabnPEhJMObDkwBWQOXWukgle7lmGkatjLn+v69ihGZef7HMxAfWXx0wIKyv6k30A8uKtt6C/+dCCIkaOdVA== 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=WJxXxrlHpwX/Eu/ZiLTbL4cMsexhdhsIJLEthRe+9nA=; b=g6M+a8hxCRH5/PuLe01eYEHCEvnoctncSTbLNWIwQprnsfWMOP12Y0xtXL1Z9m2wWpsZSD5dB0t2e6bBo/Ct0/aA/sKI+/oaKifxVGDqr6OhvIgWEsB2Uf7SvAO4IBbaKxNoNG+DFtq6OoUBeMd6VFx4kaz96tI3IRMGIHdZGVejLFww0hpJLmFE7HDZ6tXqqrR0Kk75TALgKvHObBdYgy2y5LJR3NPkhwh3AWXPOpP1YLbFhiGSqrBtcC/I7v1g8CX3a1iXSeQ9vTs2DiCneOg26h1hdXmtvntAaGtcyE3lm2gfjkWXFiaL01nwKbJQbf5hRJSBn2Fkao1ZTB6J1A== 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=WJxXxrlHpwX/Eu/ZiLTbL4cMsexhdhsIJLEthRe+9nA=; b=lz7JRPybhoRcrpZAK7Jz8X5SzmJKuOka2tk7l1gCViHiglusFqBpQZSH5ObNaRtmF/jBDWclF84IFcCb1xuxHJIZMRWD4zhvbTmwxXhYJwFalg3Z85HxitfSUKKA1wT8Ve4BXCFjzJYOvPiiftnZrpo1SZ+pryf/1Ai17DQ+JAEGs+EM8RbQCXFVeDO+Q/8FJgpzAJshQOF58AT71bpwqG4oPOGMzmohqcBo3OXu4fPN7sDBLbpuWgxTMhlHplBgyQsCnMXl7lGMNaeCT74ThUorHv91HdIojx/Y4s0sGfwwTOcwbimHg00f/CXZUmZkVQ3j5Fu5fgqYyZxDM3da2w== 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 AS8PR04MB9173.eurprd04.prod.outlook.com (2603:10a6:20b:448::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23; Mon, 30 Sep 2024 09:13:54 +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; Mon, 30 Sep 2024 09:13:54 +0000 From: "Peng Fan (OSS)" Date: Mon, 30 Sep 2024 17:22:25 +0800 Subject: [PATCH v2 2/3] mtd: spi-nor: support vcc-supply regulator Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240930-spi-v2-2-ed7f6bcbe0df@nxp.com> References: <20240930-spi-v2-0-ed7f6bcbe0df@nxp.com> In-Reply-To: <20240930-spi-v2-0-ed7f6bcbe0df@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 , Marco Felsch 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=1727688153; l=996; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=dVCNuxQH9oNdFfF5MUkgWc3vVRweKipeFuo1LvEXrzs=; b=bR8UGuXmbJo6ucaUTXB5Ri2jK2TqHJcrvfJ9PkDVOqmld5U412wSFY53kUJtRMMKgp5QG7b6q ZtCmBHxRbl5DH/BZKc5Ix8KbdxI1LWSf2q4aAq2Rb9ctQGoPvqMVOCS X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR01CA0017.apcprd01.prod.exchangelabs.com (2603:1096:4:191::19) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AS8PR04MB9173:EE_ X-MS-Office365-Filtering-Correlation-Id: f755ef97-398c-4c49-5778-08dce13034fe 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|7416014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?bDIrZWlTU0RYY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VFFrdENNd1JIWVRD?= =?utf-8?B?TFdTajMrdDY0cHhlS09WTWc3SDdtSVZQYmlyenR3Z3NBMUd1a0Z3SUM4QWZa?= =?utf-8?B?SGU2b255SXhaR0JXOHNjc2xMdE02S0lXSTE5Mk9HempFVmt3Vyt5YmN3TEVt?= =?utf-8?Q?SiaxHQRjohA=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)(7416014)(376014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SVYzV1kzeFhqRzkzNGZzWGxBcC84WVp5TEEzczlCbVNyM1dVdFFOTEJMSkhK?= =?utf-8?B?dTAvVGVVTTRxOVh4MFVmanBERWlReUw5bGp4NGdRNzJEeVloT1JCMUtYNW1P?= =?utf-8?B?Q0NLYnVhaHFjVG5DQzBaVjh4blN0bWkxWnRzQmJjdUNsRDltcm91S1ZXY1Zn?= =?utf-8?B?SmxlQVR3VzJDNndsVFFSNHdIQktRd1hadnZsWFZlSDd2cVFtUVdTRzFHNDk5?= =?utf-8?B?MTNFUXBjWUQ2VUlrNWZCSUlzcjJRcWdLck9JVk5GRlkvUnk3bmdVSzMyNkpF?= =?utf-8?B?UDd0TFBKZ0lRWVdSekEzOWpUZEVOVVBKQjNpVVVoUm9HWVAwL0hDZmlTdHRD?= =?utf-8?B?Qy8wSE5wSExNaWY0dlVST2dGaCtJU1VMQmVuQ1UrelJkUjZDWEtjQWxKOXF2?= =?utf-8?B?aXBYRUZUVysyS0ZmRUxxenlwOVRncEdNSXRVY0F4c0xrL1RWcy9sOWwrajZt?= =?utf-8?B?ekJBOFMwbzcrT052N0pDODNjcE9tZnV0MVBrcnhLTC8rOWhPdGtpUy81c2VZ?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2dUTEozdEV1Rzc2ODVv?= =?utf-8?B?c294aEM1MFNUQkdEYlNpMkMxcUU1U0VzTWtOUFZ1aWRtY0ZobHhvT0U0MmpI?= =?utf-8?B?cjNDalkxQjB3UjVua3hub0V2Y0kyRlNjWDhLL25DT3pLcERDaThjY2ZGNy8x?= =?utf-8?B?RDBveHRrOC9qSW40N3lLU1VjdnVOLzZGdHdiMzVIejBxWTZXc05Kc0lPQ3Bp?= =?utf-8?B?NCs0OFhtNGVtNlErS2tHYlYwaVlKcjFqa21RRWtyTC82QUQ1clZOL0RnbHhv?= =?utf-8?B?WlFldkZnOU1HQTB1clpKRExhWk4vNy9LVkxTR2N6WUh4ZVBPQXZrSlFaaGEv?= =?utf-8?B?NUZRYlpMWmlZaW0wQys1TFRnOC9sMVNGWGY2ZFlkQWFlUzEyQ0J6c0Y3Z2ll?= =?utf-8?B?OWxpOHh5cEQvT0Fkc3NyRk9qaGw3ZmVYTDhjYnB6bnFKUEtGUDhnd0ptWGZv?= =?utf-8?B?Snc4TXN6SlV6TVEwMW55SVcrcXZINmovL1lUbEdOYXJxNFhjR3kwNEJ6dHdT?= =?utf-8?B?dVRMWlpFdnBuZjNYSXhoaXV5bFFTUmMzWm5oV2RFdG9FQ296Z3U2Z2pRbDJ3?= =?utf-8?B?Z1ZZN2l5T0xzbU1xckorNndFTXNuR2MxRHFSMTFtUGM5Sjh3Wm1ic1h1dzFC?= =?utf-8?B?TEVyQ2M3dFNGZGs3VVIvNWpSdVdmVDlxdm5SRTU2ckN5OGtPUHE1TzJxQUh0?= =?utf-8?Q?+ynJjKBtl4Y6ugCOkRo5TLSUR?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f755ef97-398c-4c49-5778-08dce13034fe X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 09:13:54.4931 (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: jxK/NdDT5iH+5A1ApJGD4Rm/dmIuVSayVJVIgbfj4k7ZpylebPDk1mK3JzQkL7UtadW+fCby0/nT1ZIydHe97w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9173 From: Peng Fan SPI NOR flashes needs power supply to work properly. The power supply maybe software controllable per board design. So add the support for an 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..5249c8b13916 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 *na= me, if (!nor->bouncebuf) return -ENOMEM; =20 + ret =3D devm_regulator_get_enable(dev, "vcc"); + if (ret) + return ret; + ret =3D spi_nor_hw_reset(nor); if (ret) return ret; --=20 2.37.1 From nobody Thu Nov 28 16:43:58 2024 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011054.outbound.protection.outlook.com [52.101.70.54]) (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 95AC7189B9D; Mon, 30 Sep 2024 09:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727687649; cv=fail; b=GFtWy9G/M3CjpkQIFm3/X5pEiMnsyItUyt2EzwyPL66SpZ7VWhU7T5hfw0q2+eIhysnQ4UcCXl7itxylrmlg7Mj/mwY6ASB7gtkFH8g2JL7r2pS1m6HjE3zwxftSRSGK7VOLNTvR56tBYWFVbD8nLfM7WbwjAlHkHTVXeri7kqQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727687649; c=relaxed/simple; bh=X1K32EimHAVnTC2ODs+CrvHoaSPoplW+DLX28iP9rXA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=owCqwO8jo/X5yTNnkedXLlp9RLwc4LW25NbcuxfHiNDv+0/kuQLOF2hIUMCnjLnalkzf0cKkZDl7KdI7/ga4GWEzQBdybPIAPfamLWBRYu+TMkFTn2EOrlvfOuvq80wSMvRT7PXUE061aciqghRMbuy47+xNfCXmpMLpFj5skuI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=otHwHU16; arc=fail smtp.client-ip=52.101.70.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="otHwHU16" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sFe9Mfz0MMnzfmhgrSe50ZNNa32RCmvQAMF0D5RoaFWbknamF03evtHM1bfbioTh//6A2HJZvl5H1/Uidhaq22IFyCP7tdiJ1kGK7aU8JyzSC8xrFyX2njPwbVzuRJ/Eq44s1pFcIfISr7G9jJ0CpnmUVl+0IdEahuMTUGofys6S0bSB73GpOQsXvOK4xJ5X8MRNn6oxdfR/FoWWWMmOe8DE/Mi6QKjPUWNLm36g68A5P047ps7b6zNevK6xeZP1tYk5xtbQBY4LquNgoN/WqayC32Fr3QuKEmfzv18bI4zCsoy29MIaGVFG+7EUfUBk5h0bCidjkUyqB6QDiSJ1LA== 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=wF5xumEkaayOMu5xZWWF5ur/dc0jVfrMxPkydLX2krjqw9Cp8xf42AyyVB0oQvf3wTMB0V7QOXNpI4U6T+m3HOMYGKguuQkTZlyv4JiSzhfOO62MjaQ2/CFpkJ7hjbiw6uCeie7Iitdsr/i5T5543NUsZ4mElsW8kJFEAfirAzkY2uJ+CmXdAz6pk0RZL3zG2zzb3e8xmLYn9Qz8lvMJ+BZ+FKuTG1xSa4rfv4bhqKuzQw0/hpjocS+t0erv2vvGp/uZh7WZQc76KMZ092Siiu8c5w1EzgD3tgYjY13p3rFpwRiDJWEFuBZJ/ebg2NsxoyCtM12RkeXcUnFoNAEwsA== 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=otHwHU16+iv8z1AlefpY26WRVMKnOhBCXCZh9kvCK1cU1EKw78887o1xCXmyD7OZNrlvNt8hA44g0mbMXkwWvHN+vTsjh+beu7Mb3mww0Off+jfqazw7u9hqEDS4QcraBcQKkTg2HGx0IrKOrwsyx1dD8Em9Qe7CuYnoPraZoSD2eWDagJcwuSV94B78S37UZ31QBkjn+hMvSBQZ66CyC5r7nfuKXXDnhoqEL0uxNA5WfXuqvtAHr1bZ18On/HbRu3qTmMYgNB7b+F+W96y+hvX1BKeUyXF6fWLxdeRWwIMZWaL5I2odb+cwDBFR83OlM20xwFyBot9/SzDlFpR6KA== 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 AS8PR04MB9173.eurprd04.prod.outlook.com (2603:10a6:20b:448::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23; Mon, 30 Sep 2024 09:14:00 +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; Mon, 30 Sep 2024 09:14:00 +0000 From: "Peng Fan (OSS)" Date: Mon, 30 Sep 2024 17:22:26 +0800 Subject: [PATCH v2 3/3] arm64: dts: imx93-11x11-evk: add overlays for flexspi flash Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240930-spi-v2-3-ed7f6bcbe0df@nxp.com> References: <20240930-spi-v2-0-ed7f6bcbe0df@nxp.com> In-Reply-To: <20240930-spi-v2-0-ed7f6bcbe0df@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 , Marco Felsch 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=1727688153; l=4277; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=ZqvguUiQsUfx/RBcd1BVPDtrroCvCtLF7yJnubT2Mz4=; b=NrByZ6zIMtBFwZOJI+jpgueiNSa6/G9WOd/uvB3spSsVdpKYHvCz1H9h3qH/1INWOhxVW6wXc Kv8paa9YRhlCZPAtySrnsSLYDu/4k7NttoafUKXON/NXgmEF5neuy+T X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR01CA0017.apcprd01.prod.exchangelabs.com (2603:1096:4:191::19) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AS8PR04MB9173:EE_ X-MS-Office365-Filtering-Correlation-Id: b3c29497-0f23-43e3-683e-08dce130386a 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|7416014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VDZ3MENock5oVUdITERMYy93S0o5aGNpMk9vMzZNZTVQMEZvdkVkanFIdTB1?= =?utf-8?B?SWlvL0tiZUMxL21ud2liKytXdHZnc016TTF1SkVkQXZ0RFhNWG9HT29OWlVZ?= =?utf-8?B?dDNMQnAramZFQTd1OEFVNmRXTWNqa0oyTndrL2VOWGhMZDg1Q0cxTjZ4VkZN?= =?utf-8?B?YnRGVCtLR0E3Rm9OaENOU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P: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)(7416014)(376014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QzhSK0h1RDQ0Y05KbldlYTI3V2twY3lFajBvVTh6dWZxNkc0WE0ycXNQRW1D?= =?utf-8?B?Uzd5S0ZMRDhkUExScnZGdDRRN2dlY3cxdFdTT3RHTUo3a0JNc1hOTU1iQ3A4?= =?utf-8?B?TW5ld3hHaXVVMGdkR2V4dFpYQTVPMmhmc01zcWk1cjZvN0phc1ZrTWZqaEFt?= =?utf-8?B?UUc5UUVkM21lZnFMT000T2FCRTZCTDJNM25rajBmaFJwNWo5OTVpOUU1bWIw?= =?utf-8?B?c2g4TjMxdG52TXJ0WVhsNGxiRlIvM0tadTdnY0RGcUFLVDVpNHo0OE9kQjUr?= =?utf-8?B?YTNJcktaWk1HMjdTWGJxaUQxdFJrdEo4SnBoMStOd0pHeUNWekN1Rm5lYitF?= =?utf-8?B?VlV4TWV2Ym9KVHBaY0hyYnhUcXljL3dTcDVaQ3JVN0NsM0pQSnlMWkU0Rmtl?= =?utf-8?B?SFgvSHpaVFdTVGcrOGJ1Y3lNenhxa21tanN1ZkZSWEV6UVk3bFNpb1p2bk9s?= =?utf-8?B?NG9Qa041YWxmU0lSbXlZL3NOWTBUaUJhcWFSWDVRaEVhVVk5Y2lnQlcrQ3BR?= =?utf-8?B?OFlKYlJRbERQOXRUTG51M1pkbnJXSmNvSDY2UUFQRGdMOFRJZG1WemFQUHZR?= =?utf-8?B?N1o2dEswN0pNclFxaDM1NzFCM2RUVlZJZ2dPQWZWRmJuUUJMWldlK0RVblk1?= =?utf-8?B?eWlsaTVvbk83LzdPRTZHZW5QSUdOMnYrdGpkZWRHc3N2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ZtVlNLZkc0NVZkbFVTMHZ2ZkpPYzFS?= =?utf-8?B?SitaQVZzeklrNXN2ZC9TTUtpSWM0bjdUcmpxeC85ME1RZXFRSTVhMCtycUc0?= =?utf-8?B?L3pibEVSOUFCOEhmcFVlZXZqUnl2bVpGVGtoMHJTb21Qd2ZnS2Qzd0RSYmtk?= =?utf-8?B?eWcrcVptQlZ2dDJ5eS9MOGtnc0lYUUhBeElubUQ4dm9xN0NRMTBWbTJuUFZo?= =?utf-8?B?b1A3cDdTOUExRFdZWE9rcXp1ZWc2a2lkWVdCU0puMmFmbDhxQ3AzSFNLZHUz?= =?utf-8?B?c1ROS1djdTBTQnFzcTNWOGdjUG9HMEpISG1POVlLZGdxWWc4KzcrbnpmMHZn?= =?utf-8?B?R0RCTUZKVk94ZEoycGw4blFPQjBNaGg4SVZsZndIdm94Q0dtL3RhREJod0Fq?= =?utf-8?B?bXk0WFFvTml1WU1vSVlvcDR2UDNuUmN2OHBHV3U0WlpuYW5xUDlLbnRyc1VT?= =?utf-8?B?QS9hRjcrT1czVEN0YXJxMTFDL3hzYmpoVzNheDEwbEJpUjlad0JhMEZhUVpu?= =?utf-8?Q?CcBF0pOHh1A14DelO6V/i+7EK?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3c29497-0f23-43e3-683e-08dce130386a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 09:14:00.2677 (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: aIS7jODKp8D6VpLlTDTINRFEQGTIGqc4bt5A5dbVJxFeq9h7eisrXTXqkPwvysW7P2uwD58wimUXW9tORr9T3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9173 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/f= reescale/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) +=3D imx8qxp-tqma8xqp-mba8xx.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx8ulp-evk.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-9x9-qsb.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-11x11-evk.dtb +dtb-$(CONFIG_ARCH_MXC) +=3D imx93-11x11-evk-flexspi-m2.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-14x14-evk.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-kontron-bl-osm-s.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phyboard-segin.dtb @@ -249,6 +250,8 @@ dtb-$(CONFIG_ARCH_MXC) +=3D imx93-tqma9352-mba93xxla.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx95-19x19-evk.dtb =20 +imx93-11x11-evk-flexspi-m2-dtbs :=3D imx93-11x11-evk.dtb imx93-11x11-evk-f= lexspi-m2.dtbo + imx8mm-venice-gw72xx-0x-imx219-dtbs :=3D imx8mm-venice-gw72xx-0x.dtb imx8m= m-venice-gw72xx-0x-imx219.dtbo imx8mm-venice-gw72xx-0x-rpidsi-dtbs :=3D imx8mm-venice-gw72xx-0x.dtb imx8m= m-venice-gw72xx-0x-rpidsi.dtbo imx8mm-venice-gw72xx-0x-rs232-rts-dtbs :=3D imx8mm-venice-gw72xx-0x.dtb im= x8mm-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 =3D "regulator-fixed"; + regulator-name =3D "SPINOR"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + vin-supply =3D <®_m2_pwr>; + gpio =3D <&pcal6524 20 GPIO_ACTIVE_HIGH>; + startup-delay-us =3D <2000>; + enable-active-high; + }; +}; + +&usdhc3 { + status =3D "disabled"; +}; + +&flexspi1 { + #address-cells =3D <1>; + #size-cells =3D <0>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flexspi1>; + status =3D "okay"; + + mt25qu512abb8e12: flash@0 { + compatible =3D "jedec,spi-nor"; + reg =3D <0>; + vcc-supply =3D <®_spinor_vcc>; + reset-gpios =3D <&pcal6524 12 GPIO_ACTIVE_LOW>; + spi-max-frequency =3D <133000000>; + spi-tx-bus-width =3D <4>; + spi-rx-bus-width =3D <4>; + }; +}; + +&iomuxc { + pinctrl_flexspi1: flexspi1grp { + fsl,pins =3D < + 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 =3D <1800000>; }; =20 + reg_m2_pwr: regulator-m2-pwr { + compatible =3D "regulator-fixed"; + regulator-name =3D "M.2-power"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpio =3D <&pcal6524 13 GPIO_ACTIVE_HIGH>; + startup-delay-us =3D <2000>; + enable-active-high; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible =3D "regulator-fixed"; pinctrl-names =3D "default"; --=20 2.37.1