From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: "Nícolas F. R. A. Prado" <nfraprado@collabora.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Trevor Wu" <trevor.wu@mediatek.com>
Cc: kernel@collabora.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-sound@vger.kernel.org,
Aary Patil <aary.patil@mediatek.com>,
Suhrid Subramaniam <suhrid.subramaniam@mediatek.com>,
parkeryang <Parker.Yang@mediatek.com>
Subject: Re: [PATCH 5/5] arm64: dts: mediatek: mt8390-genio-700-evk: Add sound output support
Date: Thu, 5 Dec 2024 13:42:06 +0100 [thread overview]
Message-ID: <ce2f6f07-0276-4a8b-ae3f-4188c707c6e7@collabora.com> (raw)
In-Reply-To: <20241205-genio700-audio-output-v1-5-0e955c78c29e@collabora.com>
Il 05/12/24 13:13, Nícolas F. R. A. Prado ha scritto:
> Describe all the components to get sound output working on the two audio
> jacks, Earphone and Speaker, present on the Genio 700 EVK board with the
> audio DSP enabled.
>
> Co-developed-by: Aary Patil <aary.patil@mediatek.com>
> Signed-off-by: Aary Patil <aary.patil@mediatek.com>
> Co-developed-by: Suhrid Subramaniam <suhrid.subramaniam@mediatek.com>
> Signed-off-by: Suhrid Subramaniam <suhrid.subramaniam@mediatek.com>
> Co-developed-by: parkeryang <Parker.Yang@mediatek.com>
> Signed-off-by: parkeryang <Parker.Yang@mediatek.com>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> ---
> .../boot/dts/mediatek/mt8390-genio-700-evk.dts | 50 ++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
> index bb68665f0b2da80397b833db0241a06648a322a0..2fded39078773e81d8e0313d6b118b3064be308d 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
> @@ -92,6 +92,24 @@ vpu_mem: memory@57000000 {
> compatible = "shared-dma-pool";
> reg = <0 0x57000000 0 0x1400000>; /* 20 MB */
> };
> +
> + adsp_mem: memory@60000000 {
> + compatible = "shared-dma-pool";
> + reg = <0 0x60000000 0 0xf00000>;
> + no-map;
> + };
> +
> + afe_dma_mem: memory@60f00000 {
> + compatible = "shared-dma-pool";
> + reg = <0 0x60f00000 0 0x100000>;
> + no-map;
> + };
> +
> + adsp_dma_mem: memory@61000000 {
> + compatible = "shared-dma-pool";
> + reg = <0 0x61000000 0 0x100000>;
> + no-map;
> + };
> };
>
> common_fixed_5v: regulator-0 {
> @@ -209,6 +227,16 @@ usb_p2_vbus: regulator-9 {
> };
> };
>
> +&adsp {
> + memory-region = <&adsp_dma_mem>, <&adsp_mem>;
> + status = "okay";
> +};
> +
> +&afe {
> + memory-region = <&afe_dma_mem>;
> + status = "okay";
> +};
> +
> &gpu {
> mali-supply = <&mt6359_vproc2_buck_reg>;
> status = "okay";
> @@ -912,6 +940,28 @@ &scp {
> status = "okay";
> };
>
> +&sound {
> + compatible = "mediatek,mt8390-mt6359-evk", "mediatek,mt8188-mt6359-evb";
> + model = "mt8390-evk";
> + pinctrl-names = "default";
> + pinctrl-0 = <&audio_default_pins>;
> + audio-routing =
> + "Headphone", "Headphone L",
> + "Headphone", "Headphone R";
> + mediatek,adsp = <&adsp>;
> + mediatek,dai-link = "DL_SRC_BE", "UL_SRC_BE", "AFE_SOF_DL2",
> + "AFE_SOF_DL3", "AFE_SOF_UL4", "AFE_SOF_UL5";
Are you really, really, really, extremely sure that you need mediatek,dai-link?
I say you don't... :-)
Cheers,
Angelo
next prev parent reply other threads:[~2024-12-05 12:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-05 12:13 [PATCH 0/5] Enable audio output for Genio 700 EVK board Nícolas F. R. A. Prado
2024-12-05 12:13 ` [PATCH 1/5] arm64: dts: mt6359: Add #sound-dai-cells property Nícolas F. R. A. Prado
2024-12-05 12:41 ` AngeloGioacchino Del Regno
2024-12-05 12:13 ` [PATCH 2/5] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add compatible for mt8390 evk Nícolas F. R. A. Prado
2024-12-05 12:41 ` AngeloGioacchino Del Regno
2024-12-09 9:49 ` Krzysztof Kozlowski
2024-12-05 12:13 ` [PATCH 3/5] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add DSP properties Nícolas F. R. A. Prado
2024-12-05 12:41 ` AngeloGioacchino Del Regno
2024-12-09 9:50 ` Krzysztof Kozlowski
2024-12-05 12:13 ` [PATCH 4/5] ASoC: dt-bindings: mediatek,mt8188-mt6359: Allow DL_SRC/UL_SRC dai-links Nícolas F. R. A. Prado
2024-12-05 12:41 ` AngeloGioacchino Del Regno
2024-12-05 12:13 ` [PATCH 5/5] arm64: dts: mediatek: mt8390-genio-700-evk: Add sound output support Nícolas F. R. A. Prado
2024-12-05 12:42 ` AngeloGioacchino Del Regno [this message]
2024-12-05 16:05 ` (subset) [PATCH 0/5] Enable audio output for Genio 700 EVK board Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ce2f6f07-0276-4a8b-ae3f-4188c707c6e7@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=Parker.Yang@mediatek.com \
--cc=aary.patil@mediatek.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@collabora.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-sound@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=nfraprado@collabora.com \
--cc=robh@kernel.org \
--cc=suhrid.subramaniam@mediatek.com \
--cc=trevor.wu@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®