Skip to content

Enable access to SPI NOR flash on Samsung Snow board

Michal Suchanek linux-arm-kernel linux-devicetree linux-mtd linux-samsung-soc linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 62 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ARM: dt: Add SPI CS on Samsung Snow board.arch/arm/boot/dts/exynos5250-snow.dts+2 -14 replies
2/11mtd: spi-nor: Add GD25LQ32C 1.8V SPI NOR flash IDdrivers/mtd/spi-nor/spi-nor.c+1 -00 replies
3/11mtd: add debug prints to mtdpart partition parser.drivers/mtd/mtdpart.c+4 -00 replies
4/11mtd: ofpart: do not fail probe when no partitions existdrivers/mtd/ofpart.c+2 -26 replies
5/11mtd: mtdpart: Do not fail mtd probe when parsing partitions fails.drivers/mtd/mtdpart.c+2 -30 replies
6/11mtd: spi-nor: rework spi nor read and write.drivers/mtd/devices/m25p80.c drivers/mtd/spi-nor/fsl-quadspi.c drivers/mtd/spi-nor/spi-nor.c +1 more+81 -460 replies
7/11mtd: spi-nor: rework write loopdrivers/mtd/spi-nor/spi-nor.c+15 -330 replies
8/11MTD: m25p80: Add option to limit SPI transfer size.Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt drivers/mtd/devices/m25p80.c+28 -234 replies
9/11dma: pl330: fix wording in mcbufsz messagedrivers/dma/pl330.c+2 -23 replies
10/11spi: add more debug prints in s3c64xxdrivers/spi/spi-s3c64xx.c+30 -08 replies
11/11dt: Exynos: add Snow SPI NOR node.arch/arm/boot/dts/exynos5250-snow.dts+12 -04 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/11A-b A-b A-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11R-b R-b
10/11
11/11

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

Read the v1 thread

Cover letter [PATCH 00/11] Enable access to SPI NOR flash on Samsung Snow board

Hello,

this patch series makes it possible to access the SPI NOR flash in the Samsung XE303 'Snow' Chromebook.

Unfortunately not all issues are resolved. To work around an issue with the pl330 dma engine I respun the patch for limiting transfer size in m25p80 driver.

As the flash does not contain any sane filesystem and is only likely to be accessed with mtd_debug or similar tool the limit of the dma engine is easily reached. Filesystems using shorter data transfers are less likely to be affected.

Thanks

Michal

Michal Suchanek (11):
ARM: dt: Add SPI CS on Samsung Snow board.
mtd: spi-nor: Add GD25LQ32C 1.8V SPI NOR flash ID
mtd: add debug prints to mtdpart partition parser.
mtd: ofpart: do not fail probe when no partitions exist
mtd: mtdpart: Do not fail mtd probe when parsing partitions fails.
mtd: spi-nor: rework spi nor read and write.
mtd: spi-nor: rework write loop
MTD: m25p80: Add option to limit SPI transfer size.
dma: pl330: fix wording in mcbufsz message
spi: add more debug prints in s3c64xx
dt: Exynos: add Snow SPI NOR node.

 .../devicetree/bindings/mtd/jedec,spi-nor.txt      |  6 ++
 arch/arm/boot/dts/exynos5250-snow.dts              | 15 +++-
 drivers/dma/pl330.c                                |  4 +-
 drivers/mtd/devices/m25p80.c                       | 57 +++++++++++----
 drivers/mtd/mtdpart.c                              |  9 ++-
 drivers/mtd/ofpart.c                               |  4 +-
 drivers/mtd/spi-nor/fsl-quadspi.c                  | 29 ++++----
 drivers/mtd/spi-nor/spi-nor.c                      | 80 ++++++++++++----------
 drivers/spi/spi-s3c64xx.c                          | 30 ++++++++
 include/linux/mtd/spi-nor.h                        |  8 +--
 10 files changed, 166 insertions(+), 76 deletions(-)
Signature · 1 line
2.1.4