* [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support
@ 2025-11-04 4:13 Baojun Xu
2025-11-04 4:13 ` [PATCH v1 2/2] ASoC: dt-bindings: ti,tas2781: Add TAS5822 support Baojun Xu
2025-11-05 11:43 ` [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support Mark Brown
0 siblings, 2 replies; 4+ messages in thread
From: Baojun Xu @ 2025-11-04 4:13 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, jesse-ji, will-wang,
jim.shil, toastcheng, chinkaiting
TAS5822 has on-chip DSP without current/voltage feedback.
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
---
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 0fbcdb15c74b..c3b4c43dd2bf 100644
--- a/include/sound/tas2781.h
+++ b/include/sound/tas2781.h
@@ -122,6 +122,7 @@ enum audio_device {
TAS2781,
TAS5802,
TAS5815,
+ TAS5822,
TAS5825,
TAS5827,
TAS5828,
diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c
index ba880b5de7e8..ebc7f4395f2e 100644
--- a/sound/soc/codecs/tas2781-i2c.c
+++ b/sound/soc/codecs/tas2781-i2c.c
@@ -110,6 +110,7 @@ static const struct i2c_device_id tasdevice_id[] = {
{ "tas2781", TAS2781 },
{ "tas5802", TAS5802 },
{ "tas5815", TAS5815 },
+ { "tas5822", TAS5822 },
{ "tas5825", TAS5825 },
{ "tas5827", TAS5827 },
{ "tas5828", TAS5828 },
@@ -129,6 +130,7 @@ static const struct of_device_id tasdevice_of_match[] = {
{ .compatible = "ti,tas2781" },
{ .compatible = "ti,tas5802" },
{ .compatible = "ti,tas5815" },
+ { .compatible = "ti,tas5822" },
{ .compatible = "ti,tas5825" },
{ .compatible = "ti,tas5827" },
{ .compatible = "ti,tas5828" },
@@ -1672,7 +1674,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
- * TAS5802/TAS5815/TAS5825/TAS5827/TAS5828.
+ * TAS5802/TAS5815/TAS5822/TAS5825/TAS5827/TAS5828.
*/
if (tas_priv->chip_id < TAS5802) {
ret = tasdevice_create_cali_ctrls(tas_priv);
@@ -1730,6 +1732,7 @@ static void tasdevice_fw_ready(const struct firmware *fmw,
case TAS2781:
case TAS5802:
case TAS5815:
+ case TAS5822:
case TAS5825:
case TAS5827:
case TAS5828:
@@ -1895,6 +1898,7 @@ static int tasdevice_codec_probe(struct snd_soc_component *codec)
break;
case TAS5802:
case TAS5815:
+ case TAS5822:
case TAS5825:
case TAS5827:
case TAS5828:
@@ -2070,6 +2074,7 @@ static const struct acpi_device_id tasdevice_acpi_match[] = {
{ "TXNW2781", TAS2781 },
{ "TXNW5802", TAS5802 },
{ "TXNW5815", TAS5815 },
+ { "TXNW5822", TAS5822 },
{ "TXNW5825", TAS5825 },
{ "TXNW5827", TAS5827 },
{ "TXNW5828", TAS5828 },
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v1 2/2] ASoC: dt-bindings: ti,tas2781: Add TAS5822 support
2025-11-04 4:13 [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support Baojun Xu
@ 2025-11-04 4:13 ` Baojun Xu
2025-11-04 14:08 ` Krzysztof Kozlowski
2025-11-05 11:43 ` [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support Mark Brown
1 sibling, 1 reply; 4+ messages in thread
From: Baojun Xu @ 2025-11-04 4:13 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, jesse-ji, will-wang,
jim.shil, toastcheng, chinkaiting
TAS5822 is in same family with TAS58XX.
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
---
.../devicetree/bindings/sound/ti,tas2781.yaml | 27 ++++++++++++++++---
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
index 7f84f506013c..f0bb5faf55c8 100644
--- a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
+++ b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
@@ -24,10 +24,10 @@ description: |
Instruments Smart Amp speaker protection algorithm. The
integrated speaker voltage and current sense provides for real time
monitoring of loudspeaker behavior.
- The TAS5802/TAS5815/TAS5825/TAS5827/TAS5828 is a stereo, digital input
- Class-D audio amplifier optimized for efficiently driving high peak
- power into small loudspeakers. An integrated on-chip DSP supports
- Texas Instruments Smart Amp speaker protection algorithm.
+ The TAS5802/TAS5815/TAS5822/TAS5825/TAS5827/TAS5828 is a stereo,
+ digital input Class-D audio amplifier optimized for efficiently driving
+ high peak power into small loudspeakers. An integrated on-chip DSP
+ supports Texas Instruments Smart Amp speaker protection algorithm.
Specifications about the audio amplifier can be found at:
https://www.ti.com/lit/gpn/tas2120
@@ -36,6 +36,7 @@ description: |
https://www.ti.com/lit/gpn/tas2572
https://www.ti.com/lit/gpn/tas2781
https://www.ti.com/lit/gpn/tas5815
+ https://www.ti.com/lit/gpn/tas5822m
https://www.ti.com/lit/gpn/tas5825m
https://www.ti.com/lit/gpn/tas5827
https://www.ti.com/lit/gpn/tas5828m
@@ -74,6 +75,9 @@ properties:
ti,tas5815: 30-W, Digital Input, Stereo, Closed-loop Class-D Audio
Amplifier with 96 kHz Enhanced Processing
+ ti,tas5822: 35-W, Digital Input, Stereo, Closed-Loop Class-D Audio
+ Amplifier with 96 kHz Enhanced Processing
+
ti,tas5825: 38-W Stereo, Inductor-Less, Digital Input, Closed-Loop 4.5V
to 26.4V Class-D Audio Amplifier with 192-kHz Extended Audio Processing.
@@ -94,6 +98,7 @@ properties:
- ti,tas2572
- ti,tas5802
- ti,tas5815
+ - ti,tas5822
- ti,tas5825
- ti,tas5827
- ti,tas5828
@@ -207,6 +212,20 @@ allOf:
minimum: 0x54
maximum: 0x57
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - ti,tas5822
+ then:
+ properties:
+ reg:
+ maxItems: 4
+ items:
+ minimum: 0x2c
+ maximum: 0x2f
+
- if:
properties:
compatible:
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1 2/2] ASoC: dt-bindings: ti,tas2781: Add TAS5822 support
2025-11-04 4:13 ` [PATCH v1 2/2] ASoC: dt-bindings: ti,tas2781: Add TAS5822 support Baojun Xu
@ 2025-11-04 14:08 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-11-04 14:08 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, jesse-ji, will-wang,
jim.shil, toastcheng, chinkaiting
On Tue, Nov 04, 2025 at 12:13:13PM +0800, Baojun Xu wrote:
> TAS5822 is in same family with TAS58XX.
>
> Signed-off-by: Baojun Xu <baojun.xu@ti.com>
> ---
> .../devicetree/bindings/sound/ti,tas2781.yaml | 27 ++++++++++++++++---
> 1 file changed, 23 insertions(+), 4 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support
2025-11-04 4:13 [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support Baojun Xu
2025-11-04 4:13 ` [PATCH v1 2/2] ASoC: dt-bindings: ti,tas2781: Add TAS5822 support Baojun Xu
@ 2025-11-05 11:43 ` Mark Brown
1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2025-11-05 11:43 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, jesse-ji, will-wang, jim.shil,
toastcheng, chinkaiting
On Tue, 04 Nov 2025 12:13:12 +0800, Baojun Xu wrote:
> TAS5822 has on-chip DSP without current/voltage feedback.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] ASoC: tas2781: Add tas5822 support
commit: ecaba8b7990d8c6d8ba097cd4499b3b92d9df6ea
[2/2] ASoC: dt-bindings: ti,tas2781: Add TAS5822 support
commit: c4e68959af66df525d71db619ffe44af9178bb22
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:[~2025-11-05 11:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-04 4:13 [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support Baojun Xu
2025-11-04 4:13 ` [PATCH v1 2/2] ASoC: dt-bindings: ti,tas2781: Add TAS5822 support Baojun Xu
2025-11-04 14:08 ` Krzysztof Kozlowski
2025-11-05 11:43 ` [PATCH v1 1/2] ASoC: tas2781: Add tas5822 support Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox