mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mtd: spi-nor: Add flash reset support during resume
@ 2026-12-01 12:38 Srikanth Boyapally
  2026-12-01 12:38 ` [PATCH v2 1/2] mtd: spi-nor: Store GPIO info for resetting device " Srikanth Boyapally
  2026-12-01 12:38 ` [PATCH v2 2/2] mtd: spi-nor: Reset flash device on resume Srikanth Boyapally
  0 siblings, 2 replies; 3+ messages in thread
From: Srikanth Boyapally @ 2026-12-01 12:38 UTC (permalink / raw)
  To: Pratyush Yadav, Michael Walle, Takahiro Kuwano, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra
  Cc: linux-mtd, linux-kernel, michal.simek, git, Srikanth Boyapally,
	Amit Kumar Mahapatra, Sai Krishna Potthuri

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@kernel.org>
To: Michael Walle <mwalle@kernel.org>
To: Takahiro Kuwano <takahiro.kuwano@infineon.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
To: Richard Weinberger <richard@nod.at>
To: Vignesh Raghavendra <vigneshr@ti.com>
Cc: linux-mtd@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: michal.simek@amd.com
Cc: git@amd.com
Signed-off-by: Srikanth Boyapally <srikanth.boyapally@amd.com>

---
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@amd.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-01 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 12:38 [PATCH v2 0/2] mtd: spi-nor: Add flash reset support during resume Srikanth Boyapally
2026-12-01 12:38 ` [PATCH v2 1/2] mtd: spi-nor: Store GPIO info for resetting device " Srikanth Boyapally
2026-12-01 12:38 ` [PATCH v2 2/2] mtd: spi-nor: Reset flash device on resume Srikanth Boyapally

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®