From patchwork Sun Dec 10 23:47:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 176407 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp6748300vqy; Sun, 10 Dec 2023 15:58:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaw0TqJVvjDtpvmNAFSvLIdiC69XdlJXwg7cEMnYeucg9noflOBFL/TFpN6P0ryGtZ3h/B X-Received: by 2002:a05:6808:14c9:b0:3b8:b063:6ba5 with SMTP id f9-20020a05680814c900b003b8b0636ba5mr4826203oiw.84.1702252704730; Sun, 10 Dec 2023 15:58:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702252704; cv=none; d=google.com; s=arc-20160816; b=S5Gk2YDtt3JCVkWxfB4zLeeZTD+6WURPaAF5O3SG0mdyqq3OCDbS0cs6QO53nv0CyQ kxSkURPUjG7nBPz1C/D2jVEFJ9mHKDjE/+l6SWPv5D7hVynLxp2JMgXwqpxxJWnFzGY1 /x/Y9Yy6jzxQjX9jpDl72Dmlm9DfhDrc20Rci1h8mINs8Z70GqyNcWdIYNV5MrizwRge blPFJ4jYh4gq3baA6Qd+JgXu76NZwZulIroln/ZSERPxU3AqWhDwzQ2C6wbPbL2TShWe l3MKRRlJc/oI2kZhBDCMK8ZQ6Fz5rQ9g1q+TZGaUXpWqDbq/yFUefY8plrLh232dAHnD om+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tqVowNCu+gkbra0kKTIBn0rJWUwWawWCh6sjB2aRuug=; fh=Dph2JDrC3852JWmWLWFswdR+Wf1OdGFfTHdnVB/jS9w=; b=UIO29mVzkCidIKmhD49Mpg8rCLUtlYgWNdSVquYaBDeF+4KSMiedO/X/sTWQH91ab+ 9QrWRdcC8zxd5JqdDdKAiVD6uI5cHnAqJ32eIHELv4YhXR7zyTqtu32DYsARFGvW5IBN RWvJcGN/IYyvliw9weiyLT7Aywg26MLfYE/kS1Edvc3C1/TrHOf91VYE196OO0l1QXR+ S79Oef79vekGbFOdsR4k6OXC+iVZcBVuAiBfOHbrvIqOiwPrw/f7yjSRljtMl5YeMbhR y9ImJVJbffzNmDUnRX5DE/uo3XOBXliCIchvkx6USjtkBommlaRyVZCdcEFY6gJaLvny 1skg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SLVhScEU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id gv1-20020a17090b11c100b00286cd18da88si6512117pjb.137.2023.12.10.15.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 15:58:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SLVhScEU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id EDBF98057E2B; Sun, 10 Dec 2023 15:58:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229564AbjLJXta (ORCPT + 99 others); Sun, 10 Dec 2023 18:49:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbjLJXt1 (ORCPT ); Sun, 10 Dec 2023 18:49:27 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5523AE7; Sun, 10 Dec 2023 15:49:33 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BANmILC117035; Sun, 10 Dec 2023 17:48:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702252098; bh=tqVowNCu+gkbra0kKTIBn0rJWUwWawWCh6sjB2aRuug=; h=From:To:CC:Subject:Date; b=SLVhScEU0stjXmFxhm+n8t1noEhS9mHOX3Qt94i2LI6ecjBoZ5pl2KgzXZQS2fk2H GvHcWUsPERcSa6WP3Jgb7xpDECeRlBYlvUwsK4plMxRFM5KdzaHGS+YjPJpeFZ+tVu 7m+DSW693ZMz3C26hyLrEGLK4TC+II+t8xlBf+uM= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BANmI2M016287 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 10 Dec 2023 17:48:18 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 10 Dec 2023 17:48:17 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sun, 10 Dec 2023 17:48:18 -0600 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.64.203]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BANm4Cd015683; Sun, 10 Dec 2023 17:48:06 -0600 From: Shenghao Ding To: , , CC: , , , , , , <13916275206@139.com>, , , , , , , , Shenghao Ding Subject: [PATCH v2] ASoC: dt-bindings: Add tas2563 into yaml Date: Mon, 11 Dec 2023 07:47:58 +0800 Message-ID: <20231210234759.1095-1-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 10 Dec 2023 15:58:22 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784941331746098049 X-GMAIL-MSGID: 1784941331746098049 Support tas2563. Signed-off-by: Shenghao Ding --- Change in v2: - Add devicetree list and other list of necessary people and lists to CC - Express Compatibility in the bindings - Drop driver changes --- .../devicetree/bindings/sound/ti,tas2781.yaml | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml index a69e6c223308..c049fe6b2dad 100644 --- a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml +++ b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml @@ -5,17 +5,17 @@ $id: http://devicetree.org/schemas/sound/ti,tas2781.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Texas Instruments TAS2781 SmartAMP +title: Texas Instruments TAS2781/TAS2563 SmartAMP maintainers: - Shenghao Ding description: - The 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 Instruments - Smart Amp speaker protection algorithm. The integrated speaker - voltage and current sense provides for real time + The TAS2781/TAS2563 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 + Instruments Smart Amp speaker protection algorithm. The + integrated speaker voltage and current sense provides for real time monitoring of loudspeaker behavior. allOf: @@ -23,18 +23,28 @@ allOf: properties: compatible: + description: | + 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. + + 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. enum: - ti,tas2781 + - ti,tas2563 reg: description: - I2C address, in multiple tas2781s case, all the i2c address + I2C address, in multiple AMP case, all the i2c address aggregate as one Audio Device to support multiple audio slots. + - For tas2781, i2c address is from 0x38 to 0x3f. + - For tas2563, i2c address is from 0x4e to 0x4f. maxItems: 8 minItems: 1 items: minimum: 0x38 - maximum: 0x3f + maximum: 0x4f reset-gpios: maxItems: 1