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

spi: dt-bindings: aspeed,ast2600-fmc: Add AST2700 SoC support

Add AST2700 to the list of supported SoCs in the ASPEED FMC/SPI bindings.
AST2700 FMC/SPI controllers are not compatible with AST2600 due to the
following hardware differences:

- Address decoding unit uses 64KB granularity (AST2600 uses 1MB).
- Segment register semantics are changed.
AST2600: start <= range <= end
AST2700: start <= range < end
- Hardware limitations in AST2600 address decoding registers have been
resolved in AST2700, so extra callback function used for bug fixup
is no longer required.

These differences require distinct compatible strings for AST2700.

Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20251114101042.1520997-2-chin-ting_kuo@aspeedtech.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Chin-Ting Kuo and committed by
Mark Brown
be6671d3 716d0a0a

+3 -1
+3 -1
Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml
··· 12 12 13 13 description: | 14 14 This binding describes the Aspeed Static Memory Controllers (FMC and 15 - SPI) of the AST2400, AST2500 and AST2600 SOCs. 15 + SPI) of the AST2400, AST2500, AST2600 and AST2700 SOCs. 16 16 17 17 allOf: 18 18 - $ref: spi-controller.yaml# ··· 20 20 properties: 21 21 compatible: 22 22 enum: 23 + - aspeed,ast2700-fmc 24 + - aspeed,ast2700-spi 23 25 - aspeed,ast2600-fmc 24 26 - aspeed,ast2600-spi 25 27 - aspeed,ast2500-fmc