devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: media: Add sram-size Property for Wave5
@ 2024-02-01 18:42 Brandon Brnich
  2024-02-02 10:47 ` Krzysztof Kozlowski
  2024-02-02 21:06 ` Rob Herring
  0 siblings, 2 replies; 15+ messages in thread
From: Brandon Brnich @ 2024-02-01 18:42 UTC (permalink / raw)
  To: Nas Chung, Jackson Lee, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-media, devicetree,
	linux-kernel, Nishanth Menon, Vignesh Raghavendra
  Cc: Darren Etheridge, Brandon Brnich

Wave521c has capability to use SRAM carveout to store reference data with
purpose of reducing memory bandwidth. To properly use this pool, the driver
expects to have an sram and sram-size node. Without sram-size node, driver
will default value to zero, making sram node irrelevant.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
---
 Documentation/devicetree/bindings/media/cnm,wave521c.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/cnm,wave521c.yaml b/Documentation/devicetree/bindings/media/cnm,wave521c.yaml
index 6a11c1d11fb5..ea5469eb38f9 100644
--- a/Documentation/devicetree/bindings/media/cnm,wave521c.yaml
+++ b/Documentation/devicetree/bindings/media/cnm,wave521c.yaml
@@ -43,6 +43,12 @@ properties:
       storing it on DMA memory. It is mainly used for the purpose of reducing
       bandwidth.
 
+  sram-size:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      SRAM size reserved for VPU operations. If not specified, size will default
+      to zero.
+
 required:
   - compatible
   - reg
@@ -58,4 +64,5 @@ examples:
         clocks = <&clks 42>;
         interrupts = <42>;
         sram = <&sram>;
+        sram-size = <0x1234>;
     };
-- 
2.34.1


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

end of thread, other threads:[~2024-02-12 10:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 18:42 [PATCH v2] dt-bindings: media: Add sram-size Property for Wave5 Brandon Brnich
2024-02-02 10:47 ` Krzysztof Kozlowski
2024-02-02 12:52   ` Nishanth Menon
2024-02-02 13:56     ` Krzysztof Kozlowski
2024-02-02 15:58       ` Nishanth Menon
2024-02-02 16:08         ` Krzysztof Kozlowski
2024-02-05 14:12           ` Nishanth Menon
2024-02-05 18:51             ` Andrew Davis
2024-02-05 19:20             ` Brandon Brnich
2024-02-08  6:22               ` Devarsh Thakkar
2024-02-09 17:42                 ` Nicolas Dufresne
2024-02-12 10:57                   ` Devarsh Thakkar
2024-02-09 17:33               ` Nicolas Dufresne
2024-02-09 17:22     ` Nicolas Dufresne
2024-02-02 21:06 ` Rob Herring

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).