diff mbox series

[V5,2/3] dt-bindings: geni-se: Add interconnect binding for GENI QUP

Message ID 1584095350-841-3-git-send-email-akashast@codeaurora.org
State New
Headers show
Series None | expand

Commit Message

Akash Asthana March 13, 2020, 10:29 a.m. UTC
Add documentation for the interconnect and interconnect-names properties
for the GENI QUP.

Signed-off-by: Akash Asthana <akashast@codeaurora.org>
---
Changes in V5:
 - Add interconnect property for QUP wrapper (parent node).
 - Add minItems = 2 for interconnect property in child nodes

 .../devicetree/bindings/soc/qcom/qcom,geni-se.yaml       | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

Akash Asthana May 7, 2020, 3 p.m. UTC | #1
Hi Rob,

>>   
>> +      interconnects:
>> +         minItems: 2
>> +         maxItems: 3
>> +
>> +      interconnect-names:
>> +         items:
>> +           - const: qup-core
>> +           - const: qup-config
>> +           - const: qup-memory
> Don't you need 'minItems: 2' here?

Yeah I need minItems: 2 here, thanks for reviewing.

regards,

Akash

>
> Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
index 23282ab..533400b 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -46,6 +46,12 @@  properties:
 
   ranges: true
 
+  interconnects:
+    maxItems: 1
+
+  interconnect-names:
+    const: qup-core
+
 required:
   - compatible
   - reg
@@ -73,6 +79,16 @@  patternProperties:
         description: Serial engine core clock needed by the device.
         maxItems: 1
 
+      interconnects:
+         minItems: 2
+         maxItems: 3
+
+      interconnect-names:
+         items:
+           - const: qup-core
+           - const: qup-config
+           - const: qup-memory
+
     required:
       - reg
       - clock-names