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: 13945122 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 3DE98C02181 for ; Mon, 20 Jan 2025 13:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=SeUU/CcKteCzk5JgAiW0vYeJCZs4uk8xMONzg4FEjlk=; b=ps4r7dMAVLunN92UbF9RWKMmKI benB1wB4rrooLNAYzhtOFru7kT0KPy/9l5Mt6ypkkMhvVel5HnPMwFoEvq2+YID0I4UbpEpxHSMVJ mQ1zLDdzZiQ3MiZcN/KlzNC04E+/dSTqNUbittbrkrc4W3sue8k2au5CxPKZNE6lngvGyg6mCu75T P7eXjIB3HLNsxXNr0dKw8cGp3H32eW2CUDfg9iHIays4AXNLdjwQzvV56GEoRzkaUBp9Piht60/7K pXU2FrwMQybtDV++GeK+CSjsna1+n7WkCLsmOtC8ATylUlEPqOk5d2AnjMg+fJ1SeeI6omoguEba4 G+WE5k+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tZrnX-00000005f6C-0dGU; Mon, 20 Jan 2025 13:26:35 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tZrmG-00000005enX-1HS7 for linux-arm-kernel@lists.infradead.org; Mon, 20 Jan 2025 13:25:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1737379516; x=1768915516; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SeUU/CcKteCzk5JgAiW0vYeJCZs4uk8xMONzg4FEjlk=; b=gjvP8hG88afd4gnZWA6/9lBbI+UQ0ac8tNU0WYZHncvNqCRdUW82c9eS 2VYijdJeRAZ6XhZ6lzlB/5q4OBRHqxbeS47q9l8eUdTFx00irDtVhLgvy XPIyFNouHkanDLPmCRVkhuBJLWVNgQ+93dzfyhgsh0OtxQOiMh7kQhpk9 ijcdkyrFbZ3S/56mTWxcBNi4R/FUL9mIC+F/mvgOr6HaSMTn6JEwZ84bE NFGRIw76oAa/dHAX/Unib64PafS71Jy3m49LbsTzfiEyJV0aDgT448cMZ tYpuuxPg7M3SmxUlP5FbzK9i3sxpQtIysgZCMtkjA2cY4vDJI9WWReEaD 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 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250120_052516_503346_AFD7B6AE X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13945123 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E521BC02181 for ; Mon, 20 Jan 2025 13:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=62kg7EpBQjINxHjvuuwUC/l4ka3K2AOXJOa+OBonMKw=; b=HIEhASRI9/PSWDEYx1Z/zTM23q bJWYdD6QyQ9GI8Wfiwkg2/jI6F3GY20qeYJWMbmvXArZi6fmzVmM9jzxlCz/iticNEuRATGvpoP// UztEPTDhWZ1NDueU1S/03B4PIBAmaS6O01SdQIgYdx1ioaY4g+Y9VVgyhHtv94KA+ET94AoHMdZ+V 24fZ8B4kyuRckm6E0/bejlqWoty3Q4ePMq7M312chL0ossDgwm68+nFu85o/pph83GZVV/rWziqFm xzYllTxoGRt94GXgVIGHcG5zaxM7lGjxcsTY37rvnGFylWqLAD9uYDonTILIuNsZrXsfyA3ysi50Y q8sCJQRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tZrol-00000005fKB-3LQ9; Mon, 20 Jan 2025 13:27:51 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tZrmH-00000005enx-40Sv for linux-arm-kernel@lists.infradead.org; Mon, 20 Jan 2025 13:25:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1737379518; x=1768915518; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=62kg7EpBQjINxHjvuuwUC/l4ka3K2AOXJOa+OBonMKw=; b=ZkAAcf9hUyCrBgsJH/A4aGRcLR6gF5T1Ck6YYeeNqyjLjW+ztcXpYGeb RVafIAdtUqYOt8mEINE3h8lQNnyXmnct4et1KEForgwQIpYg35BtZaa+d uQ1eGzATUcmJyCWBqqM+VH6zRkOgFogehjSSES0dfMoTSKYkq3/A92zho zoQdGRAjibxNfkec/igN4Yw6idl0/zeE2JJzzwZn3sDJmfTmd2mxM2Xh0 I7ehhQqk1CFxtM03yGMSUsT8Ey2sBEQmPARnO4mFdIXjy9aRrPtFCz5kz 2Bkg7xQ4hvwv+7+KqKtxBB4arRj+OjNwXez0axoWcGqn2L/FREll2Moo5 w==; 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> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250120_052518_300575_8129DD3F X-CRM114-Status: GOOD ( 12.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13945124 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C08A4C02181 for ; Mon, 20 Jan 2025 13:29:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=78hFLxJMZ5BSxXaEi6N8mTluP6Y4p1HUHn9cC/6qaBc=; b=ko4hkj/3hkvF7C2yO2jlj3ybKS yCH6dFcMDJGepVvciNNXVEGOoL1CVODtXVrzmRP5/NPVxAJjCByJyk4emlExCX0lu6G6szWNSGaqG LnTonllmNoraDBhGRu4UhayZru/QdA9biPBXt3aOePkJxlH9bibS0+XLQbFtLQdQabf2QGIV//jDQ aklFXFFHGnkVQDkg68Byr5DziaVKGS1xAjdia8xHFS29dqe3KJ+GHL/RBpaunfdEs7z9CDzUe8pHj liMlzR9XxJkThADUKuB0yWnDhFm3RtpIGmxTG5Oqa5VmvjI/vEeJw0YVC8H42mLGYcMFFJxYIE4JW CFi6/1OA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tZrq1-00000005fXS-21PP; Mon, 20 Jan 2025 13:29:09 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tZrmN-00000005eob-1fK6 for linux-arm-kernel@lists.infradead.org; Mon, 20 Jan 2025 13:25:24 +0000 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> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250120_052523_735825_037D84C2 X-CRM114-Status: GOOD ( 13.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13945127 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 38691C02181 for ; Mon, 20 Jan 2025 13:30:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2c29wNKlu5vUAR2wt/xuZ3JMluICUzbKrNycz1Ea4Sc=; b=kZxrkqyf9E2ZWpYPti8w5bpdjI R+E283o5Y0IL3b8Fo/orQb91AN/a5kzk/ogCIBTXjz2SX8K8LkxutEaVrN9S40/DTNo7m3miDrJ7M Z+2HrnZHPOnEJx5C5QuOWMoP/gymarDYSjzD+wDYUJ6ZWL0CLT+yg7OI8IOMILAFtEUFbCPu9u2fV /nlNRJSLJZsHDVDE8YzUevw5uPDQCU2UqDf1/Xisei9JSRl1hDw9sTtLc6R7YHjce83+p58b3x23o UbblEgLAuYv6PreK74vlZKKZZFTl3dVv7d2J+GMkO2x9srcfQPkmreMSNQ2XzQ/Td3jyCn4wGzXp1 3vA5nefg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tZrrG-00000005fhX-0Ojl; Mon, 20 Jan 2025 13:30:26 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tZrmR-00000005eob-287A for linux-arm-kernel@lists.infradead.org; Mon, 20 Jan 2025 13:25:29 +0000 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> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250120_052527_854068_1D40AE49 X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13945128 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E9F78C02181 for ; Mon, 20 Jan 2025 13:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mRcssIy0D3wBhtQcXILEIWDG0AtdDcnDWd1hDsno3wA=; b=P7Zv8Zrh8cpnYqaklvgTltwnmO JYnhgEWbnW5aBI8cf54yG1Is0ZVb2OpH8PQIAaHaV/AYG95GpXwmuO90/gEX4VhsZjtoopZeCg3Il DXdRVgCQwsVR0AsG//TUcbfpayPo66ULP37i7URoWS7+l1U89KBbgjuhGSAI8dsXnd4tZMWoVIoEe dvAoYtuKiX6Kepf48vVgGgidfOQ0AcOkcdSnx2kf+TEqR2LYJ5doNUxlmp9kQGtkZynu/ZXbfEIdZ lRTGWbT9m0wyZ+Amw3zRG9NuDQxlFqJJr7P4fjBE1ClpUn24N7Nii6xsF3F9ud0cpqo54SF7pdtxD UQEqUdBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tZrsV-00000005ft8-3K8C; Mon, 20 Jan 2025 13:31:43 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tZrmW-00000005eob-3uFE for linux-arm-kernel@lists.infradead.org; Mon, 20 Jan 2025 13:25:34 +0000 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> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250120_052533_285226_7C531CC6 X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>; };