Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37868702rwd; Tue, 11 Jul 2023 22:43:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlGpYEMeZIP+L/tGS44GMYpErbt73GIYWb71adX5BEvDgoUELMM6EeklPxbNGrWIjNEeJIFE X-Received: by 2002:a17:90b:705:b0:256:1700:5ec9 with SMTP id s5-20020a17090b070500b0025617005ec9mr13591036pjz.31.1689140601790; Tue, 11 Jul 2023 22:43:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689140601; cv=none; d=google.com; s=arc-20160816; b=J+G5aKw48p8kZ1wN8/8y3jTS7EpeM9sg1jZXkFJ4NGqz91bS1iKYdbh9AUt0E3ZGsY 7+wsq7EUVP7GzlXw7o2czm/VyUjUoNnn1hxOde0vLkcegdKUwqV3ra32aLtkSelumqjl kmF5HFjspTHIuj+YMTcu3XLVohKIfJUwAs1Xvu8WYuYrTs3FjVx0r1vygxPjEVQ/PuL2 TGm58XYNwGyvPPk8oHqT1PMqsy6Nu1/NUB98MD9uVpUX8mvEh49Rth9AMkPmnxMOAEwY Y06H5wBEcpuEB1EmXG8Zru/2mL65nDyhAI+EtjTFRJeDglV0yLILGerxkxAj2imNN2r0 ASjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=AK4eb7KoL8ndmCPLluj+EXz7PDkhjxyHzXKMz5A/aGE=; fh=9Ah3VWWRrXvan+MCAwIg2P/AR9mpE1NW6lXcJ0oUF18=; b=HWjt/ewoIF4rdw49cBk6sBlx9h+JcynFICVkpd52GCW5S+y9Xiv8MMMGXxU8VEVoAI Rm1f6oJan+G81147q59+g0kCFlCUWsFh3sQJYH4wTvapK75wyM9cKEyzNsOdydjjmnqN XJuxiGjVDtMypZqDUn1QzB2eTbw8WlAap6uI3q+zAKiMYfeQyaAr4b5iTtf8z8/NU2gn 85JAqAtAEd+pZYitjXia9nmjnZXPxyxyK3kwNfWZXnJ743FFZ1V6UM0k6cXaI7n6Ele4 cemXh2+Ai7QUr+j+T4sXTSQyO/LI5EJfNpeRioj7VD1F0kwSvKbT+x2+7IbWgg4kKFbf 1yVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LNTsca7L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ce24-20020a17090aff1800b0025c1ff9cd67si2736081pjb.184.2023.07.11.22.43.08; Tue, 11 Jul 2023 22:43:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LNTsca7L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbjGLF0C (ORCPT + 99 others); Wed, 12 Jul 2023 01:26:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjGLF0B (ORCPT ); Wed, 12 Jul 2023 01:26:01 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D44F4E74 for ; Tue, 11 Jul 2023 22:25:59 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b6f97c7115so100654311fa.2 for ; Tue, 11 Jul 2023 22:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689139558; x=1691731558; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AK4eb7KoL8ndmCPLluj+EXz7PDkhjxyHzXKMz5A/aGE=; b=LNTsca7LfYc7UmuC05LHt7V+LYFMGnX7TjiIjqBrGFlds42YrhoVki5mAffAjYjga+ mjnwnc5Uwuf2zAtW/7Las4tscJg6LZSDxa49UnP5UUeQ7eNq8gPlC2TWiGD0sZCcPNoo E0eo1+bF97Qf8uGYolSBxZVPSV97+9KGPEboAlFQ/9tc2aGCaGj9IgYqmhQphJGox23c 5V2d0Q270czKJpZhg1UEbWsO84+8gRLAoQKB+cU0aEIonhrqEJJC33fbK5LbkPhc9Q3i Lg+mPl2eirurAYV9cs6fErGzsuFz89sL5p5S2BoP5KlzIWMEUaAwjnjxUFgyznRK/Gj5 5Gbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689139558; x=1691731558; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AK4eb7KoL8ndmCPLluj+EXz7PDkhjxyHzXKMz5A/aGE=; b=iXiv5SyIiitAd1LbUf/tBGngIGMJliSPPIGmXIuhHbEGJYLYC3d494TIgynsiJuXkn uVwurmP6SkvjpzEJJMWCS+Vo1SZpyAYvYspXPmNjKs92hS0FwVIQxUkDtSbJSRSR7FRB +b58l3rc2Muy+UWuf3T93cKhAQl3CjVA4JYXuqMR0FdPaInFBcYAWQhigy9VI0zGL+sF t0RIn/77o7UqqMCNIG1tbZuaFy40OQ3/Fgph3Ip4fJvUp1xtmGsYXL3IfYduB7K89XtQ XPhWG6xgDeOzF1JaKTEm0V84w02svWiC2R1+PHhvReRy8qlOgcznVLUVBtz+8Wzu97rV Tetw== X-Gm-Message-State: ABy/qLYjm6JQL4p1oJHi4d3DgbbKi3UesZqoKWrbA6PXT+0U4gFC82GM +VsgQxYv9eIF+gALrvRbxUuDdg== X-Received: by 2002:a05:651c:112:b0:2b7:3b73:2589 with SMTP id a18-20020a05651c011200b002b73b732589mr400249ljb.32.1689139557117; Tue, 11 Jul 2023 22:25:57 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id u17-20020a170906069100b00985bdb7dd5fsm1986826ejb.201.2023.07.11.22.25.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jul 2023 22:25:56 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2023 07:25:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v1] ASoC: dt-bindings: Add tas2505 audio amplifier To: Kevin Lu , broonie@kernel.org, lgirdwood@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, tiwai@suse.com Cc: kevin-lu@ti.com, shenghao-ding@ti.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230712044006.48456-1-luminlong@139.com> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20230712044006.48456-1-luminlong@139.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/07/2023 06:40, Kevin Lu wrote: > Create tas2505.yaml for tas2505. > > Signed-off-by: Kevin Lu > --- > .../devicetree/bindings/sound/tas2505.yaml | 72 +++++++++++++++++++ > 1 file changed, 72 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/tas2505.yaml Filename like compatible. > > diff --git a/Documentation/devicetree/bindings/sound/tas2505.yaml b/Documentation/devicetree/bindings/sound/tas2505.yaml > new file mode 100644 > index 0000000..6cc3fe4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/tas2505.yaml > @@ -0,0 +1,72 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (C) 2019 Texas Instruments Incorporated > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/sound/tas2505.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" Drop quotes > + > +title: Texas Instruments TAS2505 Mono Audio Amplifier > + > +maintainers: > + - Kevin Lu > + > +description: | > + The TAS2505 is a mono Class-D speaker amp that supports both Digital > + and Analog inputs. The device is ideal for automotive instrument cluster, > + emergency call (eCall), and telematics applications. Direct I2S input > + removes the need for an external DAC in the audio signal path. > + An on-chip PLL provides the high speed clock needed by the DSP. > + The volume level is register controlled. > + > + Specifications about the audio amplifier can be found at: > + https://www.ti.com/lit/gpn/tas2505 > + > +allOf: > + - $ref: dai-common.yaml# > + > +properties: > + compatible: > + enum: > + - ti,tas2505 Why are you adding duplicated binding? > + > + reg: > + maxItems: 1 > + description: | > + I2C address of the device can be set to 0x18.> + > + reset-gpios: > + maxItems: 1 > + description: GPIO used to reset the device. Drop description, it's obvious. > + > + clock-source: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: Sets TDM clock sourse. source, but anyway that is not the way to set clocks. Use "clocks" property for your future bindings. > + enum: > + - 0 # Select MLCK > + - 1 # Select BLCK > + > + '#sound-dai-cells': > + # The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward > + # compatibility but is deprecated. This is the first submission so there is no "deprecated" or "backwards compatibility". Best regards, Krzysztof