Skip to contentSkip to conversation

dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names

PATCH In review Kuldeep Singh 3 participants 3 messages Mar 28, 2022 – Apr 5, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: 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")

---
v2:
- Reword commit description

 Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml +1 -0
index 055524fe8327..116f3746c1e6 100644
@@ -49,6 +49,7 @@ properties:
     maxItems: 2
 
   interconnect-names:
+    minItems: 1
     items:
       - const: qspi-config
       - const: qspi-memory
Signature · 1 line
2.25.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 12 lines · Kuldeep Singh

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")

---
v2:
- Reword commit description

Best regards,
Krzysztof

maintainer
#2 lore raw
In reply to Kuldeep Singh
Quoted 8 lines · Kuldeep Singh

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']

[...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names

      commit: e23d86c49a9c78e8dbe3abff20b30812b26ab427

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark