linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/3] mtd: nand: gpmi: add proper raw access support
@ 2014-11-30 18:10 Boris Brezillon
  2014-11-30 18:10 ` [PATCH v6 1/3] mtd: nand: gpmi: add gpmi_copy_bits function Boris Brezillon
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Boris Brezillon @ 2014-11-30 18:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This series provides an implementation for raw accesses taking care of
hidding the specific layout used by the GPMI controller.

Best Regards,

Boris

Changes since v5:
 - rename gpmi_move_bits into gpmi_copy_bits

Changes since v4:
 - fixed a few corner cases in gpmi_move_bits (tested it with:
   https://github.com/bbrezillon/gpmi-move-bits-test/blob/master/gpmi-move-bits-test.c)
 - add documentation and comments for the new gpmi functions

Changes since v3:
 - add comments to the gpmi_move_bits function
 - extend raw read/write documentation
 - move last part of the raw_page_read function into a conditional block

Changes since v2:
 - fixed a bug in gpmi_move_bits
 - add a raw_buffer field to be used when using raw access methods
   (experienced memory corruptions when directly using page_buffer_virt
   buffer)
 - add raw OOB access functions


Boris Brezillon (3):
  mtd: nand: gpmi: add gpmi_copy_bits function
  mtd: nand: gpmi: add proper raw access support
  mtd: nand: gpmi: add raw oob access functions

 drivers/mtd/nand/gpmi-nand/gpmi-lib.c  | 153 +++++++++++++++++++++++++
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 201 +++++++++++++++++++++++++++++++++
 drivers/mtd/nand/gpmi-nand/gpmi-nand.h |   6 +
 3 files changed, 360 insertions(+)

-- 
1.9.1

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

end of thread, other threads:[~2014-12-02 18:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-30 18:10 [PATCH v6 0/3] mtd: nand: gpmi: add proper raw access support Boris Brezillon
2014-11-30 18:10 ` [PATCH v6 1/3] mtd: nand: gpmi: add gpmi_copy_bits function Boris Brezillon
2014-11-30 18:10 ` [PATCH v6 2/3] mtd: nand: gpmi: add proper raw access support Boris Brezillon
2014-11-30 18:10 ` [PATCH v6 3/3] mtd: nand: gpmi: add raw oob access functions Boris Brezillon
2014-12-01  8:47 ` [PATCH v6 0/3] mtd: nand: gpmi: add proper raw access support Brian Norris
2014-12-01  8:58   ` Boris Brezillon
2014-12-02  0:47     ` Huang Shijie
2014-12-02  8:21       ` Boris Brezillon
2014-12-02 18:01         ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).