Skip to content

Commit 479ba9d

Browse files
scosumathieupoirier
authored andcommitted
dt-bindings: remoteproc: k3-r5f: Add memory-region-names
Add names to the memory-region-names for easier identification of memory regions. As the meaning of the second memory region can be different also require the use of memory-region-names if memory-region is in use. Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com> Link: https://lore.kernel.org/r/20260318-topic-am62a-ioddr-dt-v6-19-v3-2-c41473cb23c3@baylibre.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
1 parent 91ddd97 commit 479ba9d

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,24 @@ patternProperties:
175175
- description: LPM FS context data and reserved sections
176176
- description: DM RM/PM trace and firmware code/data
177177

178+
memory-region-names:
179+
description: |
180+
Names for the memory regions specified in the memory-region property.
181+
The names must correspond with the entries in memory-region.
182+
oneOf:
183+
- description: Basic layout
184+
items:
185+
- const: dma
186+
- const: firmware
187+
- description: Detailed layout
188+
items:
189+
- const: dma
190+
- const: ipc
191+
- const: lpm-stub
192+
- const: lpm-metadata
193+
- const: lpm-context
194+
- const: dm-firmware
195+
178196
# Optional properties:
179197
# --------------------
180198
# The following properties are optional properties for each of the R5F cores:
@@ -227,6 +245,13 @@ patternProperties:
227245
- resets
228246
- firmware-name
229247

248+
if:
249+
required:
250+
- memory-region
251+
then:
252+
required:
253+
- memory-region-names
254+
230255
unevaluatedProperties: false
231256

232257
allOf:
@@ -330,6 +355,7 @@ examples:
330355
mboxes = <&mailbox0 &mbox_mcu_r5fss0_core0>;
331356
memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
332357
<&mcu_r5fss0_core0_memory_region>;
358+
memory-region-names = "dma", "firmware";
333359
sram = <&mcu_r5fss0_core0_sram>;
334360
};
335361

0 commit comments

Comments
 (0)