From: Konrad Kociolek <konrad@cadence.com> To: unlisted-recipients:; (no To-header on input) Cc: Konrad Kociolek <konrad@cadence.com>, Mark Brown <broonie@kernel.org>, <linux-kernel@vger.kernel.org>, <linux-spi@vger.kernel.org> Subject: [PATCH v2 0/2] spi: cadence-xspi: Add support for Cadence XSPI controller Date: Tue, 28 Jan 2020 13:40:29 +0100 [thread overview] Message-ID: <20200128124042.11469-1-konrad@cadence.com> (raw) Driver for Cadence xSPI flash controller. 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. Changes between initial version and v2: - fixed device tree schema yaml file Konrad Kociolek (2): Add Cadence XSPI driver Add dt-bindings for Cadence XSPI controller .../devicetree/bindings/spi/cdns,xspi.yaml | 166 ++++ drivers/spi/Kconfig | 11 + drivers/spi/Makefile | 1 + drivers/spi/spi-cadence-xspi.c | 895 +++++++++++++++++++++ 4 files changed, 1073 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/cdns,xspi.yaml create mode 100644 drivers/spi/spi-cadence-xspi.c -- 2.15.0
WARNING: multiple messages have this Message-ID (diff)
From: Konrad Kociolek <konrad-vna1KIf7WgpBDgjK7y7TUQ@public.gmane.org> To: unlisted-recipients:; (no To-header on input) Cc: Konrad Kociolek <konrad-vna1KIf7WgpBDgjK7y7TUQ@public.gmane.org>, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>, <linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> Subject: [PATCH v2 0/2] spi: cadence-xspi: Add support for Cadence XSPI controller Date: Tue, 28 Jan 2020 13:40:29 +0100 [thread overview] Message-ID: <20200128124042.11469-1-konrad@cadence.com> (raw) Driver for Cadence xSPI flash controller. 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. Changes between initial version and v2: - fixed device tree schema yaml file Konrad Kociolek (2): Add Cadence XSPI driver Add dt-bindings for Cadence XSPI controller .../devicetree/bindings/spi/cdns,xspi.yaml | 166 ++++ drivers/spi/Kconfig | 11 + drivers/spi/Makefile | 1 + drivers/spi/spi-cadence-xspi.c | 895 +++++++++++++++++++++ 4 files changed, 1073 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/cdns,xspi.yaml create mode 100644 drivers/spi/spi-cadence-xspi.c -- 2.15.0
next reply other threads:[~2020-01-28 12:41 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-28 12:40 Konrad Kociolek [this message] 2020-01-28 12:40 ` [PATCH v2 0/2] spi: cadence-xspi: Add support for Cadence XSPI controller Konrad Kociolek
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200128124042.11469-1-konrad@cadence.com \ --to=konrad@cadence.com \ --cc=broonie@kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-spi@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.