From nobody Sat Nov 30 16:23:05 2024 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 smtp.subspace.kernel.org (Postfix) with ESMTPS id D22691B1414; Mon, 9 Sep 2024 08:36:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725870969; cv=none; b=iy7CAN6yEfCWWy0hxETg902XklILknrBk1SmvgeJ6XhiZg3XWvCTSA1v593uMAAI1eMSxdocuFwGg7XVp3HeLvj71mB+7w/aehZj+ibGjr5Ll1u6gWKEHtn6oIpnQS0K6CJ+dFgFVN1etJ06qyCVhNMgXFwhazPPTu8guoT5cjM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725870969; c=relaxed/simple; bh=n/pIzbx0MgOH7Vt1ursNZ7uh5AqRZVYjSubczslHHrQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=c8GmPVx50cKqfFbSvRJWNCBWe/S+ImFs26pNYoSikcNzfeYqyWKHy2PerDnLK2hiAzaJ8CVC6de0DBbf/SI1Nl5OhVVPD6XRNGSjCW/e7i439kSIRcecbewJHObfu5S2J9wF+Y/k+Z4Dqlz7b8xf0G6oOzISG/vgvy0e/ffeE8s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=fTyBBGoR; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="fTyBBGoR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1725870967; x=1757406967; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=n/pIzbx0MgOH7Vt1ursNZ7uh5AqRZVYjSubczslHHrQ=; b=fTyBBGoRHREwoELIHcQQr/WG73RNt3tMSlwlb9ViaAhLat8BzQvy/fym O+tXThxhAJl06sCeN0S3vJqne+eCKb71oof5W2a1QtYuvpv+ppFl+tshW IdgDuceBEcOohP7ciXbKOXSvoDaN1SI8UXnQwSvPOM1zzboeuqC2pUjbZ MehMMlToTwwjsFb2wc2RjUTF5OsvQo/wdDdKlZtIDBNyMFUSu3C1qynBA LfcSWbeqD5CA0T0EGXwKiiaw6eRFiiilxKNw5yh6KvpsdwpjpG0zr26db Q5kqLwjDAT8o+msGyyndOPH6H34HAgeTO1psOUr8dCxCVeo+hsgz4g9/I w==; X-CSE-ConnectionGUID: 3+qBZ8ypT7qJuXQunlVkIA== X-CSE-MsgGUID: q5fUTtzfSs+p1sYbOgJ7MQ== X-IronPort-AV: E=Sophos;i="6.10,213,1719903600"; d="scan'208";a="198940348" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 09 Sep 2024 01:36:05 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 9 Sep 2024 01:35:45 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 9 Sep 2024 01:35:41 -0700 From: Andrei Simion To: , , , , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 1/2] ASoC: atmel: mchp-i2s-mcc: Remove interface name from stream_name Date: Mon, 9 Sep 2024 11:35:29 +0300 Message-ID: <20240909083530.14695-2-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240909083530.14695-1-andrei.simion@microchip.com> References: <20240909083530.14695-1-andrei.simion@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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: Adjust the commit title] Signed-off-by: Codrin Ciubotariu Signed-off-by: Andrei Simion --- sound/soc/atmel/mchp-i2s-mcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/atmel/mchp-i2s-mcc.c b/sound/soc/atmel/mchp-i2s-mcc.c index 35a56b266b8d..f40508668ac5 100644 --- a/sound/soc/atmel/mchp-i2s-mcc.c +++ b/sound/soc/atmel/mchp-i2s-mcc.c @@ -936,14 +936,14 @@ static const struct snd_soc_dai_ops mchp_i2s_mcc_dai_= ops =3D { =20 static struct snd_soc_dai_driver mchp_i2s_mcc_dai =3D { .playback =3D { - .stream_name =3D "I2SMCC-Playback", + .stream_name =3D "Playback", .channels_min =3D 1, .channels_max =3D 8, .rates =3D MCHP_I2SMCC_RATES, .formats =3D MCHP_I2SMCC_FORMATS, }, .capture =3D { - .stream_name =3D "I2SMCC-Capture", + .stream_name =3D "Capture", .channels_min =3D 1, .channels_max =3D 8, .rates =3D MCHP_I2SMCC_RATES, --=20 2.34.1 From nobody Sat Nov 30 16:23:05 2024 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 smtp.subspace.kernel.org (Postfix) with ESMTPS id 7EFD31B14F9; Mon, 9 Sep 2024 08:36:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725870969; cv=none; b=LnGzo3JifvSQSM8dsEOyWUu9KjjksUjhHq4RFL99K+Yt7qZCWbmzvrKG1xvwkWRLV/A6Ofdc/2htVvWIPyAaBiwPrB8huv63dHIUBmNkLh7JX+GryzcCEnA2IiJxaTh5cLZh6PEwTDUSJ19OGHQ5p6YknrXuLVYOWUzytgrkQ7c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725870969; c=relaxed/simple; bh=2lafLKjnorwqVWKIDeS2ovxiuaU21GohdSm/0wFNtvY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nEhwV141qCbgNbBLyZPxRPLs8B5im/AmqeQSpxp3yZZunHrlibZPlW2M3bcx0YpUYeYfPfXRDqycg17hw+Bs2vA/OZvDDpOjxu9vI+aljU46Ht7A+P3GlWNBykTObPp/uRze39OdXU2P+H8vOkYHAL7Sby9+wRm5kREwSggX6WA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=MtCKy3UH; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="MtCKy3UH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1725870968; x=1757406968; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2lafLKjnorwqVWKIDeS2ovxiuaU21GohdSm/0wFNtvY=; b=MtCKy3UHgrURz0UqcFnw89/sKLvdC7ws+RFrN/MbszlGjXpBVbH2Mt+k WHF/yciGvFR/i8FXsf9PzAu5JkIEqT6l9lhEd88rpj6s/gNzN6lE+3Ckn oiX6o0CkEkhaxHX5SlTxNxQphACnGfthC3ReQH8cmZEl/eVVtEIXPgMUF +8orCFnYR/euJcjVEUoYySTYfpbLMDk26EIyDBUSChzNsBwqNNFJcKw+P l5WT1A4ohof5fgMiEcV5bRB8nyaVrJtsXy5apqB13wphaDmbZ8xOfbgYd /7N6gHBo70hVzHZhcH38h57pDl4Z62ilDfjkDIYExINndzngqIQQ3vpTL g==; X-CSE-ConnectionGUID: 3+qBZ8ypT7qJuXQunlVkIA== X-CSE-MsgGUID: wyzCDRFkRbylqCWlGPF3Ow== X-IronPort-AV: E=Sophos;i="6.10,213,1719903600"; d="scan'208";a="198940351" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 09 Sep 2024 01:36:06 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 9 Sep 2024 01:35:48 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 9 Sep 2024 01:35:45 -0700 From: Andrei Simion To: , , , , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 2/2] ASoC: dt-bindings: microchip,sama7g5-i2smcc: Add 'sound-name-prefix' property Date: Mon, 9 Sep 2024 11:35:30 +0300 Message-ID: <20240909083530.14695-3-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240909083530.14695-1-andrei.simion@microchip.com> References: <20240909083530.14695-1-andrei.simion@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Codrin Ciubotariu Add 'sound-name-prefix' property to differentiate between interfaces in DPCM use-cases. Property is optional. [andrei.simion@microchip.com: Adjust the commit title and message. Reword the description for 'sound-name-prefix'.] Signed-off-by: Codrin Ciubotariu Signed-off-by: Andrei Simion --- .../bindings/sound/microchip,sama7g5-i2smcc.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2sm= cc.yaml b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.= yaml index fb630a184350..ad34df67c7c0 100644 --- a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml +++ b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml @@ -52,6 +52,13 @@ properties: - const: gclk minItems: 1 =20 + sound-name-prefix: + pattern: "^I2SMCC[0-9]$" + $ref: /schemas/types.yaml#/definitions/string + description: + Unique prefixes for the sink/source names of the component, ensuring + distinct identification among multiple instances. + dmas: items: - description: TX DMA Channel --=20 2.34.1