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
commit ee91231 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
krzk authored and gregkh committed Aug 25, 2022
1 parent 3be10a1 commit c969b05
Showing 1 changed file with 4 additions and 1 deletion.
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 c969b05

Please sign in to comment.