From patchwork Mon Sep 30 09:22:24 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: 13815702 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010015.outbound.protection.outlook.com [52.101.69.15]) (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 162B818893C for ; Mon, 30 Sep 2024 09:13:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.15 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727687636; cv=fail; b=a4blIOrwEY/cI4RviZBXwDiHYPEkKQPALbOicfcr3DZpHLUAa5jC/xThXo7HbyM/5BdLBEYWMVakMBltg1iKl/uXLZ4qoBcCKt8RIQ6XXetQYo8EDvnTVrQwcNbrzy2mvOZa8ZtpdROPToRBtE3PP/yHOF2bknBec9NgPOyKZNM= 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.69.15 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 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: imx@lists.linux.dev 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?q?3R8glv9FPGtt/HUlfDJsO8DL5QiEDFZ?= =?utf-8?q?jGJpJJRG1CX8Eup0PJ55mP08b9A/ZhRyZuXa649owDSQ6ZZHGtBulzZ+6soBTJcBh?= =?utf-8?q?6b3+sYjaBnsSmuc4jkVkRq61/Q9BfB245xfch6Abeq4+qIIwZ7yFEXT3aBmw08nB6?= =?utf-8?q?vtwpHvw4hY/FyEZ3yswwz/TDhdQ+XbfswPvP9pkoJUC+PzQLfv1BQnrLWjCWcUf0f?= =?utf-8?q?qCEHqD8AJG2FQgxffnp2ooBVhVW8/h2MQaya7eIsti+ZCDJyIxla9x6sG8wS/A7Us?= =?utf-8?q?vlzNZY/+5cs2rpXRkoGw2D+mXCe3UpAO5eHoOUlr83JwSPOVOCXQE8NePbfNa1KFp?= =?utf-8?q?jKJE3gngPIklAloD9FELECP+2T1Jwcrs8tC/9o0WXGrFh4WkL2kB/BUolK0yTMW7L?= =?utf-8?q?mO2MyflKHnGPj7nPAHaCnZ9yg/82mlzfzIbelm1Xbei2lXQpMNYvARRUywB/JmCgE?= =?utf-8?q?9fU8cfB25hMMjgSWexpJGhNI1usVzB48+wj0IU7LfiDPUOab+WVWIVnAl9TJ5yV1Q?= =?utf-8?q?Jb8O2UABM2vYYdSmUbMCEhLnmsGVxDLOGLWpMyEzuM3qfCFvTNqD3eCObm3rZ+dcg?= =?utf-8?q?SyfEO0++e2/DGl/XVWSJvaQpuXhwJapQOkuczxb5IdVWyrAdpuFmfKgHqtpHuqCD7?= =?utf-8?q?8gZnzWxqmDFXLsCn0eYRggi+9LrqIrTU04GSm08sMD8GbiR7ZYrW9iV0k8cUiclac?= =?utf-8?q?HR8pqr7wWM40YJWOODV1Xln8GKVygFi1eyHUYMyt0MU8quDZCwsbkppMt3+Kp1l3s?= =?utf-8?q?uGoPvOpcJ1YXqJwYv7tF96czvBBEAWjFhNbMnKQbTCWElEXprmgY8vIz1MpLINtdL?= =?utf-8?q?DDWz+aIDYlhzj3qK53928LhKaZ3RfNgVUlWeISjkGSfw8hOiwFfN2shS5XXWGKfyU?= =?utf-8?q?38YW8cMAkezfoJhA7eq4my1C+Kd1VTxTuT76ie151/DIavRsku1clqzAsjub1QjSf?= =?utf-8?q?mwDrYZzc8ZuN/LdsTzvfQH+cbTCHMpvmukF4Yni7LTfe/sZy2Kprx0gDRacLVQXb2?= =?utf-8?q?woXvQ4O7CxHuK4q8+OYj/HNhZjDMZlxNnkgjBnDQtO1YSlD50ShiwyJfLPtUN4rMd?= =?utf-8?q?0oP52FYDlWR2CA0ZmDk8VjQlohokEPwH3TjmWZuZjYACB0GIpy2N84DQu/7mt6bBS?= =?utf-8?q?L7yhHJaNb0G0jBzc3UG/Se/kZ3zHS+DxWvLZXTQR5dHcjkkVd3R8Ou+8/QTIxY8WY?= =?utf-8?q?hL6DjNuVnaiAwU1d2dKtb68IY2quFCqEAPFo/rGo1C4Low1IWmJZbt2eN11kLnsMA?= =?utf-8?q?780q3f3xsLjTtpM7M8zO195E8uLLp9ywJykMKY7BwNYvyduDDDHmbDPXl0p0MtH0o?= =?utf-8?q?h1IWjwhwQnOKrgo314y4L8/k+LCrmSydXBCDJmRXn6T2aoXPo1EQDXA=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-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/l8ftbsOjPR6FjzJPskPr58dhji1wDdBv9GO/zZwzyI6SGR?= =?utf-8?q?KIGNHXx1n+bRg8qowQRAF2KbrtetRFtdiK7fS5GlYf7Ghc0IRESQ8jHfz2Ki6r4+g?= =?utf-8?q?yaE0DZArJfojmbs/YRvqvxfJ080ofMafYyaEw0mmNsP6vSts9yWtVACf0lgdD7BhH?= =?utf-8?q?QBw+WQNdYV/5iHnkierCxA4clTIJiExaDS1mLNQ1Y1UqflpT3/aZdf4PraXNsTrPt?= =?utf-8?q?/iDFR5MOSkK3yo17WBOt2z0dYNZ0eZtgCgcN8cV9P3ZbYWPD5iw5l4BT7QQISyxWI?= =?utf-8?q?1k+tAZ6B2RdvjY+pkoZGajVNKqWkt1mcMRwNmC4A3dmFWBBWcb9BU/5gOtoKawwX1?= =?utf-8?q?2qvF/YTeeM3Anqsy4UyWidjMbTDPiT3baDF6+1S41IktfX7a1GA/5MDTChZ3pmxP9?= =?utf-8?q?xtYW88PszWix9HqctzRDImvhVLu9j3aL0jpij4anSCaf9fXpG6MvnscY48SVRgPaQ?= =?utf-8?q?jKwr+wy3fcEs7ZhWQILGd2vRl0H7bKIRxSWMSrdKBUI5YBJqMh4ZFd/YZBYyNHXif?= =?utf-8?q?tGtC+yZRjn1n3PYFrV2Xmmkw4pqLe1rpPbG69Q1qhr7Fp95UZ6gL8F9PWmWDw+53p?= =?utf-8?q?SvaPxJACmdQpXXxZNDKeQsL5fydMSs2/IxVm06uU5ynVBLxJ/iyoS7hrN5YG2PajN?= =?utf-8?q?CsFTWZH1JfD4?= X-OriginatorOrg: oss.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/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