2023-07-12 07:29:54

by Trevor Wu (吳文良)

[permalink] [raw]
Subject: [RESEND 2/2] ASoC: dt-bindings: mediatek,mt8188-afe: add memory-region

Add memory-region property to utilize the reserved memory region.

Signed-off-by: Trevor Wu <[email protected]>
Acked-by: Rob Herring <[email protected]>
---
.../devicetree/bindings/sound/mediatek,mt8188-afe.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml
index e6cb711ece77..0b92c71d8779 100644
--- a/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml
+++ b/Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml
@@ -25,6 +25,12 @@ properties:
reset-names:
const: audiosys

+ memory-region:
+ maxItems: 1
+ description: |
+ Shared memory region for AFE memif. A "shared-dma-pool".
+ See ../reserved-memory/reserved-memory.yaml for details.
+
mediatek,topckgen:
$ref: /schemas/types.yaml#/definitions/phandle
description: The phandle of the mediatek topckgen controller
@@ -176,6 +182,7 @@ examples:
interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0>;
resets = <&watchdog 14>;
reset-names = "audiosys";
+ memory-region = <&snd_dma_mem_reserved>;
mediatek,topckgen = <&topckgen>;
mediatek,infracfg = <&infracfg_ao>;
power-domains = <&spm 13>; //MT8188_POWER_DOMAIN_AUDIO
--
2.18.0



2023-07-12 13:21:34

by Alexandre Mergnat

[permalink] [raw]
Subject: Re: [RESEND 2/2] ASoC: dt-bindings: mediatek,mt8188-afe: add memory-region



On 12/07/2023 09:08, Trevor Wu wrote:
> Add memory-region property to utilize the reserved memory region.

Reviewed-by: Alexandre Mergnat <[email protected]>

--
Regards,
Alexandre