devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Baojun Xu <baojun.xu@ti.com>
Cc: broonie@kernel.org, tiwai@suse.de,
	andriy.shevchenko@linux.intel.com, 13916275206@139.com,
	alsa-devel@alsa-project.org, shenghao-ding@ti.com,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	lgirdwood@gmail.com, krzk+dt@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, k-yi@ti.com, henry.lo@ti.com,
	robinchen@ti.com, jesse-ji@ti.com, will-wang@ti.com,
	jim.shil@goertek.com, toastcheng@google.com,
	chinkaiting@google.com
Subject: Re: [PATCH v3 2/2] ASoC: tas2781: Update ti,tas2781.yaml for adding tas5815 and tas5828
Date: Mon, 6 Oct 2025 16:23:51 -0500	[thread overview]
Message-ID: <20251006212351.GA602416-robh@kernel.org> (raw)
In-Reply-To: <20250928091514.12349-2-baojun.xu@ti.com>

On Sun, Sep 28, 2025 at 05:15:14PM +0800, Baojun Xu wrote:
> Update ti,tas2781.yaml for adding TAS5815/TAS5828.

That is clear from the diff. Say something about how these chips compare 
to the existing ones.

> 
> Signed-off-by: Baojun Xu <baojun.xu@ti.com>
> 
> ---
> v3:
>  - Rewrite the patch title

'git log --oneline' on the file or subsystem is a hint of what the 
subject should look like. In this case, something like:

ASoC: dt-bindings: ti,tas2781: Add TAS5815 and TAS5828

>  - Add TAS5815 support in yaml file
> v2:
>  - Update description for TAS5828
>  - Change commit tree to .../tiwai/sound.git
> ---
>  .../devicetree/bindings/sound/ti,tas2781.yaml | 27 ++++++++++++++++++-
>  1 file changed, 26 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
> index bd00afa47..192d8c560 100644
> --- a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
> +++ b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml
> @@ -24,7 +24,7 @@ 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
> +  The 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.
> @@ -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,17 @@ properties:
>        Protection and Audio Processing, 16/20/24/32bit stereo I2S or
>        multichannel TDM.
>  
> +      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,tas5828: 50-W Stereo, Digital Input, High Efficiency Closed-Loop Class-D
> +      Amplifier with Hybrid-Pro Algorithm
>      oneOf:
>        - items:
>            - enum:
> @@ -80,8 +88,10 @@ properties:
>                - ti,tas2563
>                - ti,tas2570
>                - ti,tas2572
> +              - ti,tas5815
>                - ti,tas5825
>                - ti,tas5827
> +              - ti,tas5828
>            - const: ti,tas2781
>        - enum:
>            - ti,tas2781
> @@ -177,12 +187,27 @@ allOf:
>              minimum: 0x38
>              maximum: 0x3f
>  
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            enum:
> +              - ti,tas5815
> +    then:
> +      properties:
> +        reg:
> +          maxItems: 4
> +          items:
> +            minimum: 0x54
> +            maximum: 0x57
> +
>    - if:
>        properties:
>          compatible:
>            contains:
>              enum:
>                - ti,tas5827
> +              - ti,tas5828
>      then:
>        properties:
>          reg:
> -- 
> 2.25.1
> 

      reply	other threads:[~2025-10-06 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-28  9:15 [PATCH v3 1/2] ASoC: tas2781: Support two newly-released amplifiers tas5815 and tas5828 in the driver Baojun Xu
2025-09-28  9:15 ` [PATCH v3 2/2] ASoC: tas2781: Update ti,tas2781.yaml for adding tas5815 and tas5828 Baojun Xu
2025-10-06 21:23   ` Rob Herring [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251006212351.GA602416-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=13916275206@139.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=baojun.xu@ti.com \
    --cc=broonie@kernel.org \
    --cc=chinkaiting@google.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=henry.lo@ti.com \
    --cc=jesse-ji@ti.com \
    --cc=jim.shil@goertek.com \
    --cc=k-yi@ti.com \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=robinchen@ti.com \
    --cc=shenghao-ding@ti.com \
    --cc=tiwai@suse.de \
    --cc=toastcheng@google.com \
    --cc=will-wang@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).