linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names
@ 2022-03-28 19:20 Kuldeep Singh
  2022-03-29  6:43 ` Krzysztof Kozlowski
  2022-04-05  9:32 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Kuldeep Singh @ 2022-03-28 19:20 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Mark Brown,
	Rob Herring, Krzysztof Kozlowski, Mukesh Savaliya, Akash Asthana
  Cc: Rob Herring, linux-arm-msm, linux-spi, devicetree, linux-kernel

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>
---
v2:
- Reword commit description

 Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
index 055524fe8327..116f3746c1e6 100644
--- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
@@ -49,6 +49,7 @@ properties:
     maxItems: 2
 
   interconnect-names:
+    minItems: 1
     items:
       - const: qspi-config
       - const: qspi-memory
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names
  2022-03-28 19:20 [PATCH v2] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names Kuldeep Singh
@ 2022-03-29  6:43 ` Krzysztof Kozlowski
  2022-04-05  9:32 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-29  6:43 UTC (permalink / raw)
  To: Kuldeep Singh, Andy Gross, Bjorn Andersson, Mark Brown,
	Rob Herring, Krzysztof Kozlowski, Mukesh Savaliya, Akash Asthana
  Cc: Rob Herring, linux-arm-msm, linux-spi, devicetree, linux-kernel

On 28/03/2022 21:20, Kuldeep Singh wrote:
> 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>
> ---
> v2:
> - Reword commit description
> 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names
  2022-03-28 19:20 [PATCH v2] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names Kuldeep Singh
  2022-03-29  6:43 ` Krzysztof Kozlowski
@ 2022-04-05  9:32 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-04-05  9:32 UTC (permalink / raw)
  To: agross, krzk+dt, bjorn.andersson, robh+dt, singh.kuldeep87k, krzk
  Cc: linux-kernel, devicetree, robh, linux-spi, linux-arm-msm

On Tue, 29 Mar 2022 00:50:06 +0530, Kuldeep Singh wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-05 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 19:20 [PATCH v2] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names Kuldeep Singh
2022-03-29  6:43 ` Krzysztof Kozlowski
2022-04-05  9:32 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).