Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

spi: dt-bindings: sun6i: Add compatibles for A523's SPI controllers

The A523 has four SPI controllers. One of them supports MIPI DBI mode
in addition to standard SPI.

Compared to older generations, this newer controller now has a combined
counter for the RX FIFO ad buffer levels. In older generations, the
RX buffer level was a separate bitfield in the FIFO status register.

In practice this difference is negligible. The buffer is mostly
invisible to the implementation. If programmed I/O transfers are limited
to the FIFO size, then the contents of the buffer seem to always be
flushed over to the FIFO. For DMA, the DRQ trigger levels are only tied
to the FIFO levels. In all other aspects, the controller is the same as
the one in the R329.

Add new compatible strings for the new controllers.

Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251221110513.1850535-2-wens@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Chen-Yu Tsai and committed by
Mark Brown
e0c8755d 9448598b

+4
+4
Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
··· 17 17 compatible: 18 18 oneOf: 19 19 - const: allwinner,sun50i-r329-spi 20 + - const: allwinner,sun55i-a523-spi 20 21 - const: allwinner,sun6i-a31-spi 21 22 - const: allwinner,sun8i-h3-spi 22 23 - items: ··· 36 35 - const: allwinner,sun20i-d1-spi-dbi 37 36 - const: allwinner,sun50i-r329-spi-dbi 38 37 - const: allwinner,sun50i-r329-spi 38 + - items: 39 + - const: allwinner,sun55i-a523-spi-dbi 40 + - const: allwinner,sun55i-a523-spi 39 41 40 42 reg: 41 43 maxItems: 1