lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251114073358.23046-2-baojun.xu@ti.com>
Date: Fri, 14 Nov 2025 15:33:58 +0800
From: Baojun Xu <baojun.xu@...com>
To: <broonie@...nel.org>, <tiwai@...e.de>
CC: <andriy.shevchenko@...ux.intel.com>, <13916275206@....com>,
	<shenghao-ding@...com>, <baojun.xu@...com>, <linux-sound@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>, <lgirdwood@...il.com>, <robh@...nel.org>,
	<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <devicetree@...r.kernel.org>,
	<k-yi@...com>, <henry.lo@...com>, <robinchen@...com>, <will-wang@...com>,
	<jim.shil@...rtek.com>, <toastcheng@...gle.com>, <chinkaiting@...gle.com>
Subject: [PATCH v2 2/2] ASoC: dt-bindings: ti,tas2781: Add TAS2568/2574/5806M/5806MD/5830 support

TAS5806M, TAS5806MD and TAS5830 is in same family with TAS58XX.
TAS2568, TAS2574 is in family with TAS257X.

Signed-off-by: Baojun Xu <baojun.xu@...com>

---
v2:
 - Add TAS2574 support.
 - Re-organize the patch, put compatible in front.
 - Combined some chips as the reg setting is same (0x48-0x4b).
---
 .../devicetree/bindings/sound/ti,tas2781.yaml | 103 ++++++++++++------
 1 file changed, 69 insertions(+), 34 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
index f0bb5faf55c8..224999ed6529 100644
--- a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
+++ b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
@@ -34,15 +34,61 @@ description: |
     https://www.ti.com/lit/gpn/tas2320
     https://www.ti.com/lit/gpn/tas2563
     https://www.ti.com/lit/gpn/tas2572
+    https://www.ti.com/lit/gpn/tas2574
     https://www.ti.com/lit/gpn/tas2781
+    https://www.ti.com/lit/gpn/tas5806m
+    https://www.ti.com/lit/gpn/tas5806md
     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
+    https://www.ti.com/lit/gpn/tas5830
 
 properties:
   compatible:
+    oneOf:
+      - enum:
+          - ti,tas2020
+          - ti,tas2118
+          - ti,tas2120
+          - ti,tas2320
+          - ti,tas2563
+          - ti,tas2568
+          - ti,tas2570
+          - ti,tas2572
+          - ti,tas2574
+          - ti,tas2781
+          - ti,tas5802
+          - ti,tas5806m
+          - ti,tas5806md
+          - ti,tas5815
+          - ti,tas5822
+          - ti,tas5825
+          - ti,tas5827
+          - ti,tas5828
+          - ti,tas5830
+      - items:
+          - enum:
+              - ti,tas2020
+              - ti,tas2118
+              - ti,tas2120
+              - ti,tas2320
+              - ti,tas2563
+              - ti,tas2568
+              - ti,tas2570
+              - ti,tas2572
+              - ti,tas5802
+              - ti,tas5806m
+              - ti,tas5806md
+              - ti,tas5815
+              - ti,tas5822
+              - ti,tas5825
+              - ti,tas5827
+              - ti,tas5828
+              - ti,tas5830
+          - const: ti,tas2781
+
     description: |
       ti,tas2020: 3.2-W Mono Digital Input Class-D Speaker Amp with 5.5V PVDD
       Support.
@@ -58,12 +104,18 @@ properties:
       ti,tas2563: 6.1-W Boosted Class-D Audio Amplifier With Integrated
       DSP and IV Sense, 16/20/24/32bit stereo I2S or multichannel TDM.
 
+      ti,tas2568: 5.3-W Digital Input Smart Amp with I/V Sense and Integrated
+      10.75-V Class-H Boost
+
       ti,tas2570: 5.8-W Digital Input smart amp with I/V sense and integrated
       11-V Class-H Boost
 
       ti,tas2572: 6.6-W Digital Input smart amp with I/V sense and integrated
       13-V Class-H Boost
 
+      ti,tas2574: 8.5-W Digital Input smart amp with I/V sense and integrated
+      15-V Class-H Boost
+
       ti,tas2781: 24-V Class-D Amplifier with Real Time Integrated Speaker
       Protection and Audio Processing, 16/20/24/32bit stereo I2S or
       multichannel TDM.
@@ -72,6 +124,14 @@ properties:
       Audio Amplifier with 96-Khz Extended Processing and Low Idle Power
       Dissipation.
 
+      ti,tas5806m: 23-W, Inductor-Less, Digital Input, Stereo, Closed-Loop
+      Class-D Audio Amplifier with Enhanced Processing and Low Power
+      Dissipation.
+
+      ti,tas5806md: 23-W, Inductor-Less, Digital Input, Stereo, Closed-Loop
+      Class-D Audio Amplifier with Enhanced Processing and DirectPath(TM)
+      HP Driver
+
       ti,tas5815: 30-W, Digital Input, Stereo, Closed-loop Class-D Audio
       Amplifier with 96 kHz Enhanced Processing
 
@@ -86,26 +146,9 @@ properties:
 
       ti,tas5828: 50-W Stereo, Digital Input, High Efficiency Closed-Loop
       Class-D Amplifier with Hybrid-Pro Algorithm
-    oneOf:
-      - items:
-          - enum:
-              - ti,tas2020
-              - ti,tas2118
-              - ti,tas2120
-              - ti,tas2320
-              - ti,tas2563
-              - ti,tas2570
-              - ti,tas2572
-              - ti,tas5802
-              - ti,tas5815
-              - ti,tas5822
-              - ti,tas5825
-              - ti,tas5827
-              - ti,tas5828
-          - const: ti,tas2781
-      - enum:
-          - ti,tas2781
 
+      ti,tas5830: 65-W Stereo, Digital Input, High Efficiency Closed-Loop
+      Class-D Amplifier with Class-H Algorithm
   reg:
     description:
       I2C address, in multiple-AMP case, all the i2c address
@@ -137,6 +180,10 @@ allOf:
               - ti,tas2118
               - ti,tas2120
               - ti,tas2320
+              - ti,tas2568
+              - ti,tas2570
+              - ti,tas2572
+              - ti,tas2574
     then:
       properties:
         reg:
@@ -164,21 +211,6 @@ allOf:
             minimum: 0x4c
             maximum: 0x4f
 
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - ti,tas2570
-              - ti,tas2572
-    then:
-      properties:
-        reg:
-          maxItems: 4
-          items:
-            minimum: 0x48
-            maximum: 0x4b
-
   - if:
       properties:
         compatible:
@@ -217,6 +249,8 @@ allOf:
         compatible:
           contains:
             enum:
+              - ti,tas5806m
+              - ti,tas5806md
               - ti,tas5822
     then:
       properties:
@@ -233,6 +267,7 @@ allOf:
             enum:
               - ti,tas5827
               - ti,tas5828
+              - ti,tas5830
     then:
       properties:
         reg:
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ