From patchwork Sun Oct 27 12:15:59 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: 13852506 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2066.outbound.protection.outlook.com [40.107.249.66]) (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 0C18D154BEE for ; Sun, 27 Oct 2024 12:05:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730030759; cv=fail; b=N/ETHoGYMHHWq/hn84GsAWD+DKrOaqj74luhX32hh23SzQVFelGvbtBYuKoJAyyWGHUs12V3/Z+FUitu73XZCy3YmatlrDMx1n5unlj3jkwG2X2mtIr43le2bEG8/SFXzylPLm4qXOq4xgIV1Vz05dkDvrKZ8Bx20lTV1xMhnO0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730030759; c=relaxed/simple; bh=pjio8bT/kxE9ema7VUIxjEG6fEYtnJ+hALandrOizwY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Vg371/F2kZXc2ksn2kiZ29xEvpGjq+ThpSf6LbtkXzsesvmC4JCDoSRoDDBF6BpbA109i6MzHB86veA31k72sY0KnGEa7j804kcmL4YBZtAd5jQeTpUIjdhGtPCoL1WISXyfc86WLQ3xXlw2X1gYWPb2ZdtdM8hKPLohKTZG2u4= 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=ckRVJYtB; arc=fail smtp.client-ip=40.107.249.66 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="ckRVJYtB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=h68J9ZVHzsAuDVUFPbathj+gL/1Um6reqxsL0H8vaxoOqhLjDqlMOKKOmsObl/fq3TelMLFzXprQ8s75O9p77ewHPwdk/ak910oTfFVZGRGO5f1eygh+e2nZ8ynpBGYSGB4Nhq1e8vmTUyyHxRJD1J1sxCKBxAEIxEuMtHfVHXnJFyysQU94IrF2jAdLtewOEu/dag28fYIw49UJ0rNEz6hjVJv+uP+7CKACMu0Mok9VHPded3/bbRV6yX42cEdKrZbNrVH45P2YazUN8EDiDLNCjvAnT+26CBH3wjTjvAE+KQxrTWctOBfaq7n+HDsrtPh9xwQewK/iapKVOamGfQ== 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=ntBIkR6CQb9EgDJ+HVm25j2e26/rPxZ/E8QWzwva+Rg=; b=T3mX20QcA+5Y9JT3cCPMvj9vebXJJO0qPF0uKl39fz7dIvbiyRM+7Knsn5l9RVg7I+e60UPzrglc8TBWvfExusy5e2tLC57f3uSL7574Fi6Bs9vXsw6dXyM53vfnYxYARu/xN3dgjjrgUt0DQDkKVPKFT0seKtB7xmC1YaHza82+KNxGKwWV9cLvpvwdjKAn2sK54Aydjsc1FXZtI+gXQWEQMmFH+WA7QcQAl0JGulT8PIC4Wv3WGDp/N2mbO7608arL1oO0RjyFHwVdwHffjPncyBOzlUB830WDykTa86mE9+0yKDlqf416+cJoa3U4QrZwtQfLSzHV9wfwV4GuMA== 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=ntBIkR6CQb9EgDJ+HVm25j2e26/rPxZ/E8QWzwva+Rg=; b=ckRVJYtBbUiinlItAVHl166/HgthBYdZeV8di+IWQSVlxErie/p5gk2J6QTGaOlyzPfUmf8J9PISNMVlVUPo/iGVdo4EgsY4N8U29zUpoOj+UBuCjCH17P9tyq0y/mrZolOFI8bMnN2OPqChozsGL6T7jNod1dk/pQKmCn7D6lJPb+Bawfe7qk/VRwLlHB9vzvL7Qczd2knroB5sG1ZX5ZcyUshd7V3E01ME1LsMDDUHc9Re9hfY2N3NzAIcx4M4LOwoZ90xHENzC2lz2JrQ8bRcCeSp0C53yBRV8WsqbN8M7mpm669vFjsvwvY+hTJgvLCQ+MBQfI67FFQnGUv+Eg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DB9PR04MB8461.eurprd04.prod.outlook.com (2603:10a6:10:2cf::20) by PAXPR04MB9596.eurprd04.prod.outlook.com (2603:10a6:102:23e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.25; Sun, 27 Oct 2024 12:05:54 +0000 Received: from DB9PR04MB8461.eurprd04.prod.outlook.com ([fe80::b1b9:faa9:901b:c197]) by DB9PR04MB8461.eurprd04.prod.outlook.com ([fe80::b1b9:faa9:901b:c197%5]) with mapi id 15.20.8069.016; Sun, 27 Oct 2024 12:05:54 +0000 From: "Peng Fan (OSS)" Date: Sun, 27 Oct 2024 20:15:59 +0800 Subject: [PATCH v3 1/2] dt-bindings: mtd: jedec,spi-nor: add optional vcc-supply Message-Id: <20241027-spi-v3-1-42e81723bbcc@nxp.com> References: <20241027-spi-v3-0-42e81723bbcc@nxp.com> In-Reply-To: <20241027-spi-v3-0-42e81723bbcc@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.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1730031369; l=989; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=+zZjiMBtljlUWiRlzu0/cJbMN4Q1oe5HlK67nKmWK30=; b=8zd6+K3amrU27dVZUdQeR7QlEnyWADASuZRTkQ2cHYs9+2ojyZVjxlQ0nytEW6eiOnXg4Lhr1 aQNRNsnKfn9D9DmxOgFaHrH6NQDqUdBFYqegrCymUM/zEBOTe8de93E X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR03CA0116.apcprd03.prod.outlook.com (2603:1096:4:91::20) To DB9PR04MB8461.eurprd04.prod.outlook.com (2603:10a6:10:2cf::20) 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: DB9PR04MB8461:EE_|PAXPR04MB9596:EE_ X-MS-Office365-Filtering-Correlation-Id: 5c2ccc25-565b-4033-aaff-08dcf67fb521 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|1800799024|7416014|376014|52116014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?wGBlDqOh1qOH2Jyw12RMR1fQis2PLC/?= =?utf-8?q?4sn39AMI4tVRdsn1kwz7eGW/LmOd807qpobUW4i2gN8ZZIx25fHd5tB41aAUmowEt?= =?utf-8?q?bRtwLwl6r/hrRVGvrD0afJPLRnrzFr/94cuJ7kFmFJhz4yWdVJyxwqrll+TlClrPn?= =?utf-8?q?M5jtCxMlihDcOqhAc1IMVtZ/qIpFNAumUT9Ov1JNhMNH+2bihoJJcqcRmiZd/fFFB?= =?utf-8?q?doannH/7w5MVgXAb5c4SSQ3artign5TsHJyMzd96z4IO2X0W/GKpPaRQoWKGwJEUp?= =?utf-8?q?PMv4qoZ5GCH1eU1IYKvZyLIe8lk1HQ9sOGCokzu11XYTymlr+OnuY4k+f5xfmEyie?= =?utf-8?q?EzjSFV2oneAjPIoE9lkMZNT30xpCju84J8Ozjgf7AUL2QN+1YVd0YR+LaeobL6r6I?= =?utf-8?q?H92YEFwu+LrKBbxgYkIfv9YQGjJEYyrjGbi//SU70aGbMGVizZ9vEBWHAZGaLky/T?= =?utf-8?q?IKg261ZjoDnBtR7ak8Q/xXgNAmFINPkzohnxcsdINdVDTrnzZjP3sJgkoEJGSljv1?= =?utf-8?q?zDLfnC588Mt1XYrhKO2AI6ZzDsTjtJNarLg5dMmA35ivZrqQ9zpQo2gud+4xi1/Dh?= =?utf-8?q?EzGVMeDHlUaY2PuyQigq9X9n32Dr9wNL4vNUm7+q34yC4MESpABkSkE4ry9ffHKcB?= =?utf-8?q?lUA8SEU2gGevJumGX1AHzLIszfUEsX+M4YUIRyw5fUiDYgFfSyKM5J2yTKqUnbXqv?= =?utf-8?q?is9NxOh0DZcA7CzY1Gxu74234dCZs2MYH0Cvkh+JHDLSrqWwi84OLFhZ2Z1ZIR4e2?= =?utf-8?q?a4orMBefnYV3FIZR6aM8ceBr8yoxgfnH9tZikjC+pdt7uDbezjZ4IAWS38nQKzRSF?= =?utf-8?q?DEa3FiFZV8luTtp/1Q4MMR0zt2ttcQl5xhuSaYPsGR6Sbc6P0pfBtPx1i1dUApqqY?= =?utf-8?q?kyFmqVFxbzE3bj6c41OAe7Wc0vsNGd2o7OKtzkMhGUCRCoRuUI6assTDZcFu34ZAB?= =?utf-8?q?Xame4B/kvqQ/eXHuGyd7Hi/OE9crjqA4FGtfP3RgWv8T0cFn75i2bgoA0ZCR/pmmK?= =?utf-8?q?SCEDlA5grLzLbTtEWGjhZ1lKm418vQiMrfs8jwf8r7WZvnmcac/oacbrvWwwHrOJb?= =?utf-8?q?7eoRUHa0XfoPN0PjrYElyCqeuWqss07cCN8zk/q7q+AZuqB3SOEDBTpgAVyDvYQjz?= =?utf-8?q?v7XVnVVH40xL3GdM20PSSuhBltjAgIdx9hiO4zN6RE/feK/89McuPXbIZuVF8o9E7?= =?utf-8?q?CurEiUg7GVubVixf1FO/AIeK7Bq/dR5fgD4Bgmr3cW5yS57zFYb6rPuH8B96pPYuC?= =?utf-8?q?gA0GCgLVI/mrhdQWVTCcToMj+2Aez2EwQ2kR5iXtrGrORDS7hna7LAGaSd1Zx3EGi?= =?utf-8?q?5JFIr1meXaXB?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB8461.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(376014)(52116014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZcRlvCyLxyCt3kNXXo3Ak+HzZInF?= =?utf-8?q?+DhvVtuWRShE+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7phtEPBgTtcGo84n/kyggyj0deRNX8MIAbjrSPjT6OtOOCFYALnJzVIMXJiP?= =?utf-8?q?ZWUIEBotRFkMzutnFS5e1vVpurCToRM64D/VCzOkATkkRsYIKZaXD7nu0uKjSV36M?= =?utf-8?q?1we10oPnjaLrShe1CFxFs8WYmC3mZrC+lGvQwm71bd/TZphbrFjAB4gDgJ6z20+8E?= =?utf-8?q?lsxAVrrDn+M3RhAbD8KaTYBKJ99y9IwFfRS8/iTdA9ACdp09JYlOg86EvOV3ZB23J?= =?utf-8?q?lU0K2luf54dCzwKquntp+/W8rZZrHYk8LJCesfZMnf2BZhJ4lMj39ZPVFj/PgCMUH?= =?utf-8?q?doFhcS67fDcThSZeXww7Ae8hPAdxo8EJZ2+ykp5eX7Us+8I5YuXGaBzwm2BYPsngp?= =?utf-8?q?qQC5GYHvS30lBll6I9L63RlQCnwS08xoL+g+TwKoyiQ7tcp+vplbl1gb7mrW0yJb2?= =?utf-8?q?j0uN7rPHqo7O4r52oonpwUDBj0sidbzTNf0A217dhDZ7HBIrTGc5aA2Z576b9CYkF?= =?utf-8?q?RK356ZFNiHUIvdu6+oW3sRT2GIMxE26cjJTbeR4M0BKbZKDuSLdqBvAxipC7SIB6O?= =?utf-8?q?q/ipS/4eKyrEqNn4XFVdEvnwKYJGCDfHpZHiwipeQG8ZjWWOUCdPQev6vRYv/aomO?= =?utf-8?q?va/59RaHy/VC?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c2ccc25-565b-4033-aaff-08dcf67fb521 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8461.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2024 12:05:54.2021 (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: 3FXH2L5iE41eKlP42K6Vf24zBnag6v/6uPNZtle7nvhrC3lS00SmbWWsFdK0tBL11sKPbnV1QA9DlG3GxxQAPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9596 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 6e3afb42926ea6d22f0dd2ebf39752e115502615..335f8204aa1ebce3d2b4686b2a06d0ea3791667c 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