Patch "spi: qcom-qspi: Add minItems to interconnect-names" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

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

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     spi-qcom-qspi-add-minitems-to-interconnect-names.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 810657e9978f6d389a64feb8bb75a7fe0d6afc0f
Author: Kuldeep Singh <singh.kuldeep87k@xxxxxxxxx>
Date:   Tue Mar 29 00:50:06 2022 +0530

    spi: qcom-qspi: Add minItems to interconnect-names
    
    [ Upstream commit e23d86c49a9c78e8dbe3abff20b30812b26ab427 ]
    
    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@xxxxxxxxx>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220328192006.18523-1-singh.kuldeep87k@xxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
index ef5698f426b2..392204a08e96 100644
--- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
@@ -45,6 +45,7 @@ properties:
     maxItems: 2
 
   interconnect-names:
+    minItems: 1
     items:
       - const: qspi-config
       - const: qspi-memory



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux