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: 13808336 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.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 F0C861311B6 for ; Fri, 20 Sep 2024 08:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726821932; cv=fail; b=J3pnPK3BXOauiiYXgBUYeyBpvSV4JL+Ou/kmnzdQGrw1LsTXzB061sjZGIufjrPhNTyPsRVJqzIzGGsTs3IhmoMXSMrs0X6BoJvtzcextcBHjMZ6bfVMfZeOumi3SBiVcseCb8MAI0dGB6vQoWe6VENFZPyBJex0QqdgXAu8Blg= 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.22.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 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: 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_|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+?= =?utf-8?q?l+VZ29XnjyYmYa0lz/HHfruvvMcoFXpzPnSApUYPoNjRIDtfjoEBvMhQykkSE443O?= =?utf-8?q?ltmtXOWuQhjJA6EDPWPjidp58QQ6K3ZFu/s+mXbM78bie1WzLIsqZBsXqOHOLiDeM?= =?utf-8?q?N3pr8dQSd/OEZ7LRrBAkpPX1TX95XqXKkOt/8DSQCwaOjbd4qg2aCrgN1Ee085EFq?= =?utf-8?q?PVIWmvUZ1mz+td8HxJCjFZpZEZU8gLrO2Q5zokUUM6pjqxkxZbho34R2MdCGl3AcB?= =?utf-8?q?1HF0Va/BCMo85cwHJE//Jj+c/iXaQ+yl9SMGqN9z78aEmMwdqId4uiFZfuulzUB/P?= =?utf-8?q?hUSMY9JIl8LEnhiGEAnnl/oRAX/Bwzwf+Swx+sODk/+2o817TBbZ7ukQJ8/PkjiJ0?= =?utf-8?q?bO1fPUoj8xkO07UNGajSZSCLSLq8i1GfCCFTGDHbALIDi8NpJ0uQz2KvFVyn3hVAZ?= =?utf-8?q?4LI/B4IUdEqP9cxJBJXsiwXF3r5Pfi37jP/RkwGOa/BI+3sHL6vE5rQCm8rlX5Y+w?= =?utf-8?q?MpqEMDTzNl77HnuWpxdFkmBpRBsPGUpRXBtNRoMoBmDovCs5LBdYwLwEF6I2tJf30?= =?utf-8?q?WxFjxXSlLJm9CRu/vOmxdyqEcDfDk0bOZ4PgYyhAl0N1lR77dtOnbhdpKZxCrssZC?= =?utf-8?q?sD11PjEPfQmmhdSeb7fRFHovp7TOneish+1evghRLeBwk4LqBpOsYk0eVoEV3Q0oc?= =?utf-8?q?SM5rEv7UeSgCORWgWbIWo49xc1bqkfbdLskipKIXbrZ8zYKHurnSSOEyMdIPNCVBp?= =?utf-8?q?WmFQORUMcBqtYuO5vpHUsc+NGFAY8LpeIsyQ9GCPqjRK3sDf6EzVtJzqJDtZIWpZc?= =?utf-8?q?+Jvi6jYGE4cMlvah+oIM+CYjVyqpE4pG2hgiwI1LjSrcpvoaaNmEVxwhRKG0i6hp8?= =?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-Ex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8?q?L+2gsR5/HXc8/4xJMWoZL6AX3Ilb9LICRyF+JtACY0UYZK5+pTXsD5VWlmD02rUY/?= =?utf-8?q?RyPrz0AZt/jOjjkLUVv82OjHiVJy2V7zXuUHbTRJtWIFiU4R68nbJxtmCH/Y93oLM?= =?utf-8?q?Droivc7y8YG0QY5BidD4vvUlUmUCxVKCgtho0jRqgYFGjoFfiu6Ge1WOBjUM1SEa4?= =?utf-8?q?iTZxy5XqXmXq/Kanex0nx4mKXuyzvOlYVW6Tgh4c7pZbSCKCwsaYH+ijGeNlEy2PM?= =?utf-8?q?WcaSZMVOgmszx+bbvz7M40MYtN8leK8QoH44+bO/5N3x1GGm+37d6EQQxoYPosJyz?= =?utf-8?q?atwvB20hB7ZBu9Y0Qa08+6ebo6V5Fv+vA9cwhv+70xarZD7+snry1K6gtROoW7iEN?= =?utf-8?q?cQKEwydlLMRouRIYvoYedanYjz6Gqcjg0Zxz+5KZfgbR9S3bOMsm8TfM5JwxXNZtx?= =?utf-8?q?nitk98Beuma28KsQz1s/thu8Ayaqu6mVuuO4Cio1jNf+i/ah+f98PcMnhYE8PPSiQ?= =?utf-8?q?AQWW0E9gxgTQy9ZlVht7ivmsA7cxmS5hswYyN4bhvi2XidVK9+wCRbizHka3Vmre4?= =?utf-8?q?MvkJ4v79mMMcUfEk/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 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