spi: qcom-qspi: Add minItems to interconnect-names
authorKuldeep Singh <singh.kuldeep87k@gmail.com>
Mon, 28 Mar 2022 19:20:06 +0000 (00:50 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2022 09:21:54 +0000 (10:21 +0100)
commite23d86c49a9c78e8dbe3abff20b30812b26ab427
tree3c8344d3de17d3bb18d046e77307fc00f67024ce
parent88a285192084edab6657e819f7f130f9cfcb0579
spi: qcom-qspi: Add minItems to interconnect-names

Add minItems constraint to interconnect-names as well. The schema
currently tries to match 2 names and fail for DTs with single entry.

With the change applied, below interconnect-names values are possible:
['qspi-config'], ['qspi-config', 'qspi-memory']

Fixes: 8f9c291558ea ("dt-bindings: spi: Add interconnect binding for QSPI")
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220328192006.18523-1-singh.kuldeep87k@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml