Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v1] ASoC: tas2562: remove tas2563 into driver
@ 2023-12-12  5:08 Shenghao Ding
  2023-12-12  8:22 ` Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shenghao Ding @ 2023-12-12  5:08 UTC (permalink / raw)
  To: broonie, conor+dt, krzysztof.kozlowski
  Cc: robh+dt, andriy.shevchenko, devicetree, lgirdwood, perex,
	pierre-louis.bossart, 13916275206, linux-sound, linux-kernel,
	liam.r.girdwood, soyer, tiwai, peeyush, navada, Shenghao Ding

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(-)

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", },
 	{ },
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v1] ASoC: tas2562: remove tas2563 into driver
  2023-12-12  5:08 [PATCH v1] ASoC: tas2562: remove tas2563 into driver Shenghao Ding
@ 2023-12-12  8:22 ` Krzysztof Kozlowski
  2023-12-12  8:25   ` [EXTERNAL] " Ding, Shenghao
  2023-12-12 13:29 ` Mark Brown
  2023-12-13 13:45 ` Andy Shevchenko
  2 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-12  8:22 UTC (permalink / raw)
  To: Shenghao Ding, broonie, conor+dt
  Cc: robh+dt, andriy.shevchenko, devicetree, lgirdwood, perex,
	pierre-louis.bossart, 13916275206, linux-sound, linux-kernel,
	liam.r.girdwood, soyer, tiwai, peeyush, navada

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [EXTERNAL] Re: [PATCH v1] ASoC: tas2562: remove tas2563 into driver
  2023-12-12  8:22 ` Krzysztof Kozlowski
@ 2023-12-12  8:25   ` Ding, Shenghao
  0 siblings, 0 replies; 5+ messages in thread
From: Ding, Shenghao @ 2023-12-12  8:25 UTC (permalink / raw)
  To: Krzysztof Kozlowski, 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, Navada Kanyana, Mukund



> -----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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1] ASoC: tas2562: remove tas2563 into driver
  2023-12-12  5:08 [PATCH v1] ASoC: tas2562: remove tas2563 into driver Shenghao Ding
  2023-12-12  8:22 ` Krzysztof Kozlowski
@ 2023-12-12 13:29 ` Mark Brown
  2023-12-13 13:45 ` Andy Shevchenko
  2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2023-12-12 13:29 UTC (permalink / raw)
  To: Shenghao Ding
  Cc: conor+dt, krzysztof.kozlowski, robh+dt, andriy.shevchenko,
	devicetree, lgirdwood, perex, pierre-louis.bossart, 13916275206,
	linux-sound, linux-kernel, liam.r.girdwood, soyer, tiwai, peeyush,
	navada

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1] ASoC: tas2562: remove tas2563 into driver
  2023-12-12  5:08 [PATCH v1] ASoC: tas2562: remove tas2563 into driver Shenghao Ding
  2023-12-12  8:22 ` Krzysztof Kozlowski
  2023-12-12 13:29 ` Mark Brown
@ 2023-12-13 13:45 ` Andy Shevchenko
  2 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2023-12-13 13:45 UTC (permalink / raw)
  To: Shenghao Ding
  Cc: broonie, conor+dt, krzysztof.kozlowski, robh+dt, devicetree,
	lgirdwood, perex, pierre-louis.bossart, 13916275206, linux-sound,
	linux-kernel, liam.r.girdwood, soyer, tiwai, peeyush, navada

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.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-13 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12  5:08 [PATCH v1] ASoC: tas2562: remove tas2563 into driver Shenghao Ding
2023-12-12  8:22 ` Krzysztof Kozlowski
2023-12-12  8:25   ` [EXTERNAL] " Ding, Shenghao
2023-12-12 13:29 ` Mark Brown
2023-12-13 13:45 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox