Skip to contentSkip to conversation

ASoC: tas2781: Correct the wrong description and register address on tas2781

PATCH In review Baojun Xu 3 participants 3 messages Sep 20, 2025 – Sep 22, 2025

Subsystems (3)
lore
Share & tools
lore

Baojun Xu

author
#0 lore raw

PATCH 1/1 ASoC: tas2781: Correct the wrong description and register address on tas2781

Correct the wrong description for TAS257X. Combined TAS5825 with TAS2563, as they use the same register address and number.
Correct the register address and number for TAS5827.

Fixes 7095d688de38 ("ASoC: tas2781: Add tas2118, tas2x20, tas5825 support")
---
 .../devicetree/bindings/sound/ti,tas2781.yaml | 20 +++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
Documentation/devicetree/bindings/sound/ti,tas2781.yaml +10 -10
index 011211112be4..bd00afa47d62 100644
@@ -11,11 +11,13 @@ maintainers:
   - Shenghao Ding <[email protected]>
 
 description: |
-  The TAS2118/TAS2X20/TAS257x is mono, digital input Class-D audio
+  The TAS2118/TAS2X20 is mono, digital input Class-D audio
   amplifier optimized for efficiently driving high peak power into
   small loudspeakers.
-  Integrated speaker voltage and current sense provides for
-  real time monitoring of loudspeaker behavior.
+  The TAS257x is mono, digital input Class-D audio amplifier optimized
+  for efficiently driving high peak power into small loudspeakers.
+  Integrated speaker voltage and current sense provides for real time
+  monitoring of loudspeaker behavior.
   The TAS2563/TAS2781 is a mono, digital input Class-D audio
   amplifier optimized for efficiently driving high peak power into
   small loudspeakers. An integrated on-chip DSP supports Texas
@@ -25,9 +27,7 @@ description: |
   The TAS5825/TAS5827 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
-  integrated speaker voltage and current sense provides for real time
-  monitoring of loudspeaker behavior.
+  Instruments Smart Amp speaker protection algorithm.
 
   Specifications about the audio amplifier can be found at:
     https://www.ti.com/lit/gpn/tas2120
@@ -131,6 +131,7 @@ allOf:
           contains:
             enum:
               - ti,tas2563
+              - ti,tas5825
     then:
       properties:
         reg:
@@ -181,15 +182,14 @@ allOf:
         compatible:
           contains:
             enum:
-              - ti,tas5825
               - ti,tas5827
     then:
       properties:
         reg:
-          maxItems: 4
+          maxItems: 6
           items:
-            minimum: 0x4c
-            maximum: 0x4f
+            minimum: 0x60
+            maximum: 0x65
 
 additionalProperties: false
 
Signature · 1 line
2.43.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Baojun Xu

Correct the wrong description for TAS257X. Combined TAS5825 with TAS2563, as they use the same register address and number.
Correct the register address and number for TAS5827.

This depends on commits in Takashi's tree so it needs to go via there:

#2 lore raw
Quoted 9 lines · Mark Brown
Quoted 3 lines · Baojun Xu

Correct the wrong description for TAS257X. Combined TAS5825 with TAS2563, as they use the same register address and number.
Correct the register address and number for TAS5827.

This depends on commits in Takashi's tree so it needs to go via there:

OK, applied now to for-next branch.

thanks,

Takashi