Thread (12 messages) 12 messages, 2 authors, 2024-03-12

Re: [PATCH v12 2/4] dt-bindings: remoteproc: add Tightly Coupled Memory (TCM) bindings

From: Krzysztof Kozlowski <hidden>
Date: 2024-03-12 12:10:06
Also in: linux-devicetree, linux-remoteproc, lkml

On 11/03/2024 17:27, Tanmay Shah wrote:
quoted
quoted
+    then:
+      patternProperties:
+        "^r5f@[0-9a-f]+$":
+          type: object
+
+          properties:
+            reg:
+              minItems: 1
+              items:
+                - description: ATCM internal memory
+                - description: BTCM internal memory
+                - description: extra ATCM memory in lockstep mode
+                - description: extra BTCM memory in lockstep mode
+
+            reg-names:
+              minItems: 1
+              items:
+                - const: atcm0
+                - const: btcm0
+                - const: atcm1
+                - const: btcm1
Why power domains are flexible?
User may not want to use all the TCMs. For example, if users want to turn-on only TCM-A and rest of them want to keep off, then

they can avoid having power-domains of other TCMs in the device-tree. This helps with less power-consumption when needed.

Hence flexible list of power-domains list.
Isn't turning on/off driver's job? Sorry, but what is "user" here? DTS
describes bindings, not OS policy.

Also, please wrap your replies to match email style.
I can certainly mention "items:" under power-domains property.

quoted

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help