[PATCH v2 03/13] ASoC: dt-bindings: mt8173-afe-pcm: Allow specifying reserved memory region

From: Chen-Yu Tsai
Date: Thu Apr 24 2025 - 06:27:26 EST


It is desirable to reserve memory for the audio frontend.

Allow the "memory-region" property, to be used to point to a reserved
memory region.

Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
---
.../devicetree/bindings/sound/mediatek,mt8173-afe-pcm.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8173-afe-pcm.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8173-afe-pcm.yaml
index 666408d32f5c..d8993b5d457a 100644
--- a/Documentation/devicetree/bindings/sound/mediatek,mt8173-afe-pcm.yaml
+++ b/Documentation/devicetree/bindings/sound/mediatek,mt8173-afe-pcm.yaml
@@ -48,6 +48,10 @@ properties:
power-domains:
maxItems: 1

+ memory-region:
+ description: memory region for audio DMA buffers
+ maxItems: 1
+
required:
- compatible
- reg
@@ -90,4 +94,5 @@ examples:
"i2s2_m",
"i2s3_m",
"i2s3_b";
+ memory-region = <&afe_dma_mem>;
};
--
2.49.0.805.g082f7c87e0-goog