From: Mathieu Poirier <mathieu.poirier@linaro.org>
To: Laurentiu Mihalcea <laurentiumihalcea111@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Daniel Baluta <daniel.baluta@nxp.com>,
Peng Fan <peng.fan@nxp.com>, Mark Brown <broonie@kernel.org>,
Takashi Iwai <tiwai@suse.com>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Bard Liao <yung-chuan.liao@linux.intel.com>,
Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
Jaroslav Kysela <perex@perex.cz>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
Conor Dooley <conor+dt@kernel.org>,
Iuliana Prodan <iuliana.prodan@nxp.com>,
linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-sound@vger.kernel.org,
sound-open-firmware@alsa-project.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: remoteproc: fsl,imx-rproc: add new compatible
Date: Thu, 24 Oct 2024 08:33:28 -0600 [thread overview]
Message-ID: <ZxpauMKLcSz73y3B@p14s> (raw)
In-Reply-To: <20241023162114.3354-2-laurentiumihalcea111@gmail.com>
Good day,
On Wed, Oct 23, 2024 at 12:21:11PM -0400, Laurentiu Mihalcea wrote:
> From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
>
> Add new compatible for imx95's CM7 with SOF.
>
> Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
> ---
> .../bindings/remoteproc/fsl,imx-rproc.yaml | 58 +++++++++++++++++--
> 1 file changed, 53 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml
> index 57d75acb0b5e..ab0d8e017965 100644
> --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml
> @@ -28,6 +28,15 @@ properties:
> - fsl,imx8qxp-cm4
> - fsl,imx8ulp-cm33
> - fsl,imx93-cm33
> + - fsl,imx95-cm7-sof
Why is this added in the remoteproc bindings when the driver is
sound/soc/sof/imx/imx95.c?
> +
> + reg:
> + maxItems: 2
> +
> + reg-names:
> + items:
> + - const: dram
> + - const: mailbox
>
> clocks:
> maxItems: 1
> @@ -38,10 +47,8 @@ properties:
> Phandle to syscon block which provide access to System Reset Controller
>
> mbox-names:
> - items:
> - - const: tx
> - - const: rx
> - - const: rxdb
> + minItems: 1
> + maxItems: 4
>
> mboxes:
> description:
> @@ -49,7 +56,7 @@ properties:
> List of <&phandle type channel> - 1 channel for TX, 1 channel for RX, 1 channel for RXDB.
> (see mailbox/fsl,mu.yaml)
> minItems: 1
> - maxItems: 3
> + maxItems: 4
>
> memory-region:
> description:
> @@ -84,6 +91,10 @@ properties:
> This property is to specify the resource id of the remote processor in SoC
> which supports SCFW
>
> + port:
> + $ref: /schemas/sound/audio-graph-port.yaml#
> + unevaluatedProperties: false
> +
> required:
> - compatible
>
> @@ -114,6 +125,43 @@ allOf:
> properties:
> power-domains: false
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: fsl,imx95-cm7-sof
> + then:
> + properties:
> + mboxes:
> + minItems: 4
> + mbox-names:
> + items:
> + - const: txdb0
> + - const: txdb1
> + - const: rxdb0
> + - const: rxdb1
> + memory-region:
> + maxItems: 1
> + required:
> + - reg
> + - reg-names
> + - mboxes
> + - mbox-names
> + - memory-region
> + - port
> + else:
> + properties:
> + reg: false
> + reg-names: false
> + mboxes:
> + maxItems: 3
> + mbox-names:
> + items:
> + - const: tx
> + - const: rx
> + - const: rxdb
> + port: false
> +
> additionalProperties: false
>
> examples:
> --
> 2.34.1
>
next prev parent reply other threads:[~2024-10-24 14:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-23 16:21 [PATCH 0/4] add sof support on imx95 Laurentiu Mihalcea
2024-10-23 16:21 ` [PATCH 1/4] dt-bindings: remoteproc: fsl,imx-rproc: add new compatible Laurentiu Mihalcea
2024-10-23 18:04 ` Frank Li
2024-10-24 7:45 ` Krzysztof Kozlowski
2024-10-24 10:47 ` Laurentiu Mihalcea
2024-10-24 16:48 ` Rob Herring
2024-10-24 14:33 ` Mathieu Poirier [this message]
2024-10-23 16:21 ` [PATCH 2/4] ASoC: dt-bindings: audio-graph-card2: add widgets and hp-det-gpios support Laurentiu Mihalcea
2024-10-23 18:15 ` Frank Li
2024-10-23 23:52 ` Kuninori Morimoto
2024-10-23 16:21 ` [PATCH 3/4] ASoC: SOF: imx: add driver for imx95 Laurentiu Mihalcea
2024-10-23 18:38 ` Frank Li
2024-10-23 16:21 ` [PATCH 4/4] arm64: dts: imx: add imx95 dts for sof Laurentiu Mihalcea
2024-10-23 18:48 ` Frank Li
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=ZxpauMKLcSz73y3B@p14s \
--to=mathieu.poirier@linaro.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=iuliana.prodan@nxp.com \
--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-remoteproc@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=robh@kernel.org \
--cc=shawnguo@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.