spi: dt-bindings: qcom,spi-qcom-qspi: Add qcom,qcs615-qspi compatible

Add support for the QSPI controller on QCS615 SoC.

Move allOf section after required properties and add if:then constraint
to require minimum 2 interconnects for qcs615 variant.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://patch.msgid.link/20260429-spi-nor-v5-1-993016c9711e@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Viken Dadhaniya 2026-04-29 22:31:36 +05:30 committed by Mark Brown
parent abdecf7489
commit 0065dc1fed
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -13,13 +13,11 @@ description: The QSPI controller allows SPI protocol communication in single,
dual, or quad wire transmission modes for read/write access to slaves such
as NOR flash.
allOf:
- $ref: /schemas/spi/spi-controller.yaml#
properties:
compatible:
items:
- enum:
- qcom,qcs615-qspi
- qcom,sc7180-qspi
- qcom,sc7280-qspi
- qcom,sdm845-qspi
@ -67,6 +65,23 @@ required:
- clock-names
- clocks
allOf:
- $ref: /schemas/spi/spi-controller.yaml#
- if:
properties:
compatible:
contains:
const: qcom,qcs615-qspi
then:
properties:
interconnects:
minItems: 2
interconnect-names:
minItems: 2
required:
- interconnects
- interconnect-names
unevaluatedProperties: false
examples: