Skip to content

Commit 71cfb1f

Browse files
sycamoremoonbroonie
authored andcommitted
spi: dt-bindings: snps,dw-apb-ssi: Merge duplicate compatible entry
Microsemi Ocelot/Jaguar2, Renesas RZ/N1 and T-HEAD TH1520 SoC-specific compatibles, which eventually fallback to the generic DW ssi compatible, it's better to combine them in single entry Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250425-sfg-spi-v6-1-2dbe7bb46013@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8ffd015 commit 71cfb1f

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,17 @@ properties:
5656
enum:
5757
- snps,dw-apb-ssi
5858
- snps,dwc-ssi-1.01a
59-
- description: Microsemi Ocelot/Jaguar2 SoC SPI Controller
60-
items:
61-
- enum:
62-
- mscc,ocelot-spi
63-
- mscc,jaguar2-spi
64-
- const: snps,dw-apb-ssi
6559
- description: Microchip Sparx5 SoC SPI Controller
6660
const: microchip,sparx5-spi
6761
- description: Amazon Alpine SPI Controller
6862
const: amazon,alpine-dw-apb-ssi
69-
- description: Renesas RZ/N1 SPI Controller
63+
- description: Vendor controllers which use snps,dw-apb-ssi as fallback
7064
items:
71-
- const: renesas,rzn1-spi
65+
- enum:
66+
- mscc,ocelot-spi
67+
- mscc,jaguar2-spi
68+
- renesas,rzn1-spi
69+
- thead,th1520-spi
7270
- const: snps,dw-apb-ssi
7371
- description: Intel Keem Bay SPI Controller
7472
const: intel,keembay-ssi
@@ -88,10 +86,6 @@ properties:
8886
- renesas,r9a06g032-spi # RZ/N1D
8987
- renesas,r9a06g033-spi # RZ/N1S
9088
- const: renesas,rzn1-spi # RZ/N1
91-
- description: T-HEAD TH1520 SoC SPI Controller
92-
items:
93-
- const: thead,th1520-spi
94-
- const: snps,dw-apb-ssi
9589

9690
reg:
9791
minItems: 1

0 commit comments

Comments
 (0)