From: "Hailong Fan (范海龙)" <Hailong.Fan@mediatek.com>
To: "perex@perex.cz" <perex@perex.cz>,
"pierre-louis.bossart@linux.dev" <pierre-louis.bossart@linux.dev>,
"kai.vehmanen@linux.intel.com" <kai.vehmanen@linux.intel.com>,
"broonie@kernel.org" <broonie@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"tiwai@suse.com" <tiwai@suse.com>,
"robh@kernel.org" <robh@kernel.org>,
"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
"yung-chuan.liao@linux.intel.com"
<yung-chuan.liao@linux.intel.com>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"peter.ujfalusi@linux.intel.com" <peter.ujfalusi@linux.intel.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"daniel.baluta@nxp.com" <daniel.baluta@nxp.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
"ranjani.sridharan@linux.intel.com"
<ranjani.sridharan@linux.intel.com>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"linux-sound@vger.kernel.org" <linux-sound@vger.kernel.org>,
"sound-open-firmware@alsa-project.org"
<sound-open-firmware@alsa-project.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Project_Global_Chrome_Upstream_Group
<Project_Global_Chrome_Upstream_Group@mediatek.com>
Subject: Re: [PATCH v3 1/2] dt-bindings: dsp: mediatek: add mt8196 dsp document
Date: Thu, 25 Sep 2025 08:59:12 +0000 [thread overview]
Message-ID: <97b82949673a2b894be1476f499b80553f9a1009.camel@mediatek.com> (raw)
In-Reply-To: <27deb3bf-7b93-4049-b3a4-b0c9bfcb5c43@collabora.com>
On Wed, 2025-09-17 at 14:10 +0200, AngeloGioacchino Del Regno wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>
>
> Il 17/09/25 09:53, hailong.fan ha scritto:
> > From: Hailong Fan <hailong.fan@mediatek.com>
> >
> > Add device tree binding documentation for the MediaTek
> > MT8196 DSP. The DSP is used by the Sound Open Firmware
> > driver node and includes registers, clocks, memory regions,
> > and a mailbox for DSP communication.
> >
> > Signed-off-by: Hailong Fan <hailong.fan@mediatek.com>
> > ---
> > .../bindings/dsp/mediatek,mt8196-dsp.yaml | 98
> > +++++++++++++++++++
> > 1 file changed, 98 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/dsp/mediatek,mt8196-dsp.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/dsp/mediatek,mt8196-
> > dsp.yaml b/Documentation/devicetree/bindings/dsp/mediatek,mt8196-
> > dsp.yaml
> > new file mode 100644
> > index 000000000000..af0f9d71200f
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/dsp/mediatek,mt8196-
> > dsp.yaml
> > @@ -0,0 +1,98 @@
> > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id:
> > https://urldefense.com/v3/__http://devicetree.org/schemas/dsp/mediatek,mt8196-dsp.yaml*__;Iw!!CTRNKA9wMg0ARbw!jczzeSifwD9nivKzyqIiaqs9s0VIhhGx5ykV0g320346NPZerYtey1Lghr-GF1jAk5GIlNlz0fG8qDJgxk-hnQXvfDq77PLd$
> > +$schema:
> > https://urldefense.com/v3/__http://devicetree.org/meta-schemas/core.yaml*__;Iw!!CTRNKA9wMg0ARbw!jczzeSifwD9nivKzyqIiaqs9s0VIhhGx5ykV0g320346NPZerYtey1Lghr-GF1jAk5GIlNlz0fG8qDJgxk-hnQXvfI9leuES$
> > +
> > +title: MediaTek mt8196 DSP core
>
> mt->MT (MT8196)
OK, thx.
>
> > +
> > +maintainers:
> > + - Hailong Fan <hailong.fan@mediatek.com>
> > +
> > +description: |
>
> Drop the colon |, you don't need it.
OK, thx.
>
>
> > + The MediaTek mt8196 SoC contains a DSP core used for advanced
> > pre-
>
> mt->MT (MT8196)
>
> Also document *which* DSP core this SoC contains. Specifically, say
> that this SoC
> contains a dual-core Cadence HiFi5 Audio Engine DSP - because this is
> what it is.
OK, thx.
>
> > + and post-audio processing. This DSP is typically used by the
> > Sound
> > + Open Firmware (SOF) driver and requires registers, clocks,
> > memory
> > + regions, and a mailbox for communication.
>
> ..snip..
>
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/clock/mt8196-clk.h>
> > + #include <dt-bindings/power/mt8196-power.h>
>
> Before including binding headers with the same names as downstream,
> refer to the
> series that are currently on the mailing lists, because that's what
> will ultimately
> get upstream.
>
> dt-bindings/clock/mediatek,mt8196-clock.h
> dt-bindings/power/mediatek,mt8196-power.h
OK, thx.
>
> > + adsp@1a000000 {
> > + compatible = "mediatek,mt8196-dsp";
> > + reg = <0x1a000000 0x5000>,
> > + <0x1a210000 0x80000>,
> > + <0x1a345000 0x300>,
> > + <0x1a00f000 0x1000>;
> > + reg-names = "cfg", "sram", "sec", "bus";
> > + clocks = <&cksys_clk CLK_CK_ADSP_SEL>,
> > + <&cksys_clk CLK_CK_TCK_26M_MX9>,
> > + <&cksys_clk CLK_CK_ADSPPLL>;
>
> and use the upstream names for those clocks.
>
> <&topckgen CLK_TOP_ADSP>,
> <&clk26m>,
> <&apmixedsys CLK_APMIXED_ADSPPLL>,
Yes, I have already seen the relevant changes in the latest linux-next.
They will be updated in the next version. Thanks a lot.
>
> > + clock-names = "audiodsp",
> > + "sys_clk",
> > + "adsppll";
>
> clock-names fit in one line; plus, please "sys-clk" instead.
>
> > + power-domains = <&scpsys
> > MT8196_POWER_DOMAIN_ADSP_TOP_DORMANT>;
>
> power-domains = <&spm MT8196_POWER_DOMAIN_ADSP_TOP_DORMANT>;
OK, thx.
>
> > + mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>;
> > + mbox-names = "rx", "tx";
> > + };
>
> Regards,
> Angelo
next prev parent reply other threads:[~2025-09-25 8:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-17 7:53 [PATCH v3 0/2] ASoC: mediatek: Add support of SOF on Mediatek mt8196 SoC hailong.fan
2025-09-17 7:53 ` [PATCH v3 1/2] dt-bindings: dsp: mediatek: add mt8196 dsp document hailong.fan
2025-09-17 10:28 ` Rob Herring (Arm)
2025-09-17 12:10 ` AngeloGioacchino Del Regno
2025-09-25 8:59 ` Hailong Fan (范海龙) [this message]
2025-09-17 7:53 ` [PATCH v3 2/2] ASoC: SOF: MediaTek: Add mt8196 hardware support hailong.fan
2025-09-17 12:28 ` AngeloGioacchino Del Regno
2025-09-25 9:18 ` Hailong Fan (范海龙)
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=97b82949673a2b894be1476f499b80553f9a1009.camel@mediatek.com \
--to=hailong.fan@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=kai.vehmanen@linux.intel.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=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=ranjani.sridharan@linux.intel.com \
--cc=robh@kernel.org \
--cc=sound-open-firmware@alsa-project.org \
--cc=tiwai@suse.com \
--cc=yung-chuan.liao@linux.intel.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®