[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240930-spi-v2-0-ed7f6bcbe0df@nxp.com>
Date: Mon, 30 Sep 2024 17:22:23 +0800
From: "Peng Fan (OSS)" <peng.fan@....nxp.com>
To: Tudor Ambarus <tudor.ambarus@...aro.org>,
Pratyush Yadav <pratyush@...nel.org>, Michael Walle <mwalle@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, Marco Felsch <m.felsch@...gutronix.de>
Cc: linux-mtd@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, Peng Fan <peng.fan@....com>
Subject: [PATCH v2 0/3] spi-nor: add optional vcc-supply and enable it for
i.MX93
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@....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 (3):
dt-bindings: mtd: jedec,spi-nor: add optional vcc-supply
mtd: spi-nor: support vcc-supply regulator
arm64: dts: imx93-11x11-evk: add overlays for flexspi flash
.../devicetree/bindings/mtd/jedec,spi-nor.yaml | 4 ++
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 ++++
drivers/mtd/spi-nor/core.c | 5 ++
5 files changed, 81 insertions(+)
---
base-commit: 1dfc4eba4ed353d2c6b26acc0f3518d3eecf28c3
change-id: 20240920-spi-34231ea74761
Best regards,
--
Peng Fan <peng.fan@....com>
Powered by blists - more mailing lists