Skip to content

spi-nor: add optional vcc-supply and enable it for i.MX93

Peng Fan (OSS) imx linux-arm-kernel linux-devicetree linux-mtd lkml 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20240920-spi-34231ea74761

Versions newest first

  1. v3 Latest2 patches 2 repliesIn review
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- 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/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: mtd: jedec,spi-nor: add optional vcc-supplyDocumentation/devicetree/bindings/mtd/jedec,spi-nor.yaml+4 -00 replies
2/2mtd: spi-nor: support vcc-supply regulatordrivers/mtd/spi-nor/core.c+5 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Marco Felsch
1/2A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] 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

---
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/[email protected]

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/[email protected]

---
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,

Signature · 1 line
Peng Fan <[email protected]>