Message ID | 20241027-spi-v3-0-42e81723bbcc@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 77BC8D116E8 for <linux-arm-kernel@archiver.kernel.org>; Sun, 27 Oct 2024 12:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=akRBHhTzA+/ScA4ZI0iAxTTpavMr2MOa4j1S0l4m3jE=; b=YikrBXgP4MTayV/Ga/b36icP55 wKQqyTD7Dm8Moa1pOXI1VdKaxunTibGzgirQyq4e4bRtBh4SLf5P55dcIptxt9p5AQsaK32bMUjRm w2caHcZlFHXkJickKqdZCbRMGN367Kahk0GWAcf67rCOBfPzQ5c+CRLDLwDT+PrZDiXEKn9Z34UtB 6Dsj9qKCM6Lhrg+ZLklV9APa+csrd0vfnQpQeryin8ImDfDCSZKp0+J2VKHXs/Bj0+p2Lu+AFVUya goyy+moA7l+Jbj2ukCO6pgWswWaSeM96MClSsve/SAP5trglq6iDpjfIXRkYE91tp/+cm+fHLD+P0 CNW4vFQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t52L3-00000008D4e-0us9; Sun, 27 Oct 2024 12:25:45 +0000 Received: from mail-vi1eur05on20611.outbound.protection.outlook.com ([2a01:111:f403:2613::611] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t52Gf-00000008CeF-3LFH; Sun, 27 Oct 2024 12:21:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Jd/qwux6NPP8xLbEBzMx6lcxfIh/FsteVnYP9hy9JzZ6j2m9vqFogfHvod6OkjZb+m05s4z8uh2xmrT9HjGTFIhc29U9GGvChmhC10GguHdyvc1dS1KUm5Vk0Ul9BaXyCJsOsuuKAku0eXtTZoCtBqYReIW/XRs5kFrzvcQrSMMQKEc/hy9PXFVGmjqSshCgRBLR9jrNsR5sjlpvMNdeoXfn8F2rQsO1sIgVrkuaFwRnBnNfFGi/hlLvccoabNTzjXCPsbEmQznwfnHpCsCL2EGcpDxNRHiBEaQUKgM4o0jvuPhD4HMhFxvvy4xnsWtEjzEs3rxHaPY+jN9v/Q1plA== 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=akRBHhTzA+/ScA4ZI0iAxTTpavMr2MOa4j1S0l4m3jE=; b=tly+VMobUqe7rqDlkovIgGeFVY/xJeS38AXBR3HFl1Oygz+Daah9BLMQ+aqSYtBXcXsfpwXv3IAJhlmY4rvheGVg75T3jynnZacqVuutyZ3/DSDwES1hj6M9LFILMuA8O0c7RQv5DKMNtM1VwdUN49vQkqqLEm+GaVckiNXk1RHn0k21KVSccqpSJMSwjiT4x+wKXOZNXizAY3uPbUctf985DtFOwq+LNW1miK84vIr8xvWtE111gNDbzubnpV4yqhW9XnebkiwEC7k9wF8C9H8AxMx/PTf0fi9B9ndHMqrDgm8HfpmuXDH0FMvUkNYs5MLuoRaQ3pgdNEiKAkZl/A== 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=akRBHhTzA+/ScA4ZI0iAxTTpavMr2MOa4j1S0l4m3jE=; b=U9MvuEIoD5ActVHSOHPMJw+x4wrHtSStzNacC6kiKtlWOr5eeF79ubTujmvG5j4DeVDOsJ+P6ClwwcgCUpmQoCmSGjxi8fNczEMqjZOtzzjtwI8ImlUVUVNYcyKhSWWWZAuz7AmiwJ6paLLanO2Drt4USyuSid/KPu8L3YmgVzf2PTKBZ0Ez6y4/t5z36MSpsvI8j2kAchoGFHmKSE7qeSmGfnGUQ0RZwgehrcLh4PNbdgkgyATKN5Uvy9r9kgc7RATQWWcmv3M0D8BSGtSHCuWl0bUa4z4ox4hXUe7z64JGhtYKJwAYKDgW24y3/ZLq7yHw0mrE+4ZMGLy+MW5QJA== 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:48 +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:48 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Subject: [PATCH v3 0/2] spi-nor: add optional vcc-supply and enable it for i.MX93 Date: Sun, 27 Oct 2024 20:15:58 +0800 Message-Id: <20241027-spi-v3-0-42e81723bbcc@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAP4uHmcC/1XMwQ6CMAzG8VchPTvTdYQFT76H8QCjkx4EspEFQ 3h3BzFRj/+mv2+FyEE4wqVYIXCSKOOQw5wKcH0zPFhJlxsIqcSaUMVJlCnJaG5saSsN+XMK7GU 5Vm733L3EeQyvYzTp/frvk1aoauuJ0BFrdNdhmc5ufMKuE/0I8xGUBXfWV61rGTv/Fdu2vQEfb lnaxgAAAA== X-Change-ID: 20240920-spi-34231ea74761 To: Tudor Ambarus <tudor.ambarus@linaro.org>, Pratyush Yadav <pratyush@kernel.org>, Michael Walle <mwalle@kernel.org>, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Marco Felsch <m.felsch@pengutronix.de> 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 <peng.fan@nxp.com> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1730031368; l=1247; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=YcwFkbtFV026Y8ksYlGgcwcGWipxaxFf/JI1t9h/mLE=; b=XEStuGFnWTqYRJk/wLFImWg9b+G0nq06Wvxe0EaQgGNx20WtVb7w6Wp6gicAblMgiWTCk27Ld qC9IYwPVs87Ac8IvsFhlp/G2bU+ArB0+LUDXCGdkiGujZlsW9nVhSgg 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) 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: db9aca24-0fa5-4aa3-1a5d-08dcf67fb18e 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?fNMxYOi2/WfU2nkIFx/xcOQ4Xw22856?= =?utf-8?q?4NjBdHJTIRtMB1PSH02ApvQIStKOF0lwlG3GZVivT36iI9ziKR+qtCodPJrOicoZs?= =?utf-8?q?71sQB+ran6LCf8lXLYqiCK4WLiCPcQKQJiRjsJ8Gddn9IhE/tq7P3rrhppKSvA5Ki?= =?utf-8?q?Fa+hQYy2zL3v9L+jP3pCO6nZDxR2k74lC2aCHosqix5M5IOPF/qc7ui9UfyGA/3LR?= =?utf-8?q?3qVrBauUv6+Yr9JnRTEPgIAF+l+wUeLXG3mOvq02xneaZ5LnM4fpZHVOb1HN4QfON?= =?utf-8?q?L5e8ZKwNSKBrmqNe08wb1EyWlyURojiQOMiLS4HFGayVXzn+T32hdh76RVYG/uVqv?= =?utf-8?q?STJA9MeC8x9rM6qwePVfXXMP59HKmB7roWDvln9DP/ABY1zWGSPIrZXODQ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VW1z?= =?utf-8?q?al6NHuNUZPHUin4VzscfDnTQtitnfXyfNS/ttOMVp1XXxUoelYn0b38rVdArsuHjq?= =?utf-8?q?Q3GJ4ozc6JgM/nYVt2MP9wK8cj2C3xhAJA=3D=3D?= 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?ap9uy7GJqKykboqff97+iNIjERqh?= =?utf-8?q?RedCfrqf3ao1OxI7Yz89KqXDSNJf0kCGdrs9g88K1mGgC1gZnL4VFkhJ1H6Iw7DMW?= =?utf-8?q?jDt1n+bAWn88X049tx7Dr/CoXywgiv+ekUnq/4M4Y0GL2I83LzgB2IY4GHB8jRAoQ?= =?utf-8?q?CSCgCSxiiF7giUMXqz8M2Qqm1Idi8wpff6D8uVS/gKfGnymJh6EZv2kAQw4ymbgZy?= =?utf-8?q?IJBs1l3zo9PIdVgmD0fewkk/AVayGcQO5DJCfuM0lVY/CL6lO9opvp+QVRI5tv/Ca?= =?utf-8?q?UKns+1VVNmfBCoJvDfqGD6bzhe0ZEUU25J61/sLDcFWBJnjXl0tYL3Hq1zd9YwfP/?= =?utf-8?q?CLWEMcWPVEtSaQPA8Rhs8GngeSxKgqzcd3Bal6MyBrLQ9WGdFZ4Df0e4RpXgydpiO?= =?utf-8?q?2U4jISTzP6I7Le1aoa/2pC0kZjWqtRFyq00gXjbnPyo7j1AuM524YPgs9aDt6nT5y?= =?utf-8?q?dCRM9RQ9FeHeJk3E0d6shydW4RuwxkbBujWN9ZF58AkXdBVEiTcVx/VZGAOYY8IY0?= =?utf-8?q?9QUfyzUQrJSBg2dcN84LP0Xefw2RlwNsIvT66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?= =?utf-8?q?J+BGZb8B16mbL1rjSr9DoALViDocD3sniSlet9IE+lizr09skaVqJvCZjaeOaCZK8?= =?utf-8?q?Tm3Mb6+HzCnY?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: db9aca24-0fa5-4aa3-1a5d-08dcf67fb18e 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:48.0865 (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: n2XLfAnKAZbsEjHJ0p78e2ch+77mo3f6+VY/jsZa92DXL3cQvZmm9fnn6sQLVgd6pJN3rmKDZiaFqed3Ydax6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9596 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241027_052113_846680_A0DC49F8 X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
spi-nor: add optional vcc-supply and enable it for i.MX93
|
expand
|
spi-nor flash needs power supply to work properly, the power supply could be software controlled. So need enable the power before using the flash. Patch 1,2 is to add vcc-supply for spi-nor Patch 3 is to add overlays for i.MX93-11x11-EVK Signed-off-by: Peng Fan <peng.fan@nxp.com> --- Changes in v3: - Rebased to linux-next next-20241025 - Drop patch 3 which is to add i.MX93 flexspi overlay device tree. - Typo "spi nor" -> "SPI NOR" in patch 1 - Link to v2: https://lore.kernel.org/r/20240930-spi-v2-0-ed7f6bcbe0df@nxp.com Changes in v2: - Add A-b for patch 1, typo in patch 1 - Use devm_regulator_get_enable in patch 2 I still keep it in spi_nor_scan because it is in probe stage. - Link to v1: https://lore.kernel.org/r/20240920-spi-v1-0-97f220c2e10c@nxp.com --- Peng Fan (2): dt-bindings: mtd: jedec,spi-nor: add optional vcc-supply mtd: spi-nor: support vcc-supply regulator Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 4 ++++ drivers/mtd/spi-nor/core.c | 5 +++++ 2 files changed, 9 insertions(+) --- base-commit: 7c98818f1183b7e4b6757901b41b0e37293aa28c change-id: 20240920-spi-34231ea74761 Best regards,