Commit 2da63624 authored by Trevor Wu's avatar Trevor Wu Committed by Mark Brown

ASoC: mediatek: mt8195: add memory-region property

Add a required property "memory-region", which is used to specify memory
for DMA usage.
Signed-off-by: default avatarTrevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20211130053905.28470-3-trevor.wu@mediatek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4d408ea0
...@@ -19,6 +19,12 @@ properties: ...@@ -19,6 +19,12 @@ properties:
interrupts: interrupts:
maxItems: 1 maxItems: 1
memory-region:
maxItems: 1
description: |
Shared memory region for AFE memif. A "shared-dma-pool".
See ../reserved-memory/reserved-memory.txt for details.
mediatek,topckgen: mediatek,topckgen:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: "/schemas/types.yaml#/definitions/phandle"
description: The phandle of the mediatek topckgen controller description: The phandle of the mediatek topckgen controller
...@@ -125,6 +131,7 @@ required: ...@@ -125,6 +131,7 @@ required:
- power-domains - power-domains
- clocks - clocks
- clock-names - clock-names
- memory-region
additionalProperties: false additionalProperties: false
...@@ -139,6 +146,7 @@ examples: ...@@ -139,6 +146,7 @@ examples:
interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0>; interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH 0>;
mediatek,topckgen = <&topckgen>; mediatek,topckgen = <&topckgen>;
power-domains = <&spm 7>; //MT8195_POWER_DOMAIN_AUDIO power-domains = <&spm 7>; //MT8195_POWER_DOMAIN_AUDIO
memory-region = <&snd_dma_mem_reserved>;
clocks = <&clk26m>, clocks = <&clk26m>,
<&topckgen 163>, //CLK_TOP_APLL1 <&topckgen 163>, //CLK_TOP_APLL1
<&topckgen 166>, //CLK_TOP_APLL2 <&topckgen 166>, //CLK_TOP_APLL2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment