From patchwork Sat Dec 9 08:07:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 176141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5935533vqy; Sat, 9 Dec 2023 00:09:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqDiv6jUOLYdkeEAuEZcJoppcTNLxhF5TzTBzz3NBqous28W7Ee3anUxMPTENPlly/HhZ1 X-Received: by 2002:a05:6a20:7fa0:b0:190:28d1:8e0b with SMTP id d32-20020a056a207fa000b0019028d18e0bmr1930989pzj.35.1702109395016; Sat, 09 Dec 2023 00:09:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702109395; cv=none; d=google.com; s=arc-20160816; b=aTPjSDxPApyyaby6xD0JEUY/K9wiyZaUMEJZLs1q1dsq6nzvBdN6gaGiJYm6JBk8Ng LobB7zI8Vp2YMmr0v/GX1SCjZVrln7/arZ4pIi1Q/YF4ANvPxDJ5XavUw+l0QtQkjxEI mkLoqU8Fc2ZOza03rjI4PcRb797Bk1MlSRMjns3vXp6RifNocdoj9w94SO5gYlTTu4Ux CVlnnlyYrLKUgLW1pNIM/rms5DIaAI2WRAMImg9idneN0VuW2Dby2+glD1nlMK6zOm1W 58GnjKT6YAqrT/v35oStOW7Xjuw8veYrzr7JoY4vf7wuFVyYustU7DXYpz2aCqHlybZY LDzg== 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=hSoa1Xa6h5DjuKFNUbPa5kCZbIfeIeP1yJrAtIlqyGY=; fh=pZ23y0ItwgH8rYHkMak3ucq+glh8YLYpmfWE4VeFSlg=; b=aFEsCa4B81KHvLNH7Az9H/muHLHgZ92fyGTcdUR4rsgQ+YxoWqHAKc51iNjiJlbNNn o4e4Ty4r9KVxS9sPixnLGAAxehQxZt9Ek3Gx2UxWpOVFabt+AMo48tpJUOXMD+2DJx6y DK5Fzr9urHzvt7fjyHZLPnIgvD52AP6cUTGR1WJ/u9PW5ga3amo/oSJsIaiAG7ENoNuK RcfQnp9zlcOeCeh8hIQ06XmgY/BsKPyqyjFhUQG1jPwzsqknlh5bFg0uojQBRtrYn0vz w2tLiHZ8ED3nB3guq9q3zJNV1EvUQ8BDIv7gLTwME1LrXFJxN0/lpf/gayWenG8HvRpg famQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tcjlbp1R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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. [23.128.96.36]) by mx.google.com with ESMTPS id bv129-20020a632e87000000b0056a36ac322fsi2662312pgb.514.2023.12.09.00.09.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 00:09:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tcjlbp1R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 AECA1831506B; Sat, 9 Dec 2023 00:09:51 -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 S234379AbjLIIJ1 (ORCPT + 99 others); Sat, 9 Dec 2023 03:09:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234413AbjLIIJC (ORCPT ); Sat, 9 Dec 2023 03:09:02 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E539611D for ; Sat, 9 Dec 2023 00:09:07 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B987qUf054868; Sat, 9 Dec 2023 02:07:52 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702109272; bh=hSoa1Xa6h5DjuKFNUbPa5kCZbIfeIeP1yJrAtIlqyGY=; h=From:To:CC:Subject:Date; b=tcjlbp1RpzKtbkSZIh/Gp723skrVAWwDJf3+0BaCHrQO+wELb1nPLUU9EaiJjdtsX HtmAj7CKJgu9XbPUzA5bytgqvQmIHRn3HREj7UON7deFbTVQtnToco5HkUeyxLXnrx HI2iEHd5YoOGnRMMrFrq3AxzR6/V2e6z0Cz1sduI= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B987qoV110420 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 9 Dec 2023 02:07:52 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 9 Dec 2023 02:07:52 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE102.ent.ti.com (10.64.6.23) 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; Sat, 9 Dec 2023 02:07:52 -0600 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.163.83]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B987lHD122124; Sat, 9 Dec 2023 02:07:48 -0600 From: Shenghao Ding To: CC: , , , , , , <13916275206@139.com>, , , , , , Shenghao Ding Subject: [PATCH v1 1/3] ASoC: tas2781: Add tas2563 into header file Date: Sat, 9 Dec 2023 16:07:40 +0800 Message-ID: <20231209080742.1290-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]); Sat, 09 Dec 2023 00:09:51 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784791061034533775 X-GMAIL-MSGID: 1784791061034533775 Support tas2563 Signed-off-by: Shenghao Ding --- include/sound/tas2781.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/sound/tas2781.h b/include/sound/tas2781.h index a6c808b22318..45be543110ac 100644 --- a/include/sound/tas2781.h +++ b/include/sound/tas2781.h @@ -1,13 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0 */ // -// ALSA SoC Texas Instruments TAS2781 Audio Smart Amplifier +// ALSA SoC Texas Instruments TAS2781/TAS2563 Audio Smart Amplifier // // Copyright (C) 2022 - 2023 Texas Instruments Incorporated // https://www.ti.com // -// The TAS2781 driver implements a flexible and configurable +// The TAS2781/TAS2563 driver implements a flexible and configurable // algo coefficient setting for one, two, or even multiple -// TAS2781 chips. +// TAS2781/TAS2563 chips. // // Author: Shenghao Ding // Author: Kevin Lu @@ -60,6 +60,7 @@ enum audio_device { TAS2781 = 0, + TAS2563 }; enum device_catlog_id { From patchwork Sat Dec 9 08:07:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 176149 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5944102vqy; Sat, 9 Dec 2023 00:37:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiSv3ASSK5stvWkL1SyJy8WcWunBCVMYyJIRiN01bPDm9yeSyNQuTDyP4KKRjVS6g7MBJo X-Received: by 2002:a05:6870:7014:b0:1fb:75a:77a4 with SMTP id u20-20020a056870701400b001fb075a77a4mr1604092oae.85.1702111028722; Sat, 09 Dec 2023 00:37:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702111028; cv=none; d=google.com; s=arc-20160816; b=Hj/VK7zuRCcavqXGh7FsgjAiP6M5DrSgk6DHQF+rNM510OxM+PsfxdDm6uPm3Ovuz3 svlGkOCtCTsW5aUYbC1+/L//eVaWOw58/7O+Zir2nzYxqNEBHG0lq7UKBpi6UCUgLnpk 6L+/JaGt+TusOUQ94JtQFVJ3jFDe4TaETTaWd03q9UvOGiFxqAJfM2/BvWbrhQxQKK7O HNjMLtgGGD83OEOreG9aGcGYF9VHy0ojIbV6rUNEjr1BKqEY07uQJKUsQsTbgIY0h/AA BvZJwRUFUCgsp1W65bNhAsndTAM2h7uUqUiiz3fAkpcAQQEToJgMIxeIk3q7jR6uQX/O FtlQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S53+t2ZMBhz3JwJ5YrVSIeTq3esCnFxAEKW5KaIaz0A=; fh=pZ23y0ItwgH8rYHkMak3ucq+glh8YLYpmfWE4VeFSlg=; b=aBT+rQbfy+4ETqF2sIvXZ+d3zPVc7Sd34ixZ0xNrYXVz2QD/6HPoSab8Yo8c24BQNo sAk9N07jeW3wuplyyRZDDnvjEEBcCRYCn+A3e9A+s7TmT4qZJrC3v2Mpk0p7FGt+U5yy IH5M6E2feZHrTsBTPYh3emFCgtz9Sot05aSg0xfMrYPp/lkWm0rbPd2ayXZbwsM53l0J FAl/+qyUYF1QgwthrqUOrNOsia5Q/EUXoLANR33w2uUBfAG87ezsledv9RDplCoxHRB4 OQEjFYqQ1RkG6ozkqzIZw/Vjc8ZA74acuDM3yjS4wMVKLag6X1o2Rh6xypiv95EUDw+9 S/8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rH0+qt0M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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. [23.128.96.36]) by mx.google.com with ESMTPS id v14-20020a17090a6b0e00b0027ffcd44adasi2918204pjj.133.2023.12.09.00.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 00:37:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rH0+qt0M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 BCF5282DDF83; Sat, 9 Dec 2023 00:37:03 -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 S229846AbjLIIgv (ORCPT + 99 others); Sat, 9 Dec 2023 03:36:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234417AbjLIIJD (ORCPT ); Sat, 9 Dec 2023 03:09:03 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4D1EFA for ; Sat, 9 Dec 2023 00:09:07 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B987vPK031288; Sat, 9 Dec 2023 02:07:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702109277; bh=S53+t2ZMBhz3JwJ5YrVSIeTq3esCnFxAEKW5KaIaz0A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rH0+qt0MR0lsKU8BVLb1cIkC05D6L/gAcOlXA/iHB0h4/7ojV7PgXdckMg9K2/A6F +gdzkR8eU8K+rhkPr7YHbYysfH18nAz4SBmyMOM2mSo55CSGHyROW63LUlKvYrUjR/ gXcUIYkPBKJHC4csV4lJEs0vul6dCxLJh1+PxsnU= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B987vuT018993 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 9 Dec 2023 02:07:57 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 9 Dec 2023 02:07:57 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE104.ent.ti.com (157.170.170.34) 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; Sat, 9 Dec 2023 02:07:57 -0600 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.163.83]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B987lHE122124; Sat, 9 Dec 2023 02:07:53 -0600 From: Shenghao Ding To: CC: , , , , , , <13916275206@139.com>, , , , , , Shenghao Ding Subject: [PATCH v1 2/3] ASoC: tas2781: Add tas2563 into driver Date: Sat, 9 Dec 2023 16:07:41 +0800 Message-ID: <20231209080742.1290-2-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20231209080742.1290-1-shenghao-ding@ti.com> References: <20231209080742.1290-1-shenghao-ding@ti.com> 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]); Sat, 09 Dec 2023 00:37:04 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784792773898078100 X-GMAIL-MSGID: 1784792773898078100 Support tas2563. Signed-off-by: Shenghao Ding --- sound/soc/codecs/tas2781-i2c.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c index 55cd5e3c23a5..c6afc87f2c69 100644 --- a/sound/soc/codecs/tas2781-i2c.c +++ b/sound/soc/codecs/tas2781-i2c.c @@ -5,9 +5,9 @@ // Copyright (C) 2022 - 2023 Texas Instruments Incorporated // https://www.ti.com // -// The TAS2781 driver implements a flexible and configurable +// The TAS2781/TAS2563 driver implements a flexible and configurable // algo coefficient setting for one, two, or even multiple -// TAS2781 chips. +// TAS2781/TAS2563 chips. // // Author: Shenghao Ding // Author: Kevin Lu @@ -33,6 +33,7 @@ static const struct i2c_device_id tasdevice_id[] = { { "tas2781", TAS2781 }, + { "tas2563", TAS2563 }, {} }; MODULE_DEVICE_TABLE(i2c, tasdevice_id); @@ -40,6 +41,7 @@ MODULE_DEVICE_TABLE(i2c, tasdevice_id); #ifdef CONFIG_OF static const struct of_device_id tasdevice_of_match[] = { { .compatible = "ti,tas2781" }, + { .compatible = "ti,tas2563" }, {}, }; MODULE_DEVICE_TABLE(of, tasdevice_of_match); From patchwork Sat Dec 9 08:07:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 176140 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5935440vqy; Sat, 9 Dec 2023 00:09:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGlq9T67b/O2Vr6AkRsf6jCedzigeROAm4BtYNvWRdekdA4cXKj/pxQEknk9W6hOTtgJJ/ X-Received: by 2002:a05:6a20:6a1f:b0:190:4b34:577d with SMTP id p31-20020a056a206a1f00b001904b34577dmr1852908pzk.88.1702109379726; Sat, 09 Dec 2023 00:09:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702109379; cv=none; d=google.com; s=arc-20160816; b=l8ogiir9xyM1EQF4rNx5qlPd4CLzueRj1DmKNG53xQ53UJxAcwoxKrdueTL002lFE5 zGm5QSCtfPg0rDz1qn7LBi259rSvBEzv46uXvVsCpcobVHaqQGgij2vMF+z0xn5Tngly fh66LwI6LU1IQZwl0xYH9YzjH93JzeM6vU3KKsFIkJS2Y2G9mOcszUpCUyTLmMmNg7ke 5/1+nmteIjRNGW5NxF0MdI5xDept6QTAGKvfBIqQdaoIOd3Z0rZJJfPaXyd/pgl5hlMo 6n50jGwx6tr5IxS3hh9/6qqf7fsHoGVUReMNY6JGiSMg8tahQ0Ah3Ubb40sqJP5A0OC7 guaA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0A5dgG5e8t8hFbkQsmKr04qZPph+V/aEN1MHzvY6hVo=; fh=pZ23y0ItwgH8rYHkMak3ucq+glh8YLYpmfWE4VeFSlg=; b=I8uUr6BFHx4ZfWX0PdBQ+8j97YB61steuunb9YIucCTpJmbTjkblN7nzxDVXeGHpNl XqlhZ4EQqyBdLwpvRijT8NVzqG36KUX3NLP5ZIR6wZW6VOC3ivVTgMjSGamCDs/jx6ae J3nwOJoJqcJzgMtBZxMjdGQ7VGIBUS+l8Q+DL0itfddDJ8UJGhqn5mzdSMAQtQBt+v+j JhwAmACXg4bwvuMuweuWTWoOBZXwfkHEyrr2TL/DKP4xQBiMr2c78YNo3FSq3PTp3EzU 50wWeKZrIfMuSy3JpxnwEBFtzWq1cQ4hOj9rlf94rquI0ci8FikDKV+lNvtYRIn+RYMa NSrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=g+vN7t84; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l2-20020a170902f68200b001cfd0ddc5absi2881170plg.331.2023.12.09.00.09.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 00:09:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=g+vN7t84; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id DADC0807963D; Sat, 9 Dec 2023 00:09:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229451AbjLIIJX (ORCPT + 99 others); Sat, 9 Dec 2023 03:09:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234416AbjLIIJC (ORCPT ); Sat, 9 Dec 2023 03:09:02 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B397F1 for ; Sat, 9 Dec 2023 00:09:07 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B9882TF054908; Sat, 9 Dec 2023 02:08:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702109282; bh=0A5dgG5e8t8hFbkQsmKr04qZPph+V/aEN1MHzvY6hVo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=g+vN7t846qj5ar33iUK3xG4DCTVpHewbFh+WreOVj0+96UgZuN/xh2pzD9Hy++IJi SNZy0EtiMnxzKMlMCFFMmncwACGZu+FvsMkONh40PZLxVPO/CgT3vw4CZuKwGZzpdj qab+YHefwogK037ppf8Ctp9+nLHTota2DserFPro= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B9882xl019101 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 9 Dec 2023 02:08:02 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 9 Dec 2023 02:08:02 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE102.ent.ti.com (10.64.6.23) 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; Sat, 9 Dec 2023 02:08:02 -0600 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.163.83]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B987lHF122124; Sat, 9 Dec 2023 02:07:58 -0600 From: Shenghao Ding To: CC: , , , , , , <13916275206@139.com>, , , , , , Shenghao Ding Subject: [PATCH v1 3/3] ASoC: dt-bindings: Add tas2563 into yaml Date: Sat, 9 Dec 2023 16:07:42 +0800 Message-ID: <20231209080742.1290-3-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20231209080742.1290-1-shenghao-ding@ti.com> References: <20231209080742.1290-1-shenghao-ding@ti.com> 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 groat.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 (groat.vger.email [0.0.0.0]); Sat, 09 Dec 2023 00:09:37 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784791045177247156 X-GMAIL-MSGID: 1784791045177247156 Support tas2563. Signed-off-by: Shenghao Ding --- .../devicetree/bindings/sound/ti,tas2781.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml index a69e6c223308..84e197e15df4 100644 --- a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml +++ b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml @@ -11,11 +11,11 @@ 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: @@ -25,16 +25,19 @@ properties: compatible: 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