From nobody Fri Nov 29 11:49:50 2024 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2042.outbound.protection.outlook.com [40.107.21.42]) (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 CE1091304B0; Fri, 20 Sep 2024 08:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726821932; cv=fail; b=GfC2xQ0RjVT6g6jzwv3AmBCLLKeIIAZ3Z48yCui7gHWw/gmTlt+GoKCr+JhlUiwDnJW8WC8ax60gEqNtXr98CBKQSqOhTUrQ1iML9JLvkanrWtLHX/aRCivdJJtKY4SSkBuxtnul6bhb+ccScHFgwkwUdvbE2zClZwxcTylGcgU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726821932; c=relaxed/simple; bh=WJEcSi1OYM/hgifBm18d3QkwepyGnB3yiJLnO4RNtBU=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=E2Sd4+zMVxaAEeClySS7F8LB+wlaPHjH6wKZr1WXzZ17bWOZlGzckxrqP2KXB+x6FXAudDWQYzHySbc6l0Dj6ZEKOOOC8gdq/OQq6DnPHfxd/yopUEx78LpKPv8u+Doe1TlIHTBifI1HqOsf7OORlJ4V1vqUDDC39O0vrXsUTXA= 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=bNb+oEXR; arc=fail smtp.client-ip=40.107.21.42 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="bNb+oEXR" 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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) 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_|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?B?OHFVb1VPR0VxZGF1OWNQTDNmY3pqSitBeWZvUmorL3RyaFk2NzlhaXYyaXZo?= =?utf-8?B?Ni9kN2dFWmFHZVBNUjFiMlVhTnNyUUVWVlJrZGhTUVZVdlBlcVUxY3lidlVm?= =?utf-8?B?eHlidWVLUmc1bXF0TkRqdVV2SDBjQ2pSeFRGYUN2RG9IUmRueTFkUCtndk5E?= =?utf-8?B?aVdGcWtEZTc3TGFteFppYzVBbUpRdFo1QisvclVNVXUrejNpK2cxMEE5dlJr?= =?utf-8?B?TnREbkROaGwwWWFQVWlkKzRiby8zYktEZTRhQWxSVGtqd1AybDJUWXRpVXIz?= =?utf-8?B?TlBaM3dwS0V5a2lXL0o3REZacmREVmlWUyt6YkJ6TjFoUnI1UFFKeDhHeC8r?= =?utf-8?B?NThVZDZDOVhpSndpMlNmcGJRWitORmRLT1dVUEhpaTlWOEo5Y3BTdjUxZytj?= =?utf-8?B?U2Q4eWFXaHdRZ0xLd1NqNEV1M3hvWXZDeDBXUEc0cHk2WVluc0VxWklUVzZi?= =?utf-8?B?VFFNQTNQZGszcmczSy9JYjdJT28zMzdyK3ZDZW1ydFB1MVZEaVpZVnBTMVRF?= =?utf-8?B?MU5lQ0VCY0d1WHJ1TWVuK2wrVloyOVhuanlZbVlhMGx6L0hIZnJ1dnZNY29G?= =?utf-8?B?WHB6UG5TQXBVWVBvTmpSSUR0ZmpvRUJ2TWhReWtrU0U0NDNPbHRtdFhPV3VR?= =?utf-8?B?aGpKQTZFRFBXUGppZHA1OFFRNkszWkZ1L3MrbVhiTTc4YmllMVd6TElzcVpC?= =?utf-8?B?c1hxT0hPTGlEZU1OM3ByOGRRU2QvT0VaN0xSckJBa3BQWDFUWDk1WHF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M3NEZjZFelZ0SnpxSkR0?= =?utf-8?B?WklXcFpjK0p2aTZqWUdFNGNNbHZhaCtvSU0rQ1lqVnlxcEU0cEcyaGdpd0kx?= =?utf-8?B?TGpTcmNwdm9hYU5tRVZ4d2hSS0cwaTZocDhxbFlUaTZWV1gxaFpzbjZQOHMx?= =?utf-8?B?TTlZZ2tnQStKeXZIUHhUOUwwcEhZNTcreXo0WHFRWkV1NnBDeW9Ba3ZRQ0Fk?= =?utf-8?B?V2J2bFhJRnhGVGhON3NlVC9raXpzMWhkWkVma2RjeEd4MmdNaHEvaFdSWDM5?= =?utf-8?Q?bNrcHJZuk9o=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?B?RVNEeXNoSlFiREViS1Q3cVIwSHhBOWVEMEdtWW9IVGgwMDQzLzVYTnp4a2pa?= =?utf-8?B?ejlSUG9yTEZWT0pGc0JSYnJORDlBVWk2YjhUMmxZb0hsMThqTlZsMGp3Y0R6?= =?utf-8?B?TEV4Tnlybndsbm4rVDhZaVRoM2tuWnJtYys1elN2bnFDWmVod0M5RlZtMldq?= =?utf-8?B?UlZQUGlseWM1QVBIRUY3YUhkZFVVdDZVSGdEWlpTcGVSOVZadWpzeVpQU0or?= =?utf-8?B?WmUyRE1BcS9FUWJwaTRJeWk5ZW9LTXlKcE5NQXVCdnlvU045a0pWU3pRa2R4?= =?utf-8?B?dElieVBBMmdHcnNpdTBwSW1aUnpuOURBZmVIKzBkdENBUEw0cGJiRW9lVElK?= =?utf-8?B?UTBZeHo1R0tXSjQvaFFsNGRrUUdNM2lKcU1xKytyNVNlcUdyRmUw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-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 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/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 Fri Nov 29 11:49:50 2024 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2081.outbound.protection.outlook.com [40.107.22.81]) (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 018F6139D13; Fri, 20 Sep 2024 08:45:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726821937; cv=fail; b=KEl+6uCMfR2MUoweII7nQGhoNjIue2oQYZUtXfZ8fEpp2jUHlYZeKJhclMQXzN3TOxLdnRtD5FnqgT9q3KCmBfieEKaDPbQfJQZGwukKIOOk7JNdK9817TXsjbJtFCpt3k3ohgYm4tqA7BfIVYnvJoTOeaW+nQyxwIejG0ZmV90= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726821937; c=relaxed/simple; bh=s2ZiYErCl3IlcDlwNOVXaL3859izhhwXElqPKZuKEIg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=UpAvNDkPfmP0DKqs4CzuIOE7Xu0SSKbdVx1IQRs+rU8UISpVdNMtzdQL9jL7vxgTGnn9ktBbhVzcM15q2Vc7As6o7SZOPRcHNu2SX+llIIRHopR9sWyga2CFGVpcTwZ4j0KzGwlbAyr170iKDrAjPvXQjBtdW6O8af/B/4AS0yw= 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=oHjbftqh; arc=fail smtp.client-ip=40.107.22.81 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="oHjbftqh" 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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) 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_|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?B?TExLOE5zMEEyNHpxbDVSamt4alptRHR3L2hLeXNEeUlQYmFXVnZYa3MzWkNR?= =?utf-8?B?czRFL1hW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VENW9POVJEQUR0TUlaaUZ1YmFXMDRVQXVoMm9r?= =?utf-8?B?Mk56VEZueUxmTkhQUkVReU5zZzRjV2lBY2crLzVSWjAvQWl5UkxSRGNRZTBU?= =?utf-8?Q?cObapsiA8Io=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?B?a2c0Wjd5YlIwUlByUE9mLzBnelJ4dlgreEM0QUhlejJxQWorL2tkYzlqV2t1?= =?utf-8?B?L0RnQkR6UDVjbTRWSUoxRUhpbWZwOUpPYlg2Vm4yUm45SDVuNmRodFlHU2VM?= =?utf-8?B?aDE4aXZLaG5qTk9XNmdwNzhiWVVLOGNoZ2hyZVIwSFhZTDFsSFN0SDJJUmVU?= =?utf-8?B?WE54UWEvV2V6L29aWElGcGoyRmRNK3ZCOC82UHJNb0lVdXNCYkhXODdQenQ5?= =?utf-8?B?Slp0L2JWUTYxZEt4aWh3U2ZiVGRFOUdPKy9RVkIycWNOWHJCRmdHdEJoakht?= =?utf-8?B?Q29jNmVXcmRBb0RYM3pPU3QxS2hqYXJMNVIwc2oxOGd4eEdBR1BRem00ODJF?= =?utf-8?B?V2Fka0FLTVlrOGZzL1pIeWtRYnpJcm9wYWdPWDRib3FNUXB2SzVwR0ZXU2M2?= =?utf-8?B?T0x0ZDZrNDE5MjIxby9vSWovMUlRRDZvVU1Qb0VObVRqSmF5cloySnJjaWhy?= =?utf-8?B?Vkhna1lreitydEZiV1pZamk5Zm9MSVdoWHVOQ0Y4Z2IyMExqVmF5UmZRSXlD?= =?utf-8?B?NjVSYlExdXhpWFFXSWRtMDlndmFwaktRNkJzQVEvR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WlR4ZEZQYlZpTmxwb1FLMXlZQnJDaEZQ?= =?utf-8?B?MGN5T0EvRW82ZWFJcjRpTDlOaTJCRDJacTRGMHBWVm96VEwvL1g0bEM3MnZn?= =?utf-8?B?RUk3UktLNlpoblgrNG5UckFUeFhCeVppRWgrbHk3VEI4VHl2eVhMTUZhdXlH?= =?utf-8?B?M24wR1JaVFVWQ2VpS1ZjQVJlbFdURHE3Zk1UZldRL1J1RThHQ1d1c0N2TnRa?= =?utf-8?B?ZlhQeGxYcHAyWmhveklQK2lXWC9DdWxQZ2RqS1psbS84Z0ZEdDZFM3hwc25m?= =?utf-8?B?eCtjSmJtbmFaKzhOd1JWcjVENk4rWTV0ZG9SM1hNOFdTUFZPQk9GZXFmZ2s4?= =?utf-8?B?WlVsa0QwWXd0YXFtN0FzeWIwWFRVRDFiczFQcS94TGJvYXZ0ViszZERFNzQw?= =?utf-8?B?SWlLazRhZ0phZzdaY1pIN2xLckRPVkh0MDRYY25QVXIyM2EzSFIzRkZIMmcz?= =?utf-8?B?cTIzR1QyR0tCRGNBN1NoRFVQVEdYa2g5VTFKQjlxWTBQSFprKzV4L0FSb0s4?= =?utf-8?B?dzRob3RlaVA1SS83aERCa2FVYy9aWmc1WlpHQXVGeGJneithakVWVXM2VTNw?= =?utf-8?B?S2JLb1ovTnJSaTNqczFJcVRlRUJDdUNnTG4rRnlRb0dzaTJ3eUpONU4vRE1w?= =?utf-8?Q?5yKMH6+EmlVeJXCw9At7BX5kV?= 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 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 *na= me, if (!nor->bouncebuf) return -ENOMEM; =20 + ret =3D devm_regulator_get_enable_optional(dev, "vcc"); + if (ret) + return ret; + ret =3D spi_nor_hw_reset(nor); if (ret) return ret; --=20 2.37.1 From nobody Fri Nov 29 11:49:50 2024 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2056.outbound.protection.outlook.com [40.107.22.56]) (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 CA60513BC0C; Fri, 20 Sep 2024 08:45:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726821942; cv=fail; b=N4iHpDdtqNmiDEuZnXX7YmlsPBtLIBHMxiIAq7n8Y0XRAuK5JjubNQC0qWbtSo4uuOy9VRmfcaJtrZeEocJ7rsE5DOFQL8BzczqwNYhcqXc73+Yn8KDuLK7G8umweHthcJrLk6oU1DAz0eaoeLrSmw5dUOOnO//1PRbDFB0/KGw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726821942; c=relaxed/simple; bh=X1K32EimHAVnTC2ODs+CrvHoaSPoplW+DLX28iP9rXA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=bZPW6RD/ESplnPzVwUfiwEOrKSg5wfTT2mwQojPHFnztwRUkDfjYdH4tfQZeYZaHfmLwov9Np4I+11ASmc22HcWRo25fooc0iNbdvEwlsEC/ekaO934JCMGed+ujEdDc+fzrsmhwQlNTrzJhgO7Yi5MCIz9R5gnvY7zEO5oJtPw= 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=mFh82EOy; arc=fail smtp.client-ip=40.107.22.56 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="mFh82EOy" 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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) 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_|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?B?Q3d3TFZXbFVjUTgwKzl1UHFQaHpYai9RNzZZdWNhVm1xUHQ2ZWptcFM3Nm4w?= =?utf-8?B?OWpPM0FVaC90RkdLRU9qbzBncDd0MjMxaHZHZXdmWUpUbVNZVUlqTk1UcTRa?= =?utf-8?B?dDhLeWtVTzFmNWlBSkZ3MWxvd0wxT1FjMEwwcHUxbDZuNE5oOGlSSzB3OU5s?= =?utf-8?B?eEd6dFZiSGxTaG5nNUplNTA3KzBPTGpOcXZDUUJPbG1TSnp0U2cySUN1WFRM?= =?utf-8?B?QUl3VVlSaGQ0VWF3eENsQl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AT: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?B?ZHJrVjV0N0xzNzBLaXh0SmFUdmpZdzY0SkpjTXI5bEp4a0h0UmtnaXQwbUw3?= =?utf-8?B?VGdpTXRKSXFjbndPbVMvWVRGR0hrQXRpQUlReDlMaW9SVVYzZlNQSUlrdGh4?= =?utf-8?B?WUc2N3FTQmo5Z2RiK25HK1JCVDhjZjMwSDlBSk1TbUU2WXd0UHNZY3dJRVJU?= =?utf-8?B?eDdLQmlYWGs5U1ZUYzBpQXljVmlBaDJnY3lvb3lneFF0Q3dXWndwY29FWGlC?= =?utf-8?B?K1ZaTC94dmdUM3pCYmI3aVk1TkFjV0VyaEltNG1yQ0l5TGZ5ZC9DSW9lQ2J0?= =?utf-8?B?a2p6UHRyRmhTZUxaMnpzYTFXV2dEV0FKYllGRWZScDUxQm9NTUE4T1h4ci81?= =?utf-8?B?UTg0VEJidFp5Z2hsOS9Jbk0ybUg2UnZ4VEdXdmw0RHBPL2s5ZzRMenZMRG9a?= =?utf-8?B?dlQ3TldmVzNkNDVEZ01lZGl4dDExeVpWQzNQZUpPeEg4L1hMdGlqT20yQXB2?= =?utf-8?B?Z0lpaXBOMkgrRGtZRWdJT2JYdkhpQkt6VW9TWHh2a1hocFhXNFJZZHdiTUFV?= =?utf-8?B?ejE4d1hPVEJzVHc0Q3k2Qmh1SkluanM4aXNTei9BNFhXRkVmelBZbjRGYld5?= =?utf-8?B?ZHpsaThuSSt1OHVBUjJmWitUTWxzZS9jR2J4VjNhejJEa05TakN5TGlTTXhq?= =?utf-8?B?ajdYRVFGNW83NmdNSHF6UlJ0dWpqVENPSXpKVmlETmFoQlN0czQ1SDczamhC?= =?utf-8?B?Tld6MlhvTUZEVHRvVEpPRnNJaTRBSFlxNmw2WXpEeHY3aGxhYkZoL3lX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FlZdG1QbXE3TjNJ?= =?utf-8?B?dUNBN3pLYml2UEFNQjRVTSt3clZ2eU9hWUUxSi9kR3VOS0RKdGxZbVB3WGpj?= =?utf-8?B?ZkgzY0lvUGYvL0ttcWl6ZnJxM01TVXFHSTRBM0Q5MTJzc3ZBZWtDRFo3TUFq?= =?utf-8?B?QWdpNTArbS81V1plYjZ6NUdRc21zUGxWcGloOER3S3B6U0pRdXJ5K0Y1THFK?= =?utf-8?B?VmdoVlVSK3FrUGl1cDFaak81SVRPajdzbGNSM0k5TkNwdCtsZnVqRHZVdVpS?= =?utf-8?B?WXdNTWRqQVpOV2w4R2R2OG9kVGhCakI3bm45ckJOK0RScVpKZDc0V0tGNXJs?= =?utf-8?B?STZ0WCt5elVEMUxjMmtWZkJVU3lyV0tER0VJRDNmOElOb0tRa280UEZsOUpO?= =?utf-8?B?a1o3WTVXTnMyMlFyMXZtMy9hRkRoeDRORXg4NnVnNlJ4Q29NMDhiTmR0ckhR?= =?utf-8?Q?BQdl8kO5sMfguB4EgrOC3LXTe?= 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 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