lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Jul 2024 10:38:56 +0800
From: Shengjiu Wang <shengjiu.wang@...il.com>
To: Chancel Liu <chancel.liu@....com>
Cc: lgirdwood@...il.com, broonie@...nel.org, robh+dt@...nel.org, 
	krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org, Xiubo.Lee@...il.com, 
	festevam@...il.com, nicoleotsuka@...il.com, perex@...ex.cz, tiwai@...e.com, 
	linux-sound@...r.kernel.org, alsa-devel@...a-project.org, 
	linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org, 
	devicetree@...r.kernel.org
Subject: Re: [PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX95 platform

On Wed, Jun 26, 2024 at 3:12 PM Chancel Liu <chancel.liu@....com> wrote:
>
> Add compatible string and specific soc data to support rpmsg sound card
> on i.MX95 platform.
>
> Signed-off-by: Chancel Liu <chancel.liu@....com>

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

Best regards
Shengjiu Wang
> ---
>  sound/soc/fsl/fsl_rpmsg.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c
> index bc41a0666856..467d6bc9f956 100644
> --- a/sound/soc/fsl/fsl_rpmsg.c
> +++ b/sound/soc/fsl/fsl_rpmsg.c
> @@ -175,6 +175,14 @@ static const struct fsl_rpmsg_soc_data imx93_data = {
>                    SNDRV_PCM_FMTBIT_S32_LE,
>  };
>
> +static const struct fsl_rpmsg_soc_data imx95_data = {
> +       .rates = SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_32000 |
> +                SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |
> +                SNDRV_PCM_RATE_88200 | 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},
> @@ -182,6 +190,7 @@ static const struct of_device_id fsl_rpmsg_ids[] = {
>         { .compatible = "fsl,imx8mp-rpmsg-audio", .data = &imx8mp_data},
>         { .compatible = "fsl,imx8ulp-rpmsg-audio", .data = &imx7ulp_data},
>         { .compatible = "fsl,imx93-rpmsg-audio", .data = &imx93_data},
> +       { .compatible = "fsl,imx95-rpmsg-audio", .data = &imx95_data},
>         { /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, fsl_rpmsg_ids);
> --
> 2.43.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ