From patchwork Mon Jan 20 13:24:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13945117 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 EDC7D1DED4B for ; Mon, 20 Jan 2025 13:25:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379516; cv=none; b=p6c1vZrs9TXgYXrYm7YvVFWZ1ECjfLA190Aqokj0N5EFrVb9lXOVGr+nC5v8pGN19r50jHErM4pWYe1DGushnUDaKaJno2SKr8o97K1zS8a0kCOtPUf3ptggvFPqJOvDqKkJmHVY8mMbHI3mw4ZRzYHe47SETMk3R6ui1FDvCuU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379516; c=relaxed/simple; bh=iamKg5+naQEt0ttfGMv21bS2aO7CH3fLetqVJgcwNOw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=gYL+xEWx5K+MPCCzP/kkwUW0fBzNeDaqxqx9Y9268oTKHKfdAUfX2s6ITUle5DAmDV1RiZTIlxqtTFvj5h/uG8Anjq4jO2ag4nYO99T3/pEBG+xQcXeWH18EwpeYKXx2iTWiQdSpe2p1JFY7zuo4jRUYVSDgfGx0a8lTp4AApkM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=TKbgkwXp; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=cW9ibBma reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="TKbgkwXp"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="cW9ibBma" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1737379514; x=1768915514; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SeUU/CcKteCzk5JgAiW0vYeJCZs4uk8xMONzg4FEjlk=; b=TKbgkwXpety2opf5rS+NNjhESxhRFhcUypHiOAFp5g3IuoPrGr918dud Vii22Mmr5dgXkWW6l1i3ef2eH9xWphhqHlTobLyDMsgYqlPU28QGC6NCr H1xUO4jsJV258Ui/UJz4QdFJkgJGISoh5wQ9MJ0YyYECFm8kCD2Uc+Q8n FzrRyWdC1RkLRXTLYtw9/p4qrqcNBi4yCWdU7yZgCz9Q3AozFLA+ngSbr TCi63ksII5KxctRB/uUuFqyL4K1IMukTOoJ9TiQDSa2qbE2tAnTpdQeKp sY/cbjFBKi9tcdH8gIl+E7CG7lja3IWrJItBCsm6huVx9rm4ceBvaxUJ3 A==; X-CSE-ConnectionGUID: r6r3dsEWRAWv+EZTFPLoyw== X-CSE-MsgGUID: ua6OEG7KTFaJba6J/fFTPg== X-IronPort-AV: E=Sophos;i="6.13,219,1732575600"; d="scan'208";a="41177837" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 20 Jan 2025 14:25:11 +0100 X-CheckPoint: {678E4EB6-1E-9B2B6168-EB6F31C5} X-MAIL-CPID: C04F1E62FB708A570CD8B49F55B412AD_5 X-Control-Analysis: str=0001.0A682F1F.678E4EB7.008A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 46A8816EF42; Mon, 20 Jan 2025 14:25:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1737379506; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SeUU/CcKteCzk5JgAiW0vYeJCZs4uk8xMONzg4FEjlk=; b=cW9ibBmaBKVsCdSYNj6/g+sSxif7ygs/R3unlvLpidfp1lzIV5YLiunDz5C3WsUqPGHoO0 62ms8j6bDZpn8nRcMGrj5jak8k+97hIoGWuERtUcg+UpZMM0rNX62/YS5TjslTZIMeH0H2 4mmk94Ub7WIRHyar8ZrmEg7KkrdIkyXv16EaMK2MHicPiqgTzKbtfMRjeEAsOmluvcIWrA b1ULVTJYGZQacIGSThBEaS3MteuWNrYje8MlkJ0SFJbBKVq8h8htU7aAMt+od7rCZBTr53 27pagVGZcB65tbS4V0yhKjvSmFH0WjYYIWHKWkLRmsa5XTGZ29Qo34IgPE9Z3A== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH 1/5] arm: dts: imx6qdl-mba6: change sound card model name Date: Mon, 20 Jan 2025 14:24:58 +0100 Message-Id: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 From: Markus Niebel The card name for ALSA is generated from the model name string and is limited to 16 characters. Use a shorter name to prevent cutting the name. Since nearly all starter kit mainboards for i.MX based SoM by TQ-Systems use the same codec with the same routing on board it is a good idea to use the same mode name for the sound card. This allows sharing a default asound.conf in BSP over all the kits. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi index 8ba3ec27bee07..7b2bad5f2f0ba 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi @@ -124,7 +124,7 @@ sound { compatible = "fsl,imx-audio-tlv320aic32x4"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_audmux>; - model = "imx-audio-tlv320aic32x4"; + model = "tqm-tlv320aic32"; ssi-controller = <&ssi1>; audio-codec = <&tlv320aic32x4>; audio-asrc = <&asrc>; From patchwork Mon Jan 20 13:24:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13945118 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 D41BC1E0DD6 for ; Mon, 20 Jan 2025 13:25:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379519; cv=none; b=YcDgZabMcClL6s5/N4oF2mRkdohK69o4fE/nBpKMarRrex92vJOm9mJe9YasXOFjHvnZvdeHYNClM93m33c9w/2Dw5IRpmP+Z0SWYQOcqkCngVwF8Xf+8elt4SZsVa3U0908RQfgWA5iiz1x4UuM7Gw/8DXMFmBGBUHh9Age//E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379519; c=relaxed/simple; bh=n1qwl7C0ByvsQlnPhHFTb9SInGSndT0GZ9wp9tDDH1E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=J3cQwaOFgWzmFbLck6cL0dAElnJcndETX8R2hJ0iA0mGgyvXbnWaZuAs5glITIZTD8NJ/A5E4gMURTwIza7JyJYyHfQ32CitinP8nVTQAsUb4UCD1zkKM9Y3QvAzpHvtHPpdlZob8orma3iRs2r9aiGU3S1o8oyiTaYERVNdyTM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=jBmluDth; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=R/vecpW2 reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="jBmluDth"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="R/vecpW2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1737379517; x=1768915517; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=62kg7EpBQjINxHjvuuwUC/l4ka3K2AOXJOa+OBonMKw=; b=jBmluDth/Rjc9mDE9Y4SD5uYbVfh0gbqIDua1FGr4D1zWOjIyzTTvnPM EtOz/Ygr+B2/b+XVlRv4Z6TrbH7FBFlDMG7CLH1S0K4G6+3LrNGdTVtwr WzjtLN6sU5GO0WNpEXMfZMqEmdFJqpboEwSX6Wr2rGyWVfE0+U91P/pQz fvS90P71nQ+oXVNTQWExDbEdZIbxwbKYqEBtZWlU4vYI8HZEp3nrARVOm dc0UonGsxCdrSPcxAMU5X515uI+f/VJkzb4NYM3QxwMUpjvU2ndYhWWaH bng3bUBOppW1vAIuKJbasMJH69456IvwBbilbHeR3J+cqQlmrR35B9nwz g==; X-CSE-ConnectionGUID: vJKdMvUmQZ+I1OIzU1z5+w== X-CSE-MsgGUID: tNHpwoO0QrqNYrhfcuCJXg== X-IronPort-AV: E=Sophos;i="6.13,219,1732575600"; d="scan'208";a="41177840" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 20 Jan 2025 14:25:16 +0100 X-CheckPoint: {678E4EBC-E-31397509-E321C4C4} X-MAIL-CPID: 20ECB963B1329CA933C8A2EE1026F022_0 X-Control-Analysis: str=0001.0A682F1F.678E4EBC.003E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3EAE4161460; Mon, 20 Jan 2025 14:25:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1737379511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=62kg7EpBQjINxHjvuuwUC/l4ka3K2AOXJOa+OBonMKw=; b=R/vecpW2z8/EyRmq+gjB7rIc72cV0QLajZMZjAv9QfaL9/JKTzkyM4jUtiKHSgwYE1YkZe 8KvF33mRpc6Axyxy4Hk/VzimE/hb4QbDDXgQKF9sHHCLDMqFv5kaVHgq6oTZDwKKWBH/nB CqbcoSCYSem30EDt8sLKaYB/16PWxNB/9CddKXCbR/e9gJ/Lp369aJnT0YTxvJQYz5D3Lh E4PvJi9sA/m78+PLJyx8DlU4+yKaLyzuHLNo3PTqT93mpwz8AYgt4k1lTlyM2XQVt27dTG /QuGNRy9Paz84Gzpp7FuBSHWWdwd2kBE2T1y+yomO1CTObEVdr92Xsl+WaBLvg== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH 2/5] arm: dts: imx7-mba7: change sound card model name Date: Mon, 20 Jan 2025 14:24:59 +0100 Message-Id: <20250120132503.556547-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> References: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 From: Markus Niebel The card name for ALSA is generated from the model name string and is limited to 16 characters. Use a shorter name to prevent cutting the name. Since nearly all starter kit mainboards for i.MX based SoM by TQ-Systems use the same codec with the same routing on board it is a good idea to use the same mode name for the sound card. This allows sharing a default asound.conf in BSP over all the kits. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi index 98956d78c9a18..954739f82d86b 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-mba7.dtsi @@ -238,7 +238,7 @@ reg_audio_3v3: regulator-audio-3v3 { sound { compatible = "fsl,imx-audio-tlv320aic32x4"; - model = "imx-audio-tlv320aic32x4"; + model = "tqm-tlv320aic32"; ssi-controller = <&sai1>; audio-codec = <&tlv320aic32x4>; audio-routing = From patchwork Mon Jan 20 13:25:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13945119 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 9A5531E0DD0 for ; Mon, 20 Jan 2025 13:25:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379525; cv=none; b=opBHauCQfOMHEehatSui91dSvxRW1yWkJfR+BRUpeqv0oUhi4ckqH99ElaMPBc3X5q6UtBcXhUMpD1UM16aiJjhktmgxoXovT300Hrsi3t0SDRaOr5bvdRZdZvehGRPBePNcdKHrEufFsEO6ulIz436DIvKcz1hKPPq01AA7aiw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379525; c=relaxed/simple; bh=+23Fs0WesRqDuGcnrMnfTV5bDcQLqVN2H8O/W1siJHg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FGgnVnQyzx2l9n7ZXtNNT9VizNcJUaPb2uAXexfR7/mKvD3Dut17i9HgF3jjU/0AT0KR1TsleRBPhD/wQpOcxDi16Sh4r0ZYMUe//PrLdjHEnRN9LnPBN6kcUwYch5mFYUmJmEpkUbNNAiYGnjXtWrnaZxKfiIKFQA+UQzsXnwg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=LF4jb8gL; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=rZYcPdHn reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="LF4jb8gL"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="rZYcPdHn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1737379523; x=1768915523; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=78hFLxJMZ5BSxXaEi6N8mTluP6Y4p1HUHn9cC/6qaBc=; b=LF4jb8gLxSZtsppvbPmB2Fc6WO274GxgH9UKIAmQzaH76oOBY+zjUxDm zwsrSTdDJEAt7xvwFDRQqyyoG63+sit+a+A3EvNTR2ed0ARaPrVbKdOj6 Dgv0zLEIrJ6qRdnUXJizl2BOGcUwJRkKKHK+Txck5FXgq7QRvV5tzeq5p EweiazZJL77+jbznQjmkO/KAHSQDq5FYGIMiOzHEnCdZfjQa4C3B7xjbs cWlsoYUcO11vu1v0ap+PqAnqfUzFBiOgnTviyJ9zXcYWLl1Vklwj5KDay BEaELE1gfEQIv+8Ds0snu9N2W5+ujbfYtwA3T7PFl/m8WZQBWCODcNle+ Q==; X-CSE-ConnectionGUID: ugZyBFbCQE2JwcyEpI2/Pw== X-CSE-MsgGUID: m/aPMDTATjWPvYTZZlizbg== X-IronPort-AV: E=Sophos;i="6.13,219,1732575600"; d="scan'208";a="41177844" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 20 Jan 2025 14:25:21 +0100 X-CheckPoint: {678E4EC1-1C-C6D8D88D-F91F9E6B} X-MAIL-CPID: C69335771B147E5FE6CECFDD8A1952C8_2 X-Control-Analysis: str=0001.0A682F1F.678E4EC1.0075,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 8DC141611A2; Mon, 20 Jan 2025 14:25:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1737379517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=78hFLxJMZ5BSxXaEi6N8mTluP6Y4p1HUHn9cC/6qaBc=; b=rZYcPdHn7lTNtJqYHuROVodoq9CyzHhZeP2H1vbEYsNgfhQcb4t4af9YRM0XN52tUB6ePb JHSLaeci3MlufGBPuSstyVXgGbXn2lE9/ceIqohLsclwp+BoBYTDNUk2hG9n9LABZpYvPS kr8OsGqWbpTtt/Mqfn9yVgb1+q0f7jp8qXK5TiG2sv5p4TpFftDARdMHU0b+jBJb9A+xp6 XZgEnTOVPkaQcdq5GImVh9Bd+oK3Vz8Stwwy05QsQPOlcviGoLYjSQS3f4DgixEiW3V1nI rpQJ1/4g5UqQLBuvnP4cbAi09jr9O+v9Gd5YUslKL1w8Ak2/UINiXuQkFjkvtA== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH 3/5] arm: dts: mba6ul: change sound card model name Date: Mon, 20 Jan 2025 14:25:00 +0100 Message-Id: <20250120132503.556547-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> References: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 From: Markus Niebel The card name for ALSA is generated from the model name string and is limited to 16 characters. Use a shorter name to prevent cutting the name. Since nearly all starter kit mainboards for i.MX based SoM by TQ-Systems use the same codec with the same routing on board it is a good idea to use the same mode name for the sound card. This allows sharing a default asound.conf in BSP over all the kits. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi b/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi index 941d9860218e9..67a3d484bc9f1 100644 --- a/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi @@ -142,7 +142,7 @@ linux,cma { sound { compatible = "fsl,imx-audio-tlv320aic32x4"; - model = "imx-audio-tlv320aic32x4"; + model = "tqm-tlv320aic32"; ssi-controller = <&sai1>; audio-codec = <&tlv320aic32x4>; audio-asrc = <&asrc>; From patchwork Mon Jan 20 13:25:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13945120 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 616F21E2317 for ; Mon, 20 Jan 2025 13:25:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379529; cv=none; b=BTrhhrPU69qdEbnzM7wgq2HoIP+6gu/HznkFnuOdd0UP96j38i9UkEsgvVOAQYh40YioP0yGtzyZrkoUAJdpuPOPmuM4vS96U54NLF3wfTzfcCGS0UGkC5mZ+C9yAAm0AVbpG6/aFH4tg9rrKvBRNnSYFJoXP4wTJ3kozJnm8rQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379529; c=relaxed/simple; bh=msJQYV4v6b18Hab2aHU0fsywuVQKlzT13JQnyHzjeLU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oljT2K6MnIL82GN6sivb21/aTsEb5pi9jwbl5h6IA7G0V2mnVOEW8i6IhcyZ1zSZ+KUcXmEYH93ZdC4CHU3LjIv9mr0YVwaD/86EfwjVWAROjuAIFANCBVjPcBmHJ2ydrrMQ4/xJPNY7Zoi765fJsTcbXzzTnk4k18Lok5GUwXM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=NvCHlncO; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=Z4qQ7i2I reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="NvCHlncO"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="Z4qQ7i2I" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1737379527; x=1768915527; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2c29wNKlu5vUAR2wt/xuZ3JMluICUzbKrNycz1Ea4Sc=; b=NvCHlncOVaeovH+BUn71w/4iDnMhGZmNgeTbqZ8mAiRXTHJ3hoic/iTR ayQGo/24T0DwPw3Bop0reEH1v288fImdjdPWdB1uDSIRXgIa+jAn6jfFa p647L9fNec4Mo1AYB/im3d/AYf5Nh8AjNsr7SzZSPOaBHCP+Im6qHkxWh 0gtxE3aix+bQlScxOm6ybGopAldJNVShyGp2XfUK1KCZCXe7wOgUU3/ns sFlwEHdKuAjay0lad2EY3nXJRadNSt9bpwQcp6M8y5y3luFL9pKUOG+0l nt7o2ozfMi8mKYbC+Y3BNbY6JSQL7awQedzzsIXQvYjsYDAGzuBC6x113 A==; X-CSE-ConnectionGUID: SHd0UahgQCS/DT/OJBNsyQ== X-CSE-MsgGUID: 9EpY86SrTx2BP9VLjF0PTw== X-IronPort-AV: E=Sophos;i="6.13,219,1732575600"; d="scan'208";a="41177845" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 20 Jan 2025 14:25:26 +0100 X-CheckPoint: {678E4EC6-21-1CE016C0-E589DA3E} X-MAIL-CPID: 162C60AF69C19AE50821BCABEA4B7DB4_1 X-Control-Analysis: str=0001.0A682F1F.678E4EC7.0009,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D4F9416F862; Mon, 20 Jan 2025 14:25:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1737379522; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2c29wNKlu5vUAR2wt/xuZ3JMluICUzbKrNycz1Ea4Sc=; b=Z4qQ7i2IAh1jVarZ9dc+WnQjE6Xp0fAq5H1CYkZvAXoYn+2Tg/ujaK8S3vOucK6HbREoVg uRGjaLX/ia78gHUII2Sar2PbK5OGErFemQxZbp4/6J26tChRAUQHRn4u0Jr7SnBuDCxXgZ PzXhY8TYnDzB6STV99DuF0BP/58h08Fo4b50qGxbYTt1oqiNnDtJj1PHUI3Z8tSJlN7xDE qXvKqmpXJyuDXz02cNJPL1TKVCArvwrYWI+/Ma3TxX/MjaSM7n2d+K3h24KDGqZDHy4jhO D2OjOW4yuFMxKoVTSvC/ijM4NdLLLy8wlxIrrJyvAzKKP3jjGRuVxZmow24x/g== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH 4/5] arm64: dts: imx8mp-tqma8mpql-mba8mpxl: change sound card model name Date: Mon, 20 Jan 2025 14:25:01 +0100 Message-Id: <20250120132503.556547-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> References: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 From: Markus Niebel The card name for ALSA is generated from the model name string and is limited to 16 characters. Use a shorter name to prevent cutting the name. Since nearly all starter kit mainboards for i.MX based SoM by TQ-Systems use the same codec with the same routing on board it is a good idea to use the same mode name for the sound card. This allows sharing a default asound.conf in BSP over all the kits. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts index 730fdd85d731f..f20e022937567 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts @@ -241,7 +241,7 @@ linux,cma { sound { compatible = "fsl,imx-audio-tlv320aic32x4"; - model = "tq-tlv320aic32x"; + model = "tqm-tlv320aic32"; audio-asrc = <&easrc>; audio-cpu = <&sai3>; audio-codec = <&tlv320aic3x04>; From patchwork Mon Jan 20 13:25:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13945121 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 CE2AB1E32B9 for ; Mon, 20 Jan 2025 13:25:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379534; cv=none; b=XfrNgD5/h33dN1EAPX80rkTafBntlogtpU9tUfzcAOT3MSVc4JrgqqvkatzXAA0KCGFHi+9SSi7/aj7w12S1dV8xVdSHqXCDFutFYW5jC1k9sRCdzpwoXkIQAr56DYIyWmsqjuPn0jRNR3L0nLwt1fGdr8H7P2nAK0NbmZ4XNKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737379534; c=relaxed/simple; bh=CDoJCZYfXtvsOYlJjgOQo3X29b6AM6JhGYKu2siHjsY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=g1am7FF5frgiLo7/Y0rhA33GUkocKVdh+SSi5C5vuRh/BxeDSdplICqyVN2kMO3Ap8lnMzUzmuR/F4k0ZL+305VaMhwpdHJKAkvOQwmNwyS4HksuZb/HCqg1/Fh7A6bTJgmh43Oxwj40IXaIZmIZvazNgqy1KhoXTCEV3RfmKSA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=W/4ver2D; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=lrDuZYiG reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="W/4ver2D"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="lrDuZYiG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1737379533; x=1768915533; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mRcssIy0D3wBhtQcXILEIWDG0AtdDcnDWd1hDsno3wA=; b=W/4ver2DcFh3+G1s1ZsuvQw0pt9b5SrlJZ604AD2sVfJ58bc8SAPA+6Z B5wFZzRNHU7SveO+OlS0l0x6jbhh5+Uj3XjgaQ2XDEF0M4RnmLycAQaw8 FuCN7e8bIKC344YKJ5b8HsJbSanCh9Mhd/SEbfxcAufiL5KQnVrmAuRZo b65lQjYqmXR7Ishxy+e3/J2uCZtdsWy6uHUMEBqtCJWhYA9EPxQacOb39 Uvi/PaSr1JYjG4Ejl8Oe7CbhHezc9sF/GgSG6h4f3M5xWEkMSgDy1X/mX bryzRNy3zGCBY+q2Uo+78DfzX0zjeOSrZA2V6oOeGq5bDU+Ljy3KqQrEt w==; X-CSE-ConnectionGUID: iTqurQXYSkyRWVle7byU4w== X-CSE-MsgGUID: WwKgWIhZTQu0ioHIIgfXMw== X-IronPort-AV: E=Sophos;i="6.13,219,1732575600"; d="scan'208";a="41177850" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 20 Jan 2025 14:25:32 +0100 X-CheckPoint: {678E4ECC-11-9B2B6168-EB6F31C5} X-MAIL-CPID: DC5E2AAD34FE55F2E840A13270981609_5 X-Control-Analysis: str=0001.0A682F15.678E4ECC.003B,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4FAAC16F538; Mon, 20 Jan 2025 14:25:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1737379527; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mRcssIy0D3wBhtQcXILEIWDG0AtdDcnDWd1hDsno3wA=; b=lrDuZYiGY7PNHdU/Y0+ppDaxqp3+Z0x36gCZF1AOMNwkxQfeMqTJSLnCxSgnYYPCI3trWq kU3phdcTfxZPsVLczcKpWcpJ/nf7eCgGdxhHKXzAzS8vV9cmZpveD7UscTD9zgxogGf0Rm camcUTANG6OynMqUbtsYHNBBR/4M9Z1c1soSilnxM7uav1WVcYREVreKKT4CA0OF/jYG2I qyDtXfEkSznvGSrDms8Y6gvOdZvkAf9rQLKrzGuQcsKjLU4oJYvzBI3/eU6UYhX6S8LHhG G5oLQ/pJ4hK+xGB42yflhx8NQbPao5jQQERE0zMzXC0tgL8Bf0ToMAyWPCJ1iA== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH 5/5] arm64: dts: mba8mx: change sound card model name Date: Mon, 20 Jan 2025 14:25:02 +0100 Message-Id: <20250120132503.556547-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> References: <20250120132503.556547-1-alexander.stein@ew.tq-group.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 From: Markus Niebel The card name for ALSA is generated from the model name string and is limited to 16 characters. Use a shorter name to prevent cutting the name. Since nearly all starter kit mainboards for i.MX based SoM by TQ-Systems use the same codec with the same routing on board it is a good idea to use the same mode name for the sound card. This allows sharing a default asound.conf in BSP over all the kits. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- arch/arm64/boot/dts/freescale/mba8mx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dts/freescale/mba8mx.dtsi index 124a2544826c9..0931f680e6875 100644 --- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi +++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi @@ -158,7 +158,7 @@ reg_vcc_5v0: regulator-5v0 { sound: sound { compatible = "fsl,imx-audio-tlv320aic32x4"; - model = "imx-audio-tlv320aic32x4"; + model = "tqm-tlv320aic32"; ssi-controller = <&sai3>; audio-codec = <&tlv320aic3x04>; };