[PATCH v2 0/2] add support for Meson A1 SPI Flash Controller

From: Martin Kurbanov
Date: Mon Mar 27 2023 - 17:14:47 EST


This patchset introduces DT bindings and driver for the Amlogic Meson A1
SPI flash controller (A113L SoC).

The existing spi-meson-spifc driver is incompatible with the A1 SPIFC
at all.

The implementation has been tested on the Amlogic A113L SoC based device
connected with ESMT F50L1G41LB spinand flash.

This patchset has dependencies on the A1 clock series which is still
under review [1].

Changelog:
v2 since v1 at [2]:
- Make cosmetic changes

Links:
[1] https://lore.kernel.org/all/20230321193014.26349-1-ddrokosov@xxxxxxxxxxxxxx/
[2] https://lore.kernel.org/all/20230322150458.783901-1-mmkurbanov@xxxxxxxxxxxxxx/

Martin Kurbanov (2):
dt-bindings: spi: add Amlogic Meson A1 SPI controller
spi: add support for Meson A1 SPI Flash Controller

.../bindings/spi/amlogic,meson-a1-spifc.yaml | 42 ++
drivers/spi/Kconfig | 7 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-meson-spifc-a1.c | 453 ++++++++++++++++++
4 files changed, 503 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/amlogic,meson-a1-spifc.yaml
create mode 100644 drivers/spi/spi-meson-spifc-a1.c

--
2.40.0