Skip to contentSkip to conversation

ASoC: dt-bindings: ti,tas2781: Add TAS5832 support

PATCH Superseded Baojun Xu 3 participants 5 messages Apr 14 – Apr 22

Subsystems (4)
lore
Share & tools
lore

Baojun Xu

author maintainer
#0 lore raw

PATCH v2 1/2 ASoC: dt-bindings: ti,tas2781: Add TAS5832 support

TAS5832 is in same family with TAS5827/28/30.

---
v2:
- No update.

---
 Documentation/devicetree/bindings/sound/ti,tas2781.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/ti,tas2781.yaml +6 -1
index f3a5638f4239..b21466bb0730 100644
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
-# Copyright (C) 2022 - 2025 Texas Instruments Incorporated
+# Copyright (C) 2022 - 2026 Texas Instruments Incorporated
 %YAML 1.2
 ---
 $id: http://devicetree.org/schemas/sound/ti,tas2781.yaml#
@@ -107,6 +107,9 @@ properties:
 
       ti,tas5830: 65-W Stereo, Digital Input, High Efficiency Closed-Loop
       Class-D Amplifier with Class-H Algorithm
+
+      ti,tas5832: 81-W Stereo, Digital Input, High Efficiency Closed-Loop
+      Class-D Amplifier with Class-H Algorithm
     oneOf:
       - items:
           - enum:
@@ -128,6 +131,7 @@ properties:
               - ti,tas5827
               - ti,tas5828
               - ti,tas5830
+              - ti,tas5832
           - const: ti,tas2781
       - enum:
           - ti,tas2781
@@ -264,6 +268,7 @@ allOf:
               - ti,tas5827
               - ti,tas5828
               - ti,tas5830
+              - ti,tas5832
     then:
       properties:
         reg:
Signature · 1 line
2.25.1
author maintainer
#1 lore raw

PATCH v2 2/2 ASoC: tas2781: Add tas5832 support

TAS5832 is in same family with TAS5827/28/30.

---
v2:
- Follow the updated association protocol based on device name and id.

---
 include/sound/tas2781.h        | 1 +
 sound/soc/codecs/tas2781-i2c.c | 5 +++++
 2 files changed, 6 insertions(+)
include/sound/tas2781.h +1 -0
index e847cf51878c..95296bb4a33a 100644
@@ -131,6 +131,7 @@ enum audio_device {
 	TAS5827,
 	TAS5828,
 	TAS5830,
+	TAS5832,
 	TAS_OTHERS,
 };
 
sound/soc/codecs/tas2781-i2c.c +5 -0
index c593f9da0c5b..86b591c489c2 100644
@@ -119,6 +119,7 @@ static const struct i2c_device_id tasdevice_id[] = {
 	{ "tas5827", TAS5827 },
 	{ "tas5828", TAS5828 },
 	{ "tas5830", TAS5830 },
+	{ "tas5832", TAS5832 },
 	{}
 };
 
@@ -143,6 +144,7 @@ static const struct of_device_id tasdevice_of_match[] = {
 	{ .compatible = "ti,tas5827", .data = &tasdevice_id[TAS5827] },
 	{ .compatible = "ti,tas5828", .data = &tasdevice_id[TAS5828] },
 	{ .compatible = "ti,tas5830", .data = &tasdevice_id[TAS5830] },
+	{ .compatible = "ti,tas5832", .data = &tasdevice_id[TAS5832] },
 	{},
 };
 MODULE_DEVICE_TABLE(of, tasdevice_of_match);
@@ -1746,6 +1748,7 @@ static void tasdevice_fw_ready(const struct firmware *fmw,
 		case TAS5827:
 		case TAS5828:
 		case TAS5830:
+		case TAS5832:
 			/* If DSP FW fail, DSP kcontrol won't be created. */
 			tasdevice_dsp_remove(tas_priv);
 		}
@@ -1917,6 +1920,7 @@ static int tasdevice_codec_probe(struct snd_soc_component *codec)
 	case TAS5827:
 	case TAS5828:
 	case TAS5830:
+	case TAS5832:
 		p = (struct snd_kcontrol_new *)tas5825_snd_controls;
 		size = ARRAY_SIZE(tas5825_snd_controls);
 		break;
@@ -2104,6 +2108,7 @@ static const struct acpi_device_id tasdevice_acpi_match[] = {
 	{ "TXNW5827", (kernel_ulong_t)&tasdevice_id[TAS5827] },
 	{ "TXNW5828", (kernel_ulong_t)&tasdevice_id[TAS5828] },
 	{ "TXNW5830", (kernel_ulong_t)&tasdevice_id[TAS5830] },
+	{ "TXNW5832", (kernel_ulong_t)&tasdevice_id[TAS5832] },
 	{},
 };
 
Signature · 1 line
2.25.1
author maintainer
#3 lore raw
Quoted 7 lines

From: Krzysztof Kozlowski <[email protected]>
Sent: 14 April 2026 14:56
To: Xu, Baojun

Quoted 2 lines · Baojun Xu

TAS5832 is in same family with TAS5827/28/30.

Quoted 7 lines
Quoted 5 lines

---
v2:
- No update.
---

So you are going to just ignore review?

This patch was reviewed by Krzysztof Kozlowski <[email protected]>. I has resend the patch with reviewed tag, please ignore this email.

Quoted 5 lines

Best regards,
Krzysztof

Best Regards
Jim

maintainer
#4 lore raw
In reply to Baojun Xu
Quoted 1 line · Baojun Xu

ASoC: dt-bindings: ti,tas2781: Add TAS5832 support

Applied to

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

Thanks!

[1/2] ASoC: dt-bindings: ti,tas2781: Add TAS5832 support

      https://git.kernel.org/broonie/sound/c/6d619f739703
[2/2] ASoC: tas2781: Add tas5832 support
      https://git.kernel.org/broonie/sound/c/1f95fdef685e

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