mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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:
parent
abdecf7489
commit
0065dc1fed
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user