All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Driver for Cadence xSPI flash controller
@ 2020-12-09  7:57 Jayshri Pawar
  2020-12-09  7:57 ` [PATCH 1/2] Add support for Cadence XSPI controller Jayshri Pawar
  2020-12-09  7:57 ` [PATCH 2/2] Add dt-bindings documentation " Jayshri Pawar
  0 siblings, 2 replies; 8+ messages in thread
From: Jayshri Pawar @ 2020-12-09  7:57 UTC (permalink / raw)
  To: linux-spi
  Cc: miquel.raynal, richard, vigneshr, linux-kernel, dkangude, mparab,
	sjakhade, jpawar

Command processing
Driver uses STIG work mode to communicate with flash memories.
In this mode, controller sends low-level instructions to memory.
Each instruction is 128-bit width. There is special instruction
DataSequence which carries information about data phase.
Driver uses Slave DMA interface to transfer data as only this
interface can be used in STIG work mode.

PHY initialization
The initialization of PHY module in Cadence XSPI controller
is done by driving external pin-strap signals to controller.
Next, driver runs PHY training to find optimal value of
read_dqs_delay parameter. Controller checks device discovery
status and if it's completed and with no error PHY training
passes.

Jayshri Pawar (2):
  Add support for Cadence XSPI controller
  Add dt-bindings documentation for Cadence XSPI controller

 .../devicetree/bindings/spi/cdns,xspi.yaml         | 164 ++++
 drivers/spi/Kconfig                                |  11 +
 drivers/spi/Makefile                               |   1 +
 drivers/spi/spi-cadence-xspi.c                     | 894 +++++++++++++++++++++
 4 files changed, 1070 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/cdns,xspi.yaml
 create mode 100644 drivers/spi/spi-cadence-xspi.c

-- 
2.7.4


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

end of thread, other threads:[~2020-12-12 12:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-09  7:57 [PATCH 0/2] Driver for Cadence xSPI flash controller Jayshri Pawar
2020-12-09  7:57 ` [PATCH 1/2] Add support for Cadence XSPI controller Jayshri Pawar
2020-12-09 10:28   ` kernel test robot
2020-12-09 10:28     ` kernel test robot
2020-12-10 10:33   ` kernel test robot
2020-12-10 10:33     ` kernel test robot
2020-12-12 12:18   ` Lukas Wunner
2020-12-09  7:57 ` [PATCH 2/2] Add dt-bindings documentation " Jayshri Pawar

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.