Re: [PATCH v2 0/2] spi: sophgo: add Sophgo SPI NOR controller driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2025/3/4 16:35, Longbin Li wrote:
Add SPI NOR driver for Sophgo, including read, write operations.
This driver is only suitable for NOR flash.
If there is a next patchset, please also replace "Sopgho" with "SG2044" in the cover letter, including the email title.
---

Changes in v2:

   Fixed following issues as per comments from Yixun Lan, Chen Wang, Inochi Amaoto, thanks.

I feel like you left out Rob, and you also left out his signature in the first patch ;)


   - Replaced "sophgo" to "sg2044" to avoid conflicts with other drivers.
   - Improve driver code:
     - Improve coding style.
     - Removed the [PATCH 3/3] in previous submission that based on the baseline not submitted.
     - Added error handler to destroy mutex if probe fail.

Changes in v1:
   You can simply review or test the patches at the link [1].

Link: https://lore.kernel.org/linux-riscv/20250224101213.26003-1-looong.bin@xxxxxxxxx/ [1]
---

Longbin Li (2):
   dt-bindings: spi: add SG2044 SPI NOR controller driver
   spi: sophgo: add SG2044 SPI NOR controller driver

  .../bindings/spi/spi-sg2044-nor.yaml          |  52 ++
  drivers/spi/Kconfig                           |   9 +
  drivers/spi/Makefile                          |   1 +
  drivers/spi/spi-sg2044-nor.c                  | 500 ++++++++++++++++++
  4 files changed, 562 insertions(+)
  create mode 100644 Documentation/devicetree/bindings/spi/spi-sg2044-nor.yaml
  create mode 100644 drivers/spi/spi-sg2044-nor.c

--
2.48.1




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux