Skip to content

Commit

Permalink
spi: dt-bindings: qcom,spi-geni-qcom: allow three interconnects
Browse files Browse the repository at this point in the history
Recent Qualcomm Geni SPI nodes, e.g. on SM8450, come also with three
interconnects.  This fixes dtbs_check warnings like:

  sm8450-qrd.dtb: spi@a98000: interconnects: [[46, 1, 0, 46, 4, 0], [47, 2, 0, 48, 12, 0], [49, 1, 0, 50, 1, 0]] is too long
  sm8450-qrd.dtb: spi@a98000: interconnect-names: ['qup-core', 'qup-config', 'qup-memory'] is too long

Fixes: 5bdcae1 ("spi: dt-bindings: qcom,spi-geni-qcom: convert to dtschema")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220720163841.7283-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
krzk authored and broonie committed Jul 20, 2022
1 parent a3fd35b commit ee91231
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,15 @@ properties:
- const: rx

interconnects:
maxItems: 2
minItems: 2
maxItems: 3

interconnect-names:
minItems: 2
items:
- const: qup-core
- const: qup-config
- const: qup-memory

interrupts:
maxItems: 1
Expand Down

0 comments on commit ee91231

Please sign in to comment.