Realtek SPI-NAND controller
authorMark Brown <broonie@kernel.org>
Mon, 21 Oct 2024 21:51:01 +0000 (22:51 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 21 Oct 2024 21:51:01 +0000 (22:51 +0100)
commit1d4347816a383be1ae5c92111d4bf4222fabf01b
tree2711d55188d7ff91b9c9f6c00a4f80685d5b4462
parentf45a4399c1b582c6ddc179cc940aed73907b9453
parent42d20a6a61b8fccbb57d80df1ccde7dd82d5bbd6
Realtek SPI-NAND controller

Merge series from Chris Packham <chris.packham@alliedtelesis.co.nz>:

This series adds support for the SPI-NAND flash controller on the RTL9300
family of SoCs.

There are 2 physical chip selects which are called SPI_MST_CS0 and SPI_MST_CS1
in the datasheet. Via some pin-strapping these can be assigned to either the
SPI-NOR controller or the SPI-NAND controller. Which means you can end up with
the following permutations

  SPI-Flash
  Boot Model SPI_MST_CS0 SPI_MST_CS1
  ---------- ----------- -----------
  NOR x1     NOR-CS0     X
  NOR x2     NOR-CS0     NOR-CS1
  NAND x1    NAND-CS0    X
  NAND x2    NAND-CS0    NAND-CS1
  NOR+NAND   NOR-CS0     NAND-CS0