Unverified Commit 7e6cfa3e authored by Baojun Xu's avatar Baojun Xu Committed by Mark Brown
Browse files

ASoC: tas2781: Update ti,tas2781.yaml for adding tas58xx



Update ti,tas2781.yaml for adding TAS5802/TAS5815/TAS5828.

Signed-off-by: default avatarBaojun Xu <baojun.xu@ti.com>
Link: https://patch.msgid.link/20251002072925.26242-2-baojun.xu@ti.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 53a3c6e2
Loading
Loading
Loading
Loading
+37 −6
Original line number Diff line number Diff line
@@ -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 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 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.

  Specifications about the audio amplifier can be found at:
    https://www.ti.com/lit/gpn/tas2120
@@ -35,8 +35,10 @@ description: |
    https://www.ti.com/lit/gpn/tas2563
    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/tas5825m
    https://www.ti.com/lit/gpn/tas5827
    https://www.ti.com/lit/gpn/tas5828m

properties:
  compatible:
@@ -65,11 +67,21 @@ properties:
      Protection and Audio Processing, 16/20/24/32bit stereo I2S or
      multichannel TDM.

      ti,tas5802: 22-W, Inductor-Less, Digital Input, Closed-Loop Class-D
      Audio Amplifier with 96-Khz Extended Processing and Low Idle Power
      Dissipation.

      ti,tas5815: 30-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.

      ti,tas5827: 47-W Stereo, Digital Input, High Efficiency Closed-Loop Class-D
      Amplifier with Class-H Algorithm
      ti,tas5827: 47-W Stereo, Digital Input, High Efficiency Closed-Loop
      Class-D Amplifier with Class-H Algorithm

      ti,tas5828: 50-W Stereo, Digital Input, High Efficiency Closed-Loop
      Class-D Amplifier with Hybrid-Pro Algorithm
    oneOf:
      - items:
          - enum:
@@ -80,8 +92,11 @@ properties:
              - ti,tas2563
              - ti,tas2570
              - ti,tas2572
              - ti,tas5802
              - ti,tas5815
              - ti,tas5825
              - ti,tas5827
              - ti,tas5828
          - const: ti,tas2781
      - enum:
          - ti,tas2781
@@ -177,12 +192,28 @@ allOf:
            minimum: 0x38
            maximum: 0x3f

  - if:
      properties:
        compatible:
          contains:
            enum:
              - ti,tas5802
              - ti,tas5815
    then:
      properties:
        reg:
          maxItems: 4
          items:
            minimum: 0x54
            maximum: 0x57

  - if:
      properties:
        compatible:
          contains:
            enum:
              - ti,tas5827
              - ti,tas5828
    then:
      properties:
        reg: