diff mbox series

[V2,2/2] dt-bindings: spi: Add interconnect binding for QSPI

Message ID 1584098121-18075-3-git-send-email-akashast@codeaurora.org (mailing list archive)
State Accepted
Commit 8f9c291558ea833a82fcf72fefb30bfa4b7be3b6
Headers show
Series Convert QSPI binding to YAML and add interconnect doc | expand

Commit Message

Akash Asthana March 13, 2020, 11:15 a.m. UTC
Add documentation for the interconnect and interconnect-names
properties for QSPI.

Signed-off-by: Akash Asthana <akashast@codeaurora.org>
---
Changes in V2:
 - Added minItems = 1 for interconnect property

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

Comments

Rob Herring March 30, 2020, 6:07 p.m. UTC | #1
On Fri, 13 Mar 2020 16:45:21 +0530, Akash Asthana wrote:
> Add documentation for the interconnect and interconnect-names
> properties for QSPI.
> 
> Signed-off-by: Akash Asthana <akashast@codeaurora.org>
> ---
> Changes in V2:
>  - Added minItems = 1 for interconnect property
> 
>  Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Applied, thanks.

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
index 9582d37..0cf470e 100644
--- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
+++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml
@@ -40,6 +40,15 @@  properties:
       - description: AHB clock
       - description: QSPI core clock
 
+  interconnects:
+    minItems: 1
+    maxItems: 2
+
+  interconnect-names:
+    items:
+      - const: qspi-config
+      - const: qspi-memory
+
 required:
   - compatible
   - reg