From patchwork Mon Sep 16 08:52:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 829644 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81621CDD573 for ; Thu, 19 Sep 2024 13:14:23 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A427182C; Thu, 19 Sep 2024 15:14:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A427182C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1726751661; bh=xWtunqZUwm+Iv5DfIc9zQa49fXxa5eCLE0PCO9l16Y4=; h=From:To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=unYN0S07dWr6kjhNk1MXN4llKrk8YOFBVs9rBRZvH1OEOaKknukEmqJNPaLBEG8Kj exvAlp15/Qr4xV53fP7v66kXU5nf6Hhrz7I+e3Cw0JmoDLKgSgQhIm6HmQNkrv3TgZ qPmQMv49j2TwSdzWDjzy5hQopU6eQZkPOOXbMAdU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4D991F805B0; Thu, 19 Sep 2024 15:13:08 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 37070F80621; Thu, 19 Sep 2024 15:13:08 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 16C29F80236; Mon, 16 Sep 2024 10:53:40 +0200 (CEST) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5DC47F801C0 for ; Mon, 16 Sep 2024 10:53:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5DC47F801C0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=0VSdwHGb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726476817; x=1758012817; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xWtunqZUwm+Iv5DfIc9zQa49fXxa5eCLE0PCO9l16Y4=; b=0VSdwHGbpg71ryPL9oOZZ5/O0IqEhOUVGmgm2D2YnG75wBBJUwU4QoRd 1IUm148Olk192iCqEqYjXZu4dIiQJlBwE9gSTqZ+RDFsotMCnFIMjBvi/ XXifITZnKa8D4qSek1+7piIxBMWfUza2fFpmF9KF9wk5b/qUgZA4UJiJ1 P1wHX+0CibBPkHXINoaYoMAyMvgSz8mqK8XXOCP/sb8UJFEp3awLx8Oyq YYef5xAjyo92k7PHHNyO1fh2MdRUlndojF5bUphE6eR8R6ZnGKB9FCKYo kC8J5N4H0G4IDo1ehOdXQLEXi/XVJCmChNYDsHwjyH9cK4E+0HspgEKDt A==; X-CSE-ConnectionGUID: PamDwLmaS1u4auhQg+WCVA== X-CSE-MsgGUID: Xl7j1+o3Se2UIgOppZ5/Qg== X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="32443040" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 16 Sep 2024 01:53:32 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 16 Sep 2024 01:53:12 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 16 Sep 2024 01:53:09 -0700 From: Andrei Simion To: , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 1/2] ASoC: atmel: atmel_ssc_dai: Add stream names Date: Mon, 16 Sep 2024 11:52:14 +0300 Message-ID: <20240916085214.11083-2-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240916085214.11083-1-andrei.simion@microchip.com> References: <20240916085214.11083-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-MailFrom: prvs=98237714c=Andrei.Simion@microchip.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: JBSHULDYBMEQYH24YCFTTGN7TAOSOLGG X-Message-ID-Hash: JBSHULDYBMEQYH24YCFTTGN7TAOSOLGG X-Mailman-Approved-At: Thu, 19 Sep 2024 13:13:01 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Codrin Ciubotariu Add required stream names for DPCM and future use-cases. [andrei.simion@microchip.com: Adjust commit title. Reword commit message.] Signed-off-by: Codrin Ciubotariu Signed-off-by: Andrei Simion Reviewed-by: Alexandre Belloni --- sound/soc/atmel/atmel_ssc_dai.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 3763454436c1..7047f17fe7a8 100644 --- a/sound/soc/atmel/atmel_ssc_dai.c +++ b/sound/soc/atmel/atmel_ssc_dai.c @@ -836,6 +836,7 @@ static const struct snd_soc_dai_ops atmel_ssc_dai_ops = { static struct snd_soc_dai_driver atmel_ssc_dai = { .playback = { + .stream_name = "Playback", .channels_min = 1, .channels_max = 2, .rates = SNDRV_PCM_RATE_CONTINUOUS, @@ -843,6 +844,7 @@ static struct snd_soc_dai_driver atmel_ssc_dai = { .rate_max = 384000, .formats = ATMEL_SSC_FORMATS,}, .capture = { + .stream_name = "Capture", .channels_min = 1, .channels_max = 2, .rates = SNDRV_PCM_RATE_CONTINUOUS, From patchwork Mon Sep 16 09:10:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 829642 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71CA3CDD578 for ; Thu, 19 Sep 2024 13:15:26 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 661CDE68; Thu, 19 Sep 2024 15:15:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 661CDE68 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1726751724; bh=WzMOI6uVh9ZS7Z0+9PLGOHkUmsJPm9EqL/liuVJiUEo=; h=From:To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=BeJPvNsXh5YSZPYrkJTvmuuZWrzUEGrwGlrkURHBycW7UIcDLsyAdsp61+U/anxJm 8HiEHwiEI4FRDQcBd7OelJiLXNsUes8HkFLGU2sFL7QEOYC2w3jvky7bcAWFedvLfV z6FJanSHpPxmp8wxfr+p3ZIcl1CkwxLyIBHEnPj4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7E8E8F806CA; Thu, 19 Sep 2024 15:13:22 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 9B5EFF806C2; Thu, 19 Sep 2024 15:13:21 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E9252F8020D; Mon, 16 Sep 2024 11:11:48 +0200 (CEST) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 19153F801C0 for ; Mon, 16 Sep 2024 11:11:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 19153F801C0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=FKTo97mI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726477908; x=1758013908; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WzMOI6uVh9ZS7Z0+9PLGOHkUmsJPm9EqL/liuVJiUEo=; b=FKTo97mIZEU9msoVoOMVFC1BMxM6RLYzXPL+TSWWXBArD5mvxUsQlnKu diUiXbZ99RXCajmWSecqfkrRpyo24eD7UYwPXwn76O16BWjpq6223Uwkd EVUfQewvuafFaE8l5J/1/VTS7qF6A32tj0RmiZQncAeeMBSpwSHcR4XUu YFfQE9zEC1OniM5FY7EsKXCnHkAulPoNKKX+Yw1voOhrjyX59hGdEHC8s /x+Ev+dHlrslWw3UsMJbrZozJ0VpZAnyVD+Vt/dt3EERfNU2ex3gfG9mU cLWKofbJjVUYis76rT3XdQyvMzMKpOKOt3Bcqwsg4N37xa413k7Vf4jwk A==; X-CSE-ConnectionGUID: zBJi05dESDObnv88EXzWcg== X-CSE-MsgGUID: rrPzMFViSc+h7i4e4hYxVA== X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="34997192" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 16 Sep 2024 02:11:41 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 16 Sep 2024 02:11:29 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 16 Sep 2024 02:11:26 -0700 From: Andrei Simion To: , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 2/2] ASoC: atmel: mchp-spdifrx: Remove interface name from stream_name Date: Mon, 16 Sep 2024 12:10:57 +0300 Message-ID: <20240916091056.11910-3-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240916091056.11910-1-andrei.simion@microchip.com> References: <20240916091056.11910-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-MailFrom: prvs=98237714c=Andrei.Simion@microchip.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: PT2QJBQP4PWCHKCAXKC53PB66CVXZEDW X-Message-ID-Hash: PT2QJBQP4PWCHKCAXKC53PB66CVXZEDW X-Mailman-Approved-At: Thu, 19 Sep 2024 13:13:01 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Codrin Ciubotariu Remove the interface name from the stream_name. The interface name (and the index of the interface) can be set in DT using the sound-name-prefix string property. [andrei.simion@microchip.com: Adjust the commit title.] Signed-off-by: Codrin Ciubotariu Signed-off-by: Andrei Simion --- sound/soc/atmel/mchp-spdifrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/mchp-spdifrx.c b/sound/soc/atmel/mchp-spdifrx.c index b2507a1491b7..fb820609c043 100644 --- a/sound/soc/atmel/mchp-spdifrx.c +++ b/sound/soc/atmel/mchp-spdifrx.c @@ -1014,7 +1014,7 @@ static const struct snd_soc_dai_ops mchp_spdifrx_dai_ops = { static struct snd_soc_dai_driver mchp_spdifrx_dai = { .name = "mchp-spdifrx", .capture = { - .stream_name = "S/PDIF Capture", + .stream_name = "Capture", .channels_min = SPDIFRX_CHANNELS, .channels_max = SPDIFRX_CHANNELS, .rates = MCHP_SPDIF_RATES,