All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] mtd: spi-nor: Rework Octal DTR enable methods
@ 2022-02-10  2:33 ` Tudor Ambarus
  0 siblings, 0 replies; 18+ messages in thread
From: Tudor Ambarus @ 2022-02-10  2:33 UTC (permalink / raw)
  To: p.yadav, michael, Takahiro.Kuwano
  Cc: miquel.raynal, richard, vigneshr, linux-mtd, linux-kernel,
	nicolas.ferre, zhengxunli, jaimeliao, Bacem.Daassi, Tudor Ambarus

There are manufacturers that use registers indexed by address. Some of
them support "read/write any register" opcodes. Provide core methods that
can be used by all manufacturers.
Update the Octal DTR enable manufacturer methods: introduce templates for
register operations, use the introduced core helpers.

The series depends on:
https://lore.kernel.org/lkml/20220209133656.374903-1-tudor.ambarus@microchip.com/

Tudor Ambarus (3):
  mtd: spi-nor: core: Add helpers to read/write any register
  mtd: spi-nor: micron-st: Rework spi_nor_micron_octal_dtr_enable()
  mtd: spi-nor: spansion: Rework spi_nor_cypress_octal_dtr_enable()

 drivers/mtd/spi-nor/core.c      |  41 ++++++++++
 drivers/mtd/spi-nor/core.h      |   4 +
 drivers/mtd/spi-nor/micron-st.c | 105 +++++++++++++------------
 drivers/mtd/spi-nor/spansion.c  | 135 +++++++++++++++++---------------
 4 files changed, 172 insertions(+), 113 deletions(-)

-- 
2.25.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2022-02-25  7:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-10  2:33 [PATCH 0/3] mtd: spi-nor: Rework Octal DTR enable methods Tudor Ambarus
2022-02-10  2:33 ` Tudor Ambarus
2022-02-10  2:33 ` [PATCH 1/3] mtd: spi-nor: core: Add helpers to read/write any register Tudor Ambarus
2022-02-10  2:33   ` Tudor Ambarus
2022-02-21  7:40   ` Takahiro Kuwano
2022-02-21  7:40     ` Takahiro Kuwano
2022-02-23 20:59   ` Pratyush Yadav
2022-02-23 20:59     ` Pratyush Yadav
2022-02-10  2:33 ` [PATCH 2/3] mtd: spi-nor: micron-st: Rework spi_nor_micron_octal_dtr_enable() Tudor Ambarus
2022-02-10  2:33   ` Tudor Ambarus
2022-02-24 19:51   ` Pratyush Yadav
2022-02-24 19:51     ` Pratyush Yadav
2022-02-25  7:37     ` Tudor.Ambarus
2022-02-25  7:37       ` Tudor.Ambarus
2022-02-10  2:33 ` [PATCH 3/3] mtd: spi-nor: spansion: Rework spi_nor_cypress_octal_dtr_enable() Tudor Ambarus
2022-02-10  2:33   ` Tudor Ambarus
2022-02-24 19:53   ` Pratyush Yadav
2022-02-24 19:53     ` Pratyush Yadav

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.