alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support for rpmsg sound card on i.MX93 platform
@ 2023-07-14  9:29 Chancel Liu
  2023-07-14  9:29 ` [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93 Chancel Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chancel Liu @ 2023-07-14  9:29 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, perex, tiwai,
	alsa-devel, linux-kernel, linuxppc-dev, devicetree
  Cc: Chancel Liu

Support rpmsg sound card on i.MX93 platform.

Chancel Liu (2):
  ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93
  ASoC: fsl_rpmsg: Add support for i.MX93 platform

 Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 1 +
 sound/soc/fsl/fsl_rpmsg.c                              | 8 ++++++++
 2 files changed, 9 insertions(+)

--
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93
  2023-07-14  9:29 [PATCH 0/2] Add support for rpmsg sound card on i.MX93 platform Chancel Liu
@ 2023-07-14  9:29 ` Chancel Liu
  2023-07-14 21:10   ` Rob Herring
  2023-07-14  9:29 ` [PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform Chancel Liu
  2023-07-17 21:59 ` [PATCH 0/2] Add support for rpmsg sound card on " Mark Brown
  2 siblings, 1 reply; 6+ messages in thread
From: Chancel Liu @ 2023-07-14  9:29 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, perex, tiwai,
	alsa-devel, linux-kernel, linuxppc-dev, devicetree
  Cc: Chancel Liu

Add compatible string for i.MX93 platform which supports audio
function through rpmsg channel between Cortex-A and Cortex-M core.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
---
 Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml
index e847611a85f7..6df0e03a1d4b 100644
--- a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml
@@ -25,6 +25,7 @@ properties:
       - fsl,imx8mm-rpmsg-audio
       - fsl,imx8mp-rpmsg-audio
       - fsl,imx8ulp-rpmsg-audio
+      - fsl,imx93-rpmsg-audio
 
   model:
     $ref: /schemas/types.yaml#/definitions/string
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform
  2023-07-14  9:29 [PATCH 0/2] Add support for rpmsg sound card on i.MX93 platform Chancel Liu
  2023-07-14  9:29 ` [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93 Chancel Liu
@ 2023-07-14  9:29 ` Chancel Liu
  2023-07-17  8:59   ` Shengjiu Wang
  2023-07-17 21:59 ` [PATCH 0/2] Add support for rpmsg sound card on " Mark Brown
  2 siblings, 1 reply; 6+ messages in thread
From: Chancel Liu @ 2023-07-14  9:29 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, perex, tiwai,
	alsa-devel, linux-kernel, linuxppc-dev, devicetree
  Cc: Chancel Liu

Add compatible string and specific soc data to support rpmsg sound card
on i.MX93 platform.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
---
 sound/soc/fsl/fsl_rpmsg.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c
index 15b48b5ea856..abe19a8a7aa7 100644
--- a/sound/soc/fsl/fsl_rpmsg.c
+++ b/sound/soc/fsl/fsl_rpmsg.c
@@ -170,12 +170,20 @@ static const struct fsl_rpmsg_soc_data imx8mp_data = {
 		   SNDRV_PCM_FMTBIT_S32_LE,
 };
 
+static const struct fsl_rpmsg_soc_data imx93_data = {
+	.rates = SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_32000 |
+		 SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000,
+	.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
+		   SNDRV_PCM_FMTBIT_S32_LE,
+};
+
 static const struct of_device_id fsl_rpmsg_ids[] = {
 	{ .compatible = "fsl,imx7ulp-rpmsg-audio", .data = &imx7ulp_data},
 	{ .compatible = "fsl,imx8mm-rpmsg-audio", .data = &imx8mm_data},
 	{ .compatible = "fsl,imx8mn-rpmsg-audio", .data = &imx8mn_data},
 	{ .compatible = "fsl,imx8mp-rpmsg-audio", .data = &imx8mp_data},
 	{ .compatible = "fsl,imx8ulp-rpmsg-audio", .data = &imx7ulp_data},
+	{ .compatible = "fsl,imx93-rpmsg-audio", .data = &imx93_data},
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, fsl_rpmsg_ids);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93
  2023-07-14  9:29 ` [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93 Chancel Liu
@ 2023-07-14 21:10   ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2023-07-14 21:10 UTC (permalink / raw)
  To: Chancel Liu
  Cc: krzysztof.kozlowski+dt, Xiubo.Lee, nicoleotsuka, shengjiu.wang,
	festevam, devicetree, lgirdwood, linux-kernel, linuxppc-dev,
	tiwai, robh+dt, alsa-devel, conor+dt, perex, broonie


On Fri, 14 Jul 2023 17:29:12 +0800, Chancel Liu wrote:
> Add compatible string for i.MX93 platform which supports audio
> function through rpmsg channel between Cortex-A and Cortex-M core.
> 
> Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
> ---
>  Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform
  2023-07-14  9:29 ` [PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform Chancel Liu
@ 2023-07-17  8:59   ` Shengjiu Wang
  0 siblings, 0 replies; 6+ messages in thread
From: Shengjiu Wang @ 2023-07-17  8:59 UTC (permalink / raw)
  To: Chancel Liu
  Cc: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	Xiubo.Lee, festevam, nicoleotsuka, perex, tiwai, alsa-devel,
	linux-kernel, linuxppc-dev, devicetree

On Fri, Jul 14, 2023 at 5:30 PM Chancel Liu <chancel.liu@nxp.com> wrote:

> Add compatible string and specific soc data to support rpmsg sound card
> on i.MX93 platform.
>
> Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
>

Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>

Best regards
wang shengjiu

> ---
>  sound/soc/fsl/fsl_rpmsg.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c
> index 15b48b5ea856..abe19a8a7aa7 100644
> --- a/sound/soc/fsl/fsl_rpmsg.c
> +++ b/sound/soc/fsl/fsl_rpmsg.c
> @@ -170,12 +170,20 @@ static const struct fsl_rpmsg_soc_data imx8mp_data =
> {
>                    SNDRV_PCM_FMTBIT_S32_LE,
>  };
>
> +static const struct fsl_rpmsg_soc_data imx93_data = {
> +       .rates = SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_32000 |
> +                SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000,
> +       .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
> +                  SNDRV_PCM_FMTBIT_S32_LE,
> +};
> +
>  static const struct of_device_id fsl_rpmsg_ids[] = {
>         { .compatible = "fsl,imx7ulp-rpmsg-audio", .data = &imx7ulp_data},
>         { .compatible = "fsl,imx8mm-rpmsg-audio", .data = &imx8mm_data},
>         { .compatible = "fsl,imx8mn-rpmsg-audio", .data = &imx8mn_data},
>         { .compatible = "fsl,imx8mp-rpmsg-audio", .data = &imx8mp_data},
>         { .compatible = "fsl,imx8ulp-rpmsg-audio", .data = &imx7ulp_data},
> +       { .compatible = "fsl,imx93-rpmsg-audio", .data = &imx93_data},
>         { /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, fsl_rpmsg_ids);
> --
> 2.25.1
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] Add support for rpmsg sound card on i.MX93 platform
  2023-07-14  9:29 [PATCH 0/2] Add support for rpmsg sound card on i.MX93 platform Chancel Liu
  2023-07-14  9:29 ` [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93 Chancel Liu
  2023-07-14  9:29 ` [PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform Chancel Liu
@ 2023-07-17 21:59 ` Mark Brown
  2 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2023-07-17 21:59 UTC (permalink / raw)
  To: lgirdwood, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, perex, tiwai,
	alsa-devel, linux-kernel, linuxppc-dev, devicetree, Chancel Liu

On Fri, 14 Jul 2023 17:29:11 +0800, Chancel Liu wrote:
> Support rpmsg sound card on i.MX93 platform.
> 
> Chancel Liu (2):
>   ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93
>   ASoC: fsl_rpmsg: Add support for i.MX93 platform
> 
>  Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 1 +
>  sound/soc/fsl/fsl_rpmsg.c                              | 8 ++++++++
>  2 files changed, 9 insertions(+)
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93
      commit: 143f8c69a27f3fa8ed30c7f6790ea039fff57cfe
[2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform
      commit: 60f38a592efe08e5ced454e8a05f6814e6e221ec

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-17 22:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14  9:29 [PATCH 0/2] Add support for rpmsg sound card on i.MX93 platform Chancel Liu
2023-07-14  9:29 ` [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93 Chancel Liu
2023-07-14 21:10   ` Rob Herring
2023-07-14  9:29 ` [PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform Chancel Liu
2023-07-17  8:59   ` Shengjiu Wang
2023-07-17 21:59 ` [PATCH 0/2] Add support for rpmsg sound card on " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).