From: Marco Felsch <m.felsch@pengutronix.de>
To: Laurentiu Mihalcea <laurentiumihalcea111@gmail.com>
Cc: Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
Pengutronix Kernel Team <kernel@pengutronix.de>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v4 1/3] ASoC: dt-bindings: support imx95's CM7 core
Date: Wed, 12 Feb 2025 10:36:10 +0100 [thread overview]
Message-ID: <20250212093610.x4ixrackmn3u2xrf@pengutronix.de> (raw)
In-Reply-To: <20250211225808.3050-2-laurentiumihalcea111@gmail.com>
On 25-02-11, Laurentiu Mihalcea wrote:
> From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
>
> Add binding for imx95's CM7 core, used for audio processing.
> Additionally, introduce a common binding for NXP audio processors with
> Sound Open Firmware (SOF) support.
>
> Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
> ---
> .../bindings/sound/fsl,imx95-cm7-sof.yaml | 64 +++++++++++++++++++
> .../bindings/sound/fsl,sof-cpu.yaml | 27 ++++++++
> 2 files changed, 91 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/fsl,imx95-cm7-sof.yaml
> create mode 100644 Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/fsl,imx95-cm7-sof.yaml b/Documentation/devicetree/bindings/sound/fsl,imx95-cm7-sof.yaml
> new file mode 100644
> index 000000000000..f00ae3219e15
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/fsl,imx95-cm7-sof.yaml
> @@ -0,0 +1,64 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/fsl,imx95-cm7-sof.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NXP imx95 CM7 core
> +
> +maintainers:
> + - Daniel Baluta <daniel.baluta@nxp.com>
> +
> +description: NXP imx95 CM7 core used for audio processing
> +
> +properties:
> + compatible:
> + const: fsl,imx95-cm7-sof
Albeit Krzysztof already add his Reviewed-by, can I ask why we need to
add the -sof suffix instead of -audio or so? SOF is a software project
but you can clearly run different software on the audio-copro as well.
Regards,
Marco
> +
> + reg:
> + maxItems: 1
> +
> + reg-names:
> + const: sram
> +
> + memory-region:
> + maxItems: 1
> +
> + memory-region-names:
> + const: dma
> +
> + port:
> + description: SAI3 port
> + $ref: audio-graph-port.yaml#
> + unevaluatedProperties: false
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - memory-region
> + - memory-region-names
> + - port
> +
> +allOf:
> + - $ref: fsl,sof-cpu.yaml#
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + cm7-cpu@80000000 {
> + compatible = "fsl,imx95-cm7-sof";
> + reg = <0x80000000 0x6100000>;
> + reg-names = "sram";
> + mboxes = <&mu7 2 0>, <&mu7 2 1>, <&mu7 3 0>, <&mu7 3 1>;
> + mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1";
> + memory-region = <&adma_res>;
> + memory-region-names = "dma";
> + port {
> + /* SAI3-WM8962 link */
> + endpoint {
> + remote-endpoint = <&wm8962_ep>;
> + };
> + };
> + };
> diff --git a/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml b/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml
> new file mode 100644
> index 000000000000..31863932dbc3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/fsl,sof-cpu.yaml
> @@ -0,0 +1,27 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/fsl,sof-cpu.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: NXP audio processor common properties
> +
> +maintainers:
> + - Daniel Baluta <daniel.baluta@nxp.com>
> +
> +properties:
> + mboxes:
> + maxItems: 4
> +
> + mbox-names:
> + items:
> + - const: txdb0
> + - const: txdb1
> + - const: rxdb0
> + - const: rxdb1
> +
> +required:
> + - mboxes
> + - mbox-names
> +
> +additionalProperties: true
> --
> 2.34.1
>
>
>
next prev parent reply other threads:[~2025-02-12 9:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 22:58 [PATCH v4 0/3] add sof support on imx95 Laurentiu Mihalcea
2025-02-11 22:58 ` [PATCH v4 1/3] ASoC: dt-bindings: support imx95's CM7 core Laurentiu Mihalcea
2025-02-12 7:09 ` Krzysztof Kozlowski
2025-02-12 9:36 ` Marco Felsch [this message]
2025-02-12 10:11 ` Daniel Baluta
2025-02-12 12:38 ` Mark Brown
2025-02-12 19:36 ` Laurentiu Mihalcea
2025-02-13 6:47 ` Marco Felsch
2025-03-04 21:35 ` Laurentiu Mihalcea
2025-03-07 17:53 ` Marco Felsch
2025-02-11 22:58 ` [PATCH v4 2/3] ASoC: dt-bindings: audio-graph-card2: add widgets and hp-det-gpios support Laurentiu Mihalcea
2025-02-11 22:58 ` [PATCH v4 3/3] arm64: dts: imx: add imx95 dts for sof Laurentiu Mihalcea
2025-02-11 23:23 ` Frank Li
2025-02-24 19:17 ` Mihalcea Laurentiu
2025-02-24 19:51 ` Frank Li
2025-03-04 18:38 ` Laurentiu Mihalcea
2025-02-12 11:38 ` [PATCH v4 0/3] add sof support on imx95 Iuliana Prodan
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=20250212093610.x4ixrackmn3u2xrf@pengutronix.de \
--to=m.felsch@pengutronix.de \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=laurentiumihalcea111@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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