Commit 9cf5b8b6 authored by Baojun Xu's avatar Baojun Xu Committed by Takashi Iwai
Browse files

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: 7095d688 ("ASoC: tas2781: Add tas2118, tas2x20, tas5825 support")
Signed-off-by: default avatarBaojun Xu <baojun.xu@ti.com>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b8d8265a
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -11,11 +11,13 @@ maintainers:
  - Shenghao Ding <shenghao-ding@ti.com>

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