Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1676889rbb; Mon, 26 Feb 2024 18:53:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXbvBgzIdK/R5tm5/l3Kvod9s9732Vd2ysqfg9VohKeW3RXNBAezcq3hRLBcTSXyHRl7LRfM17KZNfz3JSUX3pgBN2lGB+7ZDA4+4YZag== X-Google-Smtp-Source: AGHT+IFh2faolRy7G7g31X6ME3pIOA5qVxiO0j/rvUGv+ysT++oVO+5NknShi/o3YqZlNwMtIsNn X-Received: by 2002:a1f:de43:0:b0:4c7:85f1:146b with SMTP id v64-20020a1fde43000000b004c785f1146bmr5415577vkg.14.1709002395653; Mon, 26 Feb 2024 18:53:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709002395; cv=pass; d=google.com; s=arc-20160816; b=B/bOFaJsdySo+2U7Eoty9u92Ng4YWc/iWvLH9QtZNTDCqpppXI9nHt+CE6xniVUlz+ om4kI9bMyCOruE2tUiT6OithsJeHTH4Sbv08uGf21N9Dd5Db7OwD5aUCj2wJR2x9OkUW /tzkfDRxsq3r42uARvdlSKRIpKVaqpG5k/6Ma3EZXcqOtd2yWhpUgZy6JhWp7Sx+K0Rr 5Rltu5dPz9/bru2S/KqNIwutErKXkjZi+3cDgOpXGlf+0PMy6Yq9Jzhrhy8YUmz9U2Fl lrFt00EdoK7YMLF2Xo9SYddj95+ZI7Vl++IMand7EdNkGv5zODn8F2ARUNXK7OGElv/a Ot6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=gJR9T0Vhs1h4uIV0Y++2+wjoNT7eKO2elGBMd/wxGpU=; fh=4wXPNOqOhhwLkhk2zQ5c8D+YWXKChUIPTRZqt1Q3WI0=; b=j7CUV8jDUL9xlzjMIQEEkmSoE+INs13nO3Me/VqRPu4pEM7AQ8AQQjQpdhvTfhf8Sw UsMzo4GPQryPlb9UEBAGZvccj+T+iQg8qU9+oY6oedPAnPvht5BHdrMqTG+ZTIw6GJEg XV1d5rzbrr35jHe103yM8tN9/55ZBcJjEn4xy+qjL0TLvVD6mOf7NYz5C1VcdQnTQ9gs L2thqNnmnmxhuUQ4YcezI4Q7lnUKy7Z9WYOFcjrH77SP4yAMVKcxKMx1A7gPDEi7vtAC dKCeKY/vnLT6voRBGh86EPKsgD010Hq4x05q9bXpAhhlwunzTrsv6x3WJL0LruidXUWg xeOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DD8kG0bt; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-82629-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c1-20020ad45ae1000000b0068fc839406csi6849619qvh.378.2024.02.26.18.53.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 18:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82629-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DD8kG0bt; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-82629-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 69A891C214A8 for ; Tue, 27 Feb 2024 02:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0DC01B964; Tue, 27 Feb 2024 02:53:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="DD8kG0bt" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 81CEA199B4 for ; Tue, 27 Feb 2024 02:53:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709002390; cv=none; b=WiXyIECzx2nRKkCNYnPS/qZFeE2AIT7gVVkj1026wG/9RnKpGEQzQsVFnEzPDDo477aesRydNp62lNG9bAUbvILzG0KM6Op72xiP2DAixPzVL267lm4Fo26cvJ8HfEwazcv22pNzaDo+r7BXi/QVj9PZDJrvRD2Sx3gz69jjZiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709002390; c=relaxed/simple; bh=hbUZKLUjm+PEoUk6BKzGqAXQH0+r6FQQGT75e88gpNM=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=ek27VTXQe9Hm68h+CIB0rWqcBuvMw5aJ/tnGs4p3XulUxyxH0Nj6naa27ovki8szBdKs6cbfjcqUGJSxso0LeAVxhfRMtL1+7MKk2bCEfS4wzd9f57iUH4ZalqEBT3fPCr+1ORqfmuGTkK0SSbDmdRR8IoWjhFe4GxPLkt9UhLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=DD8kG0bt; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41R2q2QM023240; Mon, 26 Feb 2024 20:52:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1709002322; bh=gJR9T0Vhs1h4uIV0Y++2+wjoNT7eKO2elGBMd/wxGpU=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=DD8kG0btcG1L1hYr72PTbYEAVhJR61Mcrl69yPUS1FxiD76U7UGaN9Bv61/osaNdT ms8hsT6pxY4a8Tv9b6LZwJX+opC00/Y+w8b0mar/mPeQoXHZz2TxSJ6ooA8ZO4KVSL QvTFtwVg5KYvymq4hclI1UBqTWkjGRvnuDqmHiuA= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41R2q2rB114775 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Feb 2024 20:52:02 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 26 Feb 2024 20:52:01 -0600 Received: from DLEE101.ent.ti.com ([fe80::91ee:60bc:bfb7:851c]) by DLEE101.ent.ti.com ([fe80::91ee:60bc:bfb7:851c%18]) with mapi id 15.01.2507.023; Mon, 26 Feb 2024 20:52:01 -0600 From: "Ding, Shenghao" To: Mark Brown CC: Pierre-Louis Bossart , "andriy.shevchenko@linux.intel.com" , "lgirdwood@gmail.com" , "perex@perex.cz" , "13916275206@139.com" <13916275206@139.com>, "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , "liam.r.girdwood@intel.com" , "bard.liao@intel.com" , "mengdong.lin@intel.com" , "yung-chuan.liao@linux.intel.com" , "Xu, Baojun" , "Lu, Kevin" , "tiwai@suse.de" , "soyer@irl.hu" , "Navada Kanyana, Mukund" Subject: RE: [EXTERNAL] Re: [PATCH v9] ASoc: tas2783: Add tas2783 codec driver Thread-Topic: [EXTERNAL] Re: [PATCH v9] ASoc: tas2783: Add tas2783 codec driver Thread-Index: AQHaZWJdzl/3F/uZLk2mYU9psTSIi7EXdCuAgABAqsCAAN4VgIAE745Q Date: Tue, 27 Feb 2024 02:52:00 +0000 Message-ID: <748cc67e04204e3d95de7891cc13ff4d@ti.com> References: <20240222074000.659-1-shenghao-ding@ti.com> <10f53a13-a0ff-40f9-b089-f5baacdb76b6@linux.intel.com> <5c7127256bf54fcd921fc1ec83f3e527@ti.com> In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-exclaimer-md-config: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 > -----Original Message----- > From: Mark Brown > Sent: Saturday, February 24, 2024 1:20 AM > To: Ding, Shenghao > Cc: Pierre-Louis Bossart ; > andriy.shevchenko@linux.intel.com; lgirdwood@gmail.com; perex@perex.cz; > 13916275206@139.com; alsa-devel@alsa-project.org; linux- > kernel@vger.kernel.org; liam.r.girdwood@intel.com; bard.liao@intel.com; > mengdong.lin@intel.com; yung-chuan.liao@linux.intel.com; Xu, Baojun > ; Lu, Kevin ; tiwai@suse.de; > soyer@irl.hu > Subject: Re: [EXTERNAL] Re: [PATCH v9] ASoc: tas2783: Add tas2783 codec > driver >=20 > On Fri, Feb 23, 2024 at 10:12:49AM +0000, Ding, Shenghao wrote: > > Hi Pierre-Louis > > > > > In the SoundWire spec, the unique_id is *LINK SPECIFIC*, and only > > > used at the bus level within the context of a link to help avoid > > > enumeration conflicts >=20 > > > If you are using the unique_id as a SYSTEM-UNIQUE value to lookup > > > EFI data, this is a TI-specific requirement that needs to be document= ed. > > > That also means you need to double-check for errors so make sure > > > there are no board configurations where the same unique_id is used > > > in multiple links, or by devices other than tas2783. >=20 > > This code only covers the tas2783s sitting in the same bus link. As to > > cases of the different SWD links, customer will be required to have > > the secondary development on current code. I'm sure my customers have > much knowledge to handle this. >=20 > As Pierre says I think we really should have some sort of defensive > programming here, even if you're going to leave multi-link systems to fut= ure > work people will still have older versions in distributions or whtaever. = While > I'm not sure the consequences of getting things wrong are likely to be th= at > bad (I'm expecting bad quality audio) it's also going to be kind of hard = to > figure out if we just silently pick the wrong calibration, especially if = it's > actually a valid calibration for another device in the system. Other ven= dors > (eg, Cirrus) seem to have figured out a scheme here? Thanks for your comments, Mark & Pierre. I will discuss with my customers o= n=20 how to find a compromise between new solution and current solution already= =20 released to market.