Message ID | 20231212050831.982-1-shenghao-ding@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp7519267vqy; Mon, 11 Dec 2023 21:09:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+L2lCqwzcbEf3nim7mNMI6O+UJ0OaxGqHj4zv23CPvH+kuyP+C/2pMznlu0+meXnjlLg4 X-Received: by 2002:a05:6830:6b87:b0:6d9:decb:98e3 with SMTP id dd7-20020a0568306b8700b006d9decb98e3mr5306744otb.26.1702357789574; Mon, 11 Dec 2023 21:09:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702357789; cv=none; d=google.com; s=arc-20160816; b=ftoYIHK3PbzTuIG8N9HMeMT0ZYiLyH7z30PNv74fkN/KH71cPIi5L9wPViprNdkO53 PQYVWEZxYu0B42rBwvmYCtZ5jX/ao+lxMH/LtADFNDfAxUJMlXrNEYwxp/O/Hsds/yaN HUYSN+rTVAE7DVouValFEPOx9NvyuscMdrXlkhTzaXio8x982Rp3sJcwc+nvFvso5/DI i97fHSwHBr8zgfA5nQncdKyKNHI1B2mJ41gI8VLxJufPOuqpEjs7sYcdgIM4R/TuYdv7 ibUcprrsyr/dicLvchudHsO1Hkz4w9gn36gwzoYHJYi5aKJtqJqGIAg6jvBK69N3tgL6 fbhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yELq1Mi9FQc6Zi7zKHsjrTGWfdpBsQA4h2JwbNMN7Ak=; fh=Dph2JDrC3852JWmWLWFswdR+Wf1OdGFfTHdnVB/jS9w=; b=o9fTmk7la1Wx0xKukT+TgODN13aw+2Z4kNgKyJC2F3qNS3loznF0BW5rL+ZABWRO/T n8KCTP2Rh2naus9AGK8Gj+dWWa8cGZI31jDpBEj0tz7W0t0H8KfWh4NPmyExwM1zoGyC oJMvQ9+5NMUzlyu4m97ZRKqE7RrWOldmpViIF3EeuU1ssvY6+ZX2bkRmYqbzoYCf7Mu4 Kyy6LZoY3c+PLdknm21p6ggMLNctwpiWYQoVoA8JPp/3BCLQgHfRZtFVXKKaIhrT+3GB PWlmrGHUIJ8SdeXHEupslSlxwt/xule/VXgjVV0q2CtYkIh3ZpuDXVw9/uE2oDCKybiL ffDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="QJ4jwys/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l2-20020a056a00140200b006cc01c90d31si7192671pfu.312.2023.12.11.21.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 21:09:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="QJ4jwys/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 464D080AB1CD; Mon, 11 Dec 2023 21:09:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229536AbjLLFJi (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Tue, 12 Dec 2023 00:09:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbjLLFJg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Dec 2023 00:09:36 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1178FCF; Mon, 11 Dec 2023 21:09:41 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BC58fjn084073; Mon, 11 Dec 2023 23:08:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702357721; bh=yELq1Mi9FQc6Zi7zKHsjrTGWfdpBsQA4h2JwbNMN7Ak=; h=From:To:CC:Subject:Date; b=QJ4jwys/ycHYS5UY2u+BPcf4kI/GcrgXUGoRz2X92XFJtG8jZiNDFk4rjStGPdOwg FEmKmbRhWQddgyU09fUg+iZ+6Mu8Rhl/RJan7WW4BjDTLdjsAYN+1GrE+xWwA3WYFo bYpWtQPrrD+UoG57DrmJhafbI6LMV7RWcvRwDjTg= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BC58fPc023283 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 11 Dec 2023 23:08:41 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 11 Dec 2023 23:08:41 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 11 Dec 2023 23:08:41 -0600 Received: from LT5CG31242FY.dhcp.ti.com (lt5cg31242fy.dhcp.ti.com [10.85.8.120]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BC58Zhl003698; Mon, 11 Dec 2023 23:08:36 -0600 From: Shenghao Ding <shenghao-ding@ti.com> To: <broonie@kernel.org>, <conor+dt@kernel.org>, <krzysztof.kozlowski@linaro.org> CC: <robh+dt@kernel.org>, <andriy.shevchenko@linux.intel.com>, <devicetree@vger.kernel.org>, <lgirdwood@gmail.com>, <perex@perex.cz>, <pierre-louis.bossart@linux.intel.com>, <13916275206@139.com>, <linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <liam.r.girdwood@intel.com>, <soyer@irl.hu>, <tiwai@suse.de>, <peeyush@ti.com>, <navada@ti.com>, Shenghao Ding <shenghao-ding@ti.com> Subject: [PATCH v1] ASoC: tas2562: remove tas2563 into driver Date: Tue, 12 Dec 2023 13:08:31 +0800 Message-ID: <20231212050831.982-1-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 11 Dec 2023 21:09:48 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785051521388592210 X-GMAIL-MSGID: 1785051521388592210 |
Series |
[v1] ASoC: tas2562: remove tas2563 into driver
|
|
Commit Message
Ding, Shenghao
Dec. 12, 2023, 5:08 a.m. UTC
Remove tas2563 from tas2562, it will be supported in separated driver code.
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
---
sound/soc/codecs/tas2562.c | 3 ---
1 file changed, 3 deletions(-)
Comments
On 12/12/2023 06:08, Shenghao Ding wrote: > Remove tas2563 from tas2562, it will be supported in separated driver code. > Why? I was not aware that you duplicate tas2563 in your other patch, so that part need explanation. This part as well - why do we want to remove its support from the Linux? What about users? After applying this code they don't have support for their device! Best regards, Krzysztof
> -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: Tuesday, December 12, 2023 4:23 PM > To: Ding, Shenghao <shenghao-ding@ti.com>; broonie@kernel.org; > conor+dt@kernel.org > Cc: robh+dt@kernel.org; andriy.shevchenko@linux.intel.com; > devicetree@vger.kernel.org; lgirdwood@gmail.com; perex@perex.cz; pierre- > louis.bossart@linux.intel.com; 13916275206@139.com; linux- > sound@vger.kernel.org; linux-kernel@vger.kernel.org; > liam.r.girdwood@intel.com; soyer@irl.hu; tiwai@suse.de; Gupta, Peeyush > <peeyush@ti.com>; Navada Kanyana, Mukund <navada@ti.com> > Subject: [EXTERNAL] Re: [PATCH v1] ASoC: tas2562: remove tas2563 into driver > > On 12/12/2023 06:08, Shenghao Ding wrote: > > Remove tas2563 from tas2562, it will be supported in separated driver code. > > > > Why? I was not aware that you duplicate tas2563 in your other patch, so that > part need explanation. This part as well - why do we want to remove its > support from the Linux? What about users? After applying this code they don't > have support for their device! We plan to add tas2563 into tas2781, current driver can't support dsp mode, only a bypass mode. > > Best regards, > Krzysztof
On Tue, Dec 12, 2023 at 01:08:31PM +0800, Shenghao Ding wrote:
> Remove tas2563 from tas2562, it will be supported in separated driver code.
It would be better to do this as part of adding the new, split out
support - otherwise users might get a release which temporarily drops
the support.
On Tue, Dec 12, 2023 at 01:08:31PM +0800, Shenghao Ding wrote:
> Remove tas2563 from tas2562, it will be supported in separated driver code.
No objection from the code perspective. The Q is, what is the behaviour of the
current users? Imagine we have a used of this chip and this driver gets it
enumerated. Does it work? if so, this patch can not be applied right now.
Otherwise the commit message above is missing an elaboration of the case.
diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c index 962c2cdfa017..54561ae598b8 100644 --- a/sound/soc/codecs/tas2562.c +++ b/sound/soc/codecs/tas2562.c @@ -59,7 +59,6 @@ struct tas2562_data { enum tas256x_model { TAS2562, - TAS2563, TAS2564, TAS2110, }; @@ -721,7 +720,6 @@ static int tas2562_parse_dt(struct tas2562_data *tas2562) static const struct i2c_device_id tas2562_id[] = { { "tas2562", TAS2562 }, - { "tas2563", TAS2563 }, { "tas2564", TAS2564 }, { "tas2110", TAS2110 }, { } @@ -770,7 +768,6 @@ static int tas2562_probe(struct i2c_client *client) #ifdef CONFIG_OF static const struct of_device_id tas2562_of_match[] = { { .compatible = "ti,tas2562", }, - { .compatible = "ti,tas2563", }, { .compatible = "ti,tas2564", }, { .compatible = "ti,tas2110", }, { },