[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251221110513.1850535-1-wens@kernel.org>
Date: Sun, 21 Dec 2025 19:05:07 +0800
From: Chen-Yu Tsai <wens@...nel.org>
To: Chen-Yu Tsai <wens@...nel.org>,
Jernej Skrabec <jernej@...nel.org>,
Samuel Holland <samuel@...lland.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Mark Brown <broonie@...nel.org>
Cc: Andre Przywara <andre.przywara@....com>,
linux-spi@...r.kernel.org,
devicetree@...r.kernel.org,
linux-sunxi@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] arm64: allwinner: a523: Support SPI controllers
Hi folks,
This series adds support for the SPI controllers found in the Allwinner
A523 SoC family. The SPI controller is almost the same as the ones in
previous generations, except that it moved the "RX buffer count"
register field to a separate register, and that register now reports
the total count for RX buffer and FIFO.
In practice the driver has never cared about the buffer count, but if
any implementation were to use it, this counts as a non-backward
compatible change.
Also, one of the SPI controllers supports DBI mode, acting as a display
interface. There is no infrastructure for DBI interface controllers in
the kernel, so only a separate compatible is added for it.
Patch 1 adds compatible strings for the new variants.
Patch 2 adds driver support for the new SPI controller variant.
Patch 3 adds device nodes for the SPI controllers to the dtsi file,
along with pinmux settings for spi0 on the PC pins, a common usage for
SPI-NOR flashes to boot from.
Patch 4 enables the SPI-NOR flash found on the Radxa Cubie A5E.
Please take a look and try it out.
Thanks
ChenYu
Chen-Yu Tsai (4):
spi: dt-bindings: sun6i: Add compatibles for A523's SPI controllers
spi: sun6i: Support A523's SPI controllers
arm64: dts: allwinner: sun55i: Add SPI controllers
arm64: dts: allwinner: t527: orangepi-4a: Enable SPI-NOR flash
.../bindings/spi/allwinner,sun6i-a31-spi.yaml | 4 +
.../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 94 +++++++++++++++++++
.../dts/allwinner/sun55i-t527-orangepi-4a.dts | 15 +++
drivers/spi/spi-sun6i.c | 11 ++-
4 files changed, 120 insertions(+), 4 deletions(-)
--
2.47.3
Powered by blists - more mailing lists