[PATCH v3 0/3] Axiado AX3000 SoC SPI DB controller driver

Vladimir Moravcevic posted 3 patches 1 month ago
.../devicetree/bindings/spi/axiado,ax3000-spi.yaml |   73 ++
MAINTAINERS                                        |   11 +
drivers/spi/Kconfig                                |   10 +
drivers/spi/Makefile                               |    1 +
drivers/spi/spi-axiado.c                           | 1007 ++++++++++++++++++++
drivers/spi/spi-axiado.h                           |  133 +++
6 files changed, 1235 insertions(+)
[PATCH v3 0/3] Axiado AX3000 SoC SPI DB controller driver
Posted by Vladimir Moravcevic 1 month ago
Dear maintainers,

This updated patch series address the review comments from the v2 submission.
It introduces new SPI controller driver for Axiado AX3000 SoC and its evaluation board.

The SPI controller provides:
- Full-duplex and half-duplex transfer support
- Configurable clock polarity and phase
- Interrupt-driven

Functionality has been verified using the `jedec,spi-nor` interface
to access onboard flash memory. This ensures compatibility with common NOR flash devices
used in boot and storage subsystem.

The driver integrates with the Linux SPI subsystem and follows kernel coding standards.

This initial submission includes:
- Driver implementation under `drivers/spi/`
- Device tree bindings for supported boards
- Kconfig and Makefile integration

Further improvements, including performance tuning and extended hardware feature support,
will be submitted in follow-up patches.

Feedback is welcome.

Signed-off-by: Vladimir Moravcevic <vmoravcevic@axiado.com>
---
Changes in v3:
- Make comments uniform
- Remove return value void cast
- Remove unused variable
- Remove transfer delay to avoid double it with core implementation
- Link to v2: https://lore.kernel.org/r/20250929-axiado-ax3000-soc-spi-db-controller-driver-v2-0-b0c089c3ba81@axiado.com

Changes in v2:
- remove _clk from clok-names and chage clock style to use <>
- remove set but not use variable
- switch to dev_warn_once
- use devm_spi_alloc_host
- update ax_spi_remove to unregister controller from the subsystem first,
  and then tear down the other resources
- add PM operations
- update maintainers in dt-bindings
- Flush FIFO while transfer done
- Link to v1: https://lore.kernel.org/r/20250915-axiado-ax3000-soc-spi-db-controller-driver-v1-0-814a1fa2a83e@axiado.com

---
Vladimir Moravcevic (3):
      dt-bindings: spi: axiado,ax3000-spi: Add binding for Axiado SPI DB controller
      spi: axiado: Add driver for Axiado SPI DB controller
      MAINTAINERS: Add entries for the Axiado SPI DB controller

 .../devicetree/bindings/spi/axiado,ax3000-spi.yaml |   73 ++
 MAINTAINERS                                        |   11 +
 drivers/spi/Kconfig                                |   10 +
 drivers/spi/Makefile                               |    1 +
 drivers/spi/spi-axiado.c                           | 1007 ++++++++++++++++++++
 drivers/spi/spi-axiado.h                           |  133 +++
 6 files changed, 1235 insertions(+)
---
base-commit: 9448598b22c50c8a5bb77a9103e2d49f134c9578
change-id: 20251222-axiado-ax3000-soc-spi-db-controller-driver-2b4a33f293ba

Best regards,
-- 
Vladimir Moravcevic <vmoravcevic@axiado.com>
Re: [PATCH v3 0/3] Axiado AX3000 SoC SPI DB controller driver
Posted by Mark Brown 3 weeks, 3 days ago
On Wed, 07 Jan 2026 23:44:36 -0800, Vladimir Moravcevic wrote:
> This updated patch series address the review comments from the v2 submission.
> It introduces new SPI controller driver for Axiado AX3000 SoC and its evaluation board.
> 
> The SPI controller provides:
> - Full-duplex and half-duplex transfer support
> - Configurable clock polarity and phase
> - Interrupt-driven
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/3] dt-bindings: spi: axiado,ax3000-spi: Add binding for Axiado SPI DB controller
      commit: 7b122b1eb627059bd331d5119124a2da5e142c01
[2/3] spi: axiado: Add driver for Axiado SPI DB controller
      commit: e75a6b00ad7962a7ed1c9c777e9ab1eb29043ec8
[3/3] MAINTAINERS: Add entries for the Axiado SPI DB controller
      commit: db4371d13f82fb12463fe053f4864980a2af2106

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark