mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support
@ 2026-06-02 10:05 Baojun Xu
  2026-06-02 10:05 ` [PATCH v2 2/2] ASoC: tas2781: " Baojun Xu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Baojun Xu @ 2026-06-02 10:05 UTC (permalink / raw)
  To: broonie, tiwai
  Cc: andriy.shevchenko, 13916275206, shenghao-ding, baojun.xu,
	linux-sound, linux-kernel, lgirdwood, robh, krzk+dt, conor+dt,
	devicetree, k-yi, henry.lo, robinchen, will-wang, jim.shil,
	toastcheng, chinkaiting, riyo, a0393308

The TAS2573 belongs to the TAS257x device family, featuring an integrated
DSP and IV sensing capability.

Signed-off-by: Baojun Xu <baojun.xu@ti.com>
---
v2:
 - No update.
---
 Documentation/devicetree/bindings/sound/ti,tas2781.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
index b21466bb0730..aa5a317b5a36 100644
--- a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
+++ b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
@@ -71,6 +71,9 @@ properties:
       ti,tas2572: 6.6-W Digital Input smart amp with I/V sense and integrated
       13-V Class-H Boost
 
+      ti,tas2573: Boosted Class-D Audio Amplifier with Integrated DSP and IV
+      Sense
+
       ti,tas2574: 8.5-W Digital Input smart amp with I/V sense and integrated
       15-V Class-H Boost
 
@@ -121,6 +124,7 @@ properties:
               - ti,tas2568
               - ti,tas2570
               - ti,tas2572
+              - ti,tas2573
               - ti,tas2574
               - ti,tas5802
               - ti,tas5806m
@@ -183,6 +187,7 @@ allOf:
           contains:
             enum:
               - ti,tas2563
+              - ti,tas2573
               - ti,tas5825
     then:
       properties:
-- 
2.25.1


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

* [PATCH v2 2/2] ASoC: tas2781: Add TAS2573 support
  2026-06-02 10:05 [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support Baojun Xu
@ 2026-06-02 10:05 ` Baojun Xu
  2026-06-08  8:07 ` [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: " Krzysztof Kozlowski
  2026-06-08 18:01 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Baojun Xu @ 2026-06-02 10:05 UTC (permalink / raw)
  To: broonie, tiwai
  Cc: andriy.shevchenko, 13916275206, shenghao-ding, baojun.xu,
	linux-sound, linux-kernel, lgirdwood, robh, krzk+dt, conor+dt,
	devicetree, k-yi, henry.lo, robinchen, will-wang, jim.shil,
	toastcheng, chinkaiting, riyo, a0393308

The TAS2573 belongs to the TAS257x device family, featuring an integrated
DSP and IV sensing capability.

Signed-off-by: Baojun Xu <baojun.xu@ti.com>
---
v2:
 - Skip TAS2573 calibration; assign calibration kcontrol to TAS2563 and
   TAS2781
---
 include/sound/tas2781.h        | 1 +
 sound/soc/codecs/tas2781-i2c.c | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/include/sound/tas2781.h b/include/sound/tas2781.h
index 95296bb4a33a..d45f805b5d18 100644
--- a/include/sound/tas2781.h
+++ b/include/sound/tas2781.h
@@ -120,6 +120,7 @@ enum audio_device {
 	TAS2568,
 	TAS2570,
 	TAS2572,
+	TAS2573,
 	TAS2574,
 	TAS2781,
 	TAS5802,
diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c
index 620ed4ef577d..9e6f0ad5f05d 100644
--- a/sound/soc/codecs/tas2781-i2c.c
+++ b/sound/soc/codecs/tas2781-i2c.c
@@ -108,6 +108,7 @@ static const struct i2c_device_id tasdevice_id[] = {
 	{ .name = "tas2568", .driver_data = TAS2568 },
 	{ .name = "tas2570", .driver_data = TAS2570 },
 	{ .name = "tas2572", .driver_data = TAS2572 },
+	{ .name = "tas2573", .driver_data = TAS2573 },
 	{ .name = "tas2574", .driver_data = TAS2574 },
 	{ .name = "tas2781", .driver_data = TAS2781 },
 	{ .name = "tas5802", .driver_data = TAS5802 },
@@ -132,6 +133,7 @@ static const struct of_device_id tasdevice_of_match[] = {
 	{ .compatible = "ti,tas2568", .data = &tasdevice_id[TAS2568] },
 	{ .compatible = "ti,tas2570", .data = &tasdevice_id[TAS2570] },
 	{ .compatible = "ti,tas2572", .data = &tasdevice_id[TAS2572] },
+	{ .compatible = "ti,tas2573", .data = &tasdevice_id[TAS2573] },
 	{ .compatible = "ti,tas2574", .data = &tasdevice_id[TAS2574] },
 	{ .compatible = "ti,tas2781", .data = &tasdevice_id[TAS2781] },
 	{ .compatible = "ti,tas5802", .data = &tasdevice_id[TAS5802] },
@@ -1683,7 +1685,7 @@ static void tasdevice_fw_ready(const struct firmware *fmw,
 	tas_priv->fw_state = TASDEVICE_DSP_FW_ALL_OK;
 
 	/* There is no calibration required for TAS58XX. */
-	if (tas_priv->chip_id < TAS5802) {
+	if (tas_priv->chip_id == TAS2563 || tas_priv->chip_id == TAS2781) {
 		ret = tasdevice_create_cali_ctrls(tas_priv);
 		if (ret) {
 			dev_err(tas_priv->dev, "cali controls error\n");
@@ -1736,6 +1738,7 @@ static void tasdevice_fw_ready(const struct firmware *fmw,
 	if (tas_priv->fw_state == TASDEVICE_RCA_FW_OK) {
 		switch (tas_priv->chip_id) {
 		case TAS2563:
+		case TAS2573:
 		case TAS2781:
 		case TAS5802:
 		case TAS5806M:
@@ -1900,6 +1903,7 @@ static int tasdevice_codec_probe(struct snd_soc_component *codec)
 	case TAS2568:
 	case TAS2570:
 	case TAS2572:
+	case TAS2573:
 	case TAS2574:
 		p = (struct snd_kcontrol_new *)tas2x20_snd_controls;
 		size = ARRAY_SIZE(tas2x20_snd_controls);
@@ -2094,6 +2098,7 @@ static const struct acpi_device_id tasdevice_acpi_match[] = {
 	{ "TXNW2568", (kernel_ulong_t)&tasdevice_id[TAS2568] },
 	{ "TXNW2570", (kernel_ulong_t)&tasdevice_id[TAS2570] },
 	{ "TXNW2572", (kernel_ulong_t)&tasdevice_id[TAS2572] },
+	{ "TXNW2573", (kernel_ulong_t)&tasdevice_id[TAS2573] },
 	{ "TXNW2574", (kernel_ulong_t)&tasdevice_id[TAS2574] },
 	{ "TXNW2781", (kernel_ulong_t)&tasdevice_id[TAS2781] },
 	{ "TXNW5802", (kernel_ulong_t)&tasdevice_id[TAS5802] },
-- 
2.25.1


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

* Re: [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support
  2026-06-02 10:05 [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support Baojun Xu
  2026-06-02 10:05 ` [PATCH v2 2/2] ASoC: tas2781: " Baojun Xu
@ 2026-06-08  8:07 ` Krzysztof Kozlowski
  2026-06-08 18:01 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-08  8:07 UTC (permalink / raw)
  To: Baojun Xu
  Cc: broonie, tiwai, andriy.shevchenko, 13916275206, shenghao-ding,
	linux-sound, linux-kernel, lgirdwood, robh, krzk+dt, conor+dt,
	devicetree, k-yi, henry.lo, robinchen, will-wang, jim.shil,
	toastcheng, chinkaiting, riyo, a0393308

On Tue, Jun 02, 2026 at 06:05:31PM +0800, Baojun Xu wrote:
> The TAS2573 belongs to the TAS257x device family, featuring an integrated
> DSP and IV sensing capability.
> 
> Signed-off-by: Baojun Xu <baojun.xu@ti.com>
> ---
> v2:
>  - No update.
> ---
>  Documentation/devicetree/bindings/sound/ti,tas2781.yaml | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


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

* Re: [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support
  2026-06-02 10:05 [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support Baojun Xu
  2026-06-02 10:05 ` [PATCH v2 2/2] ASoC: tas2781: " Baojun Xu
  2026-06-08  8:07 ` [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: " Krzysztof Kozlowski
@ 2026-06-08 18:01 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2026-06-08 18:01 UTC (permalink / raw)
  To: tiwai, Baojun Xu
  Cc: andriy.shevchenko, 13916275206, shenghao-ding, linux-sound,
	linux-kernel, lgirdwood, robh, krzk+dt, conor+dt, devicetree,
	k-yi, henry.lo, robinchen, will-wang, jim.shil, toastcheng,
	chinkaiting, riyo, a0393308

On Tue, 02 Jun 2026 18:05:31 +0800, Baojun Xu wrote:
> ASoC: dt-bindings: ti,tas2781: Add TAS2573 support

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.2

Thanks!

[1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support
      https://git.kernel.org/broonie/sound/c/a0cecbfc1545
[2/2] ASoC: tas2781: Add TAS2573 support
      https://git.kernel.org/broonie/sound/c/06ff6ffec2f7

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2026-06-09  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-02 10:05 [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: Add TAS2573 support Baojun Xu
2026-06-02 10:05 ` [PATCH v2 2/2] ASoC: tas2781: " Baojun Xu
2026-06-08  8:07 ` [PATCH v2 1/2] ASoC: dt-bindings: ti,tas2781: " Krzysztof Kozlowski
2026-06-08 18:01 ` Mark Brown

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

all inboxes | Powered by JetHome®