[PATCH v2 0/2] mtd: spi-nor: Add flash reset support during resume
From: Srikanth Boyapally
Date: Tue Dec 01 2026 - 07:39:09 EST
This series adds support for resetting SPI NOR devices during resume.
The first patch stores the reset GPIO information required to reset the
flash device, and the second patch uses it to perform the reset during resume.
---
Changes in v2:
- Get the reset GPIO once in spi_nor_scan() and
restore 4-byte address mode after the resume reset.
---
To: Pratyush Yadav <pratyush@xxxxxxxxxx>
To: Michael Walle <mwalle@xxxxxxxxxx>
To: Takahiro Kuwano <takahiro.kuwano@xxxxxxxxxxxx>
To: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
To: Richard Weinberger <richard@xxxxxx>
To: Vignesh Raghavendra <vigneshr@xxxxxx>
Cc: linux-mtd@xxxxxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: michal.simek@xxxxxxx
Cc: git@xxxxxxx
Signed-off-by: Srikanth Boyapally <srikanth.boyapally@xxxxxxx>
---
Amit Kumar Mahapatra (1):
mtd: spi-nor: Store GPIO info for resetting device during resume
Sai Krishna Potthuri (1):
mtd: spi-nor: Reset flash device on resume
drivers/mtd/spi-nor/core.c | 40 ++++++++++++++++++++++++++++++----------
include/linux/mtd/spi-nor.h | 2 ++
2 files changed, 32 insertions(+), 10 deletions(-)
---
base-commit: 7a7f426ca93dbbcb0a2b4f52fe48226fc2be71ca
change-id: 20261201-ospi_reset_v2-fb2faddf4eec
Best regards,
--
Srikanth Boyapally <srikanth.boyapally@xxxxxxx>