From patchwork Thu Dec 21 10:13: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: 182140 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp311232dyi; Thu, 21 Dec 2023 02:19:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYstLiHmCpXOA5WptZAB/94/wjD+DtOyrfWqn1i2s2mBv7lj0UfXkO1cVCrXHkA18f9i3o X-Received: by 2002:a05:6808:1998:b0:3b9:de63:f514 with SMTP id bj24-20020a056808199800b003b9de63f514mr26853889oib.12.1703153988862; Thu, 21 Dec 2023 02:19:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703153988; cv=none; d=google.com; s=arc-20160816; b=zcsz3z8Piz3YlbFBxfTANvUUmqkhY/z6pDQve/7N4p0C2fd0tgqD4ynHwHKJxvAZfN SzUuabGkmhwZSzEibZ9Cvq1e8J0kMzY1fNJm1ZuGNjZ6gSSCMDPEqx3CVDyN5YQDy4WR PsE65lHa9AkRdApzTaqm1E1HILiXYbVOf85uohqHgxe18SDLFriY53ruotLWOPIsQR0p jbw7OY95m1RPH4TDFAWl2WqQONagVyyskA3lLLIUz2Qm4mVmCLAiJlGzGvL+XMmrsi3J xIq/W7epqFforai6iK6mNyd/28cYH1G1AmdQUrMLBUSymVRD1UuHPFihkmXpXKWt0eyr wvlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=sLdFXnpxFlQqoK1p8Vg4Etqv0GZzsWvE6eYx5Q11kJs=; fh=nmpqriIAxzz9z4/piqOabUsFkiEK8VDv7G5j+pvfHas=; b=LRdEDXLMN9gnK5vq/1bv50sTRc4qa+pRqRbbfrHBLske3QezTAkkEujbKbGe7dbpNx 2DHwyRb7xsYFZfSmrXvIb9JeF4tIs9ZGZ4MIC+jSMZd4/2I0sUfjR0hXOolhR4UKL7PJ AkfUQyd4iEze8t30zJf+2vPv0DWKpraEgd4SOj49wrK80fc9dOVK4X86IGOmrN2sjlzZ FWaBjKUHltgJoTgTl5f2i9hH+08Xtt3lJgcl/DlhEw4zHYAxcyWaqQVQE2ILhQ0xMxDn HqECeDTpQnLqlXLDPBND8oQzbcuk/oDgneVOAc9vvayrTXV862rgFmtYAyTi60NOvOt1 sAhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Fne4aXwm; spf=pass (google.com: domain of linux-kernel+bounces-8188-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8188-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z65-20020a633344000000b005bd04873387si1362649pgz.105.2023.12.21.02.19.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 02:19:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8188-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Fne4aXwm; spf=pass (google.com: domain of linux-kernel+bounces-8188-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8188-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AF41EB230C3 for ; Thu, 21 Dec 2023 10:15:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8667524A9; Thu, 21 Dec 2023 10:15:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Fne4aXwm" X-Original-To: linux-kernel@vger.kernel.org Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA81B51C25; Thu, 21 Dec 2023 10:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BLADv1h012631; Thu, 21 Dec 2023 04:13:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1703153637; bh=sLdFXnpxFlQqoK1p8Vg4Etqv0GZzsWvE6eYx5Q11kJs=; h=From:To:CC:Subject:Date; b=Fne4aXwmBn5dkqpqqFw+7R70drLMXfF1yxXg1kAffa/M4/hJk+qR2eP/AFxxfzls2 r5w+WzMMNOAjL+6aUXm4OBt72RJTx3481WiYorsaZtSicVRp/85TDKb8d8C/HeiXbl JL3IT4IpZGut2koWzEOW5kN6000OxrXmwSfiHN6M= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BLADvhN017220 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Dec 2023 04:13:57 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 21 Dec 2023 04:13:57 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE109.ent.ti.com (157.170.170.41) 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; Thu, 21 Dec 2023 04:13:56 -0600 Received: from LT5CG31242FY.dhcp.ti.com (lt5cg31242fy.dhcp.ti.com [10.85.14.210]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BLADoQc069419; Thu, 21 Dec 2023 04:13:51 -0600 From: Shenghao Ding To: , , CC: , , , , , , , , <13916275206@139.com>, , , , , , , , Shenghao Ding Subject: [PATCH v2 1/5] ASoC: dt-bindings: remove tas2563 from yaml Date: Thu, 21 Dec 2023 18:13:41 +0800 Message-ID: <20231221101346.429-1-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785886397033417511 X-GMAIL-MSGID: 1785886397033417511 Remove tas2563 from tas2562, it will be supported in tas2781 to better support dsp mode. Signed-off-by: Shenghao Ding --- Change in v2: - remove tas2563, which will be move to tas2781 driver --- Documentation/devicetree/bindings/sound/tas2562.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/tas2562.yaml b/Documentation/devicetree/bindings/sound/tas2562.yaml index f01c0dde0cf7..d28c102c0ce7 100644 --- a/Documentation/devicetree/bindings/sound/tas2562.yaml +++ b/Documentation/devicetree/bindings/sound/tas2562.yaml @@ -18,7 +18,6 @@ description: | Specifications about the audio amplifier can be found at: https://www.ti.com/lit/gpn/tas2562 - https://www.ti.com/lit/gpn/tas2563 https://www.ti.com/lit/gpn/tas2564 https://www.ti.com/lit/gpn/tas2110 @@ -29,7 +28,6 @@ properties: compatible: enum: - ti,tas2562 - - ti,tas2563 - ti,tas2564 - ti,tas2110 From patchwork Thu Dec 21 10:13: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: 182134 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp309313dyi; Thu, 21 Dec 2023 02:15:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNeFttYf+dWQPE+gqk133QQdjWp7zATuTjLScn4FMzm1XAKASG+WQ1XZgHdPjB18LgvNRp X-Received: by 2002:a05:622a:46:b0:425:7f98:3861 with SMTP id y6-20020a05622a004600b004257f983861mr460885qtw.36.1703153717976; Thu, 21 Dec 2023 02:15:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703153717; cv=none; d=google.com; s=arc-20160816; b=a2UEAee9NUivDXcY0+z7u3sI712rUX+EO9qRTmk3K/h9+39L6PeBdKPzc4fbayjZO9 S5R0w6ZUrEM4msmA3TBUD/vq83wbGSowg26/q5rZn6crLodvZZ6UWechf4pkRQfTUtje IH5Z1w19l8Nob7NnUqAnQ4rLleFpCFHJtBtFpGR8gBFr5Koq35vhnTkqkYoVf+TrR9fV kHqX66eo/ANmAuhZoK+80Hooxvk6l/mhSsBOcqH0C46LTxvL5l08R7pvTPychAPsGG7r +7u2lMKo6gne7w2bbPq/49ZAdzPZ3P8w3QV4hGfATNeSui84gibidxUIZfk0le49u+sF rfcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jIF3ygWneWyg4E9/HdJotb5ROUTYDslZO/q/Izyycnc=; fh=nmpqriIAxzz9z4/piqOabUsFkiEK8VDv7G5j+pvfHas=; b=RbIbVbmGGLcM8YdC7+dQJfe54XqKyDuA2bGxBS9zVoEWoSE/bNiIacNDwCP7du2nFE OUzqbHslBNejwmUOez9HkK5PurdZX251rOKLKjmei/NK3j1koy6qLGcog6QmK+IzKlNU ojJXbug4KMSGwsUYRPNv61mAXiHNNo7JFDvAuPiRvk4EvX5noYmvpaJAG0WHeUHSsyFM Dj7rHhsS+anHEkUNVercBSbcDRAaMUiiDKWYVusTrIDtocSNN0t8ohLKU3Awtn0PltN9 kK/JUfuE4LWALJtm9yAkbSnqFspLl2EpVmBwBzO5MadXnPrEQPO7BLnp5ex+7BTjeTDz AUhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=umB+kXZ1; spf=pass (google.com: domain of linux-kernel+bounces-8186-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8186-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d15-20020ac85acf000000b0042395bfaa25si1796624qtd.221.2023.12.21.02.15.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 02:15:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8186-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=umB+kXZ1; spf=pass (google.com: domain of linux-kernel+bounces-8186-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8186-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B74BC1C24838 for ; Thu, 21 Dec 2023 10:15:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF8325103F; Thu, 21 Dec 2023 10:15:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="umB+kXZ1" X-Original-To: linux-kernel@vger.kernel.org Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEBA55102F; Thu, 21 Dec 2023 10:15:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BLAE3W4030693; Thu, 21 Dec 2023 04:14:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1703153643; bh=jIF3ygWneWyg4E9/HdJotb5ROUTYDslZO/q/Izyycnc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=umB+kXZ1g2hALmaW4+Q+IXAAd0xtTIUWv+eUTvwTtpSY+vvNYuCElw1wm3uCrkaUR /1Tgm1uj1UZ7ATpFHPsiEj8UMuvVJgg3Qsw9YG77OunPyxAwRcNsjWljWID717TEqy 063N6k20Rn6W11yzeFlLs8U8GLlaozmjKGR7FpJY= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BLAE36j003779 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Dec 2023 04:14:03 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 21 Dec 2023 04:14:03 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE115.ent.ti.com (10.64.6.36) 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; Thu, 21 Dec 2023 04:14:03 -0600 Received: from LT5CG31242FY.dhcp.ti.com (lt5cg31242fy.dhcp.ti.com [10.85.14.210]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BLADoQd069419; Thu, 21 Dec 2023 04:13:58 -0600 From: Shenghao Ding To: , , CC: , , , , , , , , <13916275206@139.com>, , , , , , , , Shenghao Ding Subject: [PATCH v2 2/5] ASoC: tas2562: remove tas2563 into driver Date: Thu, 21 Dec 2023 18:13:42 +0800 Message-ID: <20231221101346.429-2-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20231221101346.429-1-shenghao-ding@ti.com> References: <20231221101346.429-1-shenghao-ding@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785886112880973670 X-GMAIL-MSGID: 1785886112880973670 Remove tas2563 from tas2562, it will be supported in tas2781 to better support dsp mode. Signed-off-by: Shenghao Ding --- Change in v2: - remove tas2563, which will be move to tas2781 driver --- sound/soc/codecs/tas2562.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c index 962c2cdfa017..54561ae598b8 100644 --- a/sound/soc/codecs/tas2562.c +++ b/sound/soc/codecs/tas2562.c @@ -59,7 +59,6 @@ struct tas2562_data { enum tas256x_model { TAS2562, - TAS2563, TAS2564, TAS2110, }; @@ -721,7 +720,6 @@ static int tas2562_parse_dt(struct tas2562_data *tas2562) static const struct i2c_device_id tas2562_id[] = { { "tas2562", TAS2562 }, - { "tas2563", TAS2563 }, { "tas2564", TAS2564 }, { "tas2110", TAS2110 }, { } @@ -770,7 +768,6 @@ static int tas2562_probe(struct i2c_client *client) #ifdef CONFIG_OF static const struct of_device_id tas2562_of_match[] = { { .compatible = "ti,tas2562", }, - { .compatible = "ti,tas2563", }, { .compatible = "ti,tas2564", }, { .compatible = "ti,tas2110", }, { }, From patchwork Thu Dec 21 10:13:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 182136 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp309763dyi; Thu, 21 Dec 2023 02:16:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGoDA6IHM/USW9mLmc3nTdjiRRV/Rop4D43sZtgJLmMKX3DZAjT1zqNQd7lBB8pYmNuQMGD X-Received: by 2002:a05:6512:2208:b0:50e:5523:8737 with SMTP id h8-20020a056512220800b0050e55238737mr1137142lfu.91.1703153771715; Thu, 21 Dec 2023 02:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703153771; cv=none; d=google.com; s=arc-20160816; b=WgOHWaQ4bmIzqpkzjyyfRiKkopbF2Kg/Uv77FXFt1uhBBBr5bvVvoa8fMZxvzuLeKe 56BrkkyF/lL/N7obHIZBEgy4uLDm2/ymTwIrJhbHjbWtNX6klXgwrG573S0rwNhJZenB giC5Zz5hRlO9c1EtTkCyrZL+5jybSmQRQNNfH5hcHVsfsspZGLK+LgfHvB9oamgucBxe s9uCC/obYWZzJR4HEdNRxOTdTjYEP6J/jCx2Kz6HQv0dd4IpGqv1OqHUof6uTSq3M8Xh ob9nlEdCEEbL6KzczAiE/oG80Apa4AAR4zK8Y9GTmrMBSJcy5K9ftP1CV4r+oRlVyRou Id3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=A9Y/ESiqbp7xdws4OTdaHW0qJbpx1MapSeCmglK1CuU=; fh=nmpqriIAxzz9z4/piqOabUsFkiEK8VDv7G5j+pvfHas=; b=y31NA4k0S5oDP/UHgIDBSWMLH4fyOypaIw6rr5kihl8XKt/iYIf6ljpJy4riXqomTT 36rKKL5uFXg5wMMZ1Kow9BvMSBPKbCNhzSwZT8oS8PJXVBbPE/f6z2ilaQkK3xrrtzso XYeeJZPIrv58jDHDt2qnl/BLymD+NxRmO2AaidzPN8rpKPah8ijmhQnP01StWgFtbYqy m2gpmMngn0eYCRLatu8sfcPWKdEIFix7L5KdyjKb1IMaCWKYXvaPv1sKVaecgVXkJEcQ BCL0zfkzNzhUj/VPzNXY3XprmFiWfnx5oYDLy8rySnA3qq3C5hP5MLYVls740gEmpnKr 6giQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="G8/pmXpR"; spf=pass (google.com: domain of linux-kernel+bounces-8189-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8189-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id vl15-20020a17090730cf00b00a23619be213si685621ejb.159.2023.12.21.02.16.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 02:16:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8189-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="G8/pmXpR"; spf=pass (google.com: domain of linux-kernel+bounces-8189-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8189-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4F5921F214DF for ; Thu, 21 Dec 2023 10:16:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03FC0524CD; Thu, 21 Dec 2023 10:15:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="G8/pmXpR" X-Original-To: linux-kernel@vger.kernel.org Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EBD3A51C27; Thu, 21 Dec 2023 10:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BLAEAQ4012658; Thu, 21 Dec 2023 04:14:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1703153650; bh=A9Y/ESiqbp7xdws4OTdaHW0qJbpx1MapSeCmglK1CuU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=G8/pmXpRev2LWS9uweZK/AhbkyNjT0+eNkagXdGYdQMX5gQBQP7XDaQMtdBm8UEqk ihKJiFMZs5vo3j4Pim/kkkkdDSDjZVcJMK5KAuZvKkzIXjV9Vf1p4vlvYt0iCkA3hM HLn1zybG4xGFiBRR3GFRs5XQ4sEy/rskE1cpObl8= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BLAEAZX017440 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Dec 2023 04:14:10 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 21 Dec 2023 04:14:09 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE104.ent.ti.com (10.64.6.25) 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; Thu, 21 Dec 2023 04:14:09 -0600 Received: from LT5CG31242FY.dhcp.ti.com (lt5cg31242fy.dhcp.ti.com [10.85.14.210]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BLADoQe069419; Thu, 21 Dec 2023 04:14:04 -0600 From: Shenghao Ding To: , , CC: , , , , , , , , <13916275206@139.com>, , , , , , , , Shenghao Ding Subject: [PATCH v2 3/5] ASoC: tas2781: Add tas2563 into header file for dsp mode Date: Thu, 21 Dec 2023 18:13:43 +0800 Message-ID: <20231221101346.429-3-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20231221101346.429-1-shenghao-ding@ti.com> References: <20231221101346.429-1-shenghao-ding@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785886169235472687 X-GMAIL-MSGID: 1785886169235472687 Support dsp mode for tas2563. Signed-off-by: Shenghao Ding --- Change in v2: - Move tas2563 to tas2781 driver --- 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 Thu Dec 21 10:13:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 182137 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp309802dyi; Thu, 21 Dec 2023 02:16:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFi+CrqzFVlxwmyhxgd730MnjJruT9oDN7KnlClAi4Aac+JAi4EgluuAFQli+6nroS+rZ12 X-Received: by 2002:a05:620a:f85:b0:77f:3b93:b62d with SMTP id b5-20020a05620a0f8500b0077f3b93b62dmr530102qkn.73.1703153777140; Thu, 21 Dec 2023 02:16:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703153777; cv=none; d=google.com; s=arc-20160816; b=Jvi8jRJJH7IKPOB8h0cD1vU9izSXaTw0kvUiFqUQjnu5rn710gapsE3kVLKOtkkS7o P/wa+rVdQLd+PZbOv08QITsrYvVvLKuOJ/2YZnmfut0N5qzGZgBY7IiScnhnFdyHl+Fl VQVQZCDhSjf6eD9FwLo486ifoxqS47n8a3o8GzD8Lj5pgKgMO0FfExMeTh8uMkykwKBe YYGhbJXinMS8u3bLNHpBuMBmuamH3uQgwXYvizyJ39MYBBmBzLfQVsDiQdszZ3jdBKS7 xCPBtPa3eDPOWKNaYXS3SuAEQzideVKcozn4ZlXoAdaaptsv/L2olnuxSe9E13f4O5yl tq7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8h/5qNeBqZLu4DtB6QWlxRAttsKrDL6jdEBGySa6oNo=; fh=nmpqriIAxzz9z4/piqOabUsFkiEK8VDv7G5j+pvfHas=; b=PxDn0e0sWZwkfXn8PGFUc+gTdYKoj41d4enYrFwyiLN5uqM2UKQcgZ8M3jluYyua8I ht9n0E0MuE3EwXMPO+U0qsZjV/e2u6VX1Qhuj40ltPAnlGY3Rt7faczG79htc5WGmkaV qrBMbTlGLFkNis+n+05DY6dxCnDyUCR0uxcarwgB1Zaxv+g3wF2kN0beuT82Y1tSDsgk z9Pa0xDvn/mUAtUbgjkC5BnaZSSgh5OCrs8KA9IWto80Cvx9FyxPJwWdV3dkuCjkMuAh UP3LcJe8NqritVyvp2Qm4Qny8eYExVxCoZ5hiMeyFN3n45WYPiWknTfMKyemeUP2AbsR 9Xzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rvNCEiKm; spf=pass (google.com: domain of linux-kernel+bounces-8190-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8190-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bq15-20020a05620a468f00b00781226b6853si475825qkb.543.2023.12.21.02.16.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 02:16:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8190-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rvNCEiKm; spf=pass (google.com: domain of linux-kernel+bounces-8190-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8190-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E8B4A1C24F09 for ; Thu, 21 Dec 2023 10:16:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 009FC52742; Thu, 21 Dec 2023 10:15:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="rvNCEiKm" X-Original-To: linux-kernel@vger.kernel.org Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0F9F51C29; Thu, 21 Dec 2023 10:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BLAEHkq123049; Thu, 21 Dec 2023 04:14:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1703153657; bh=8h/5qNeBqZLu4DtB6QWlxRAttsKrDL6jdEBGySa6oNo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rvNCEiKmTkwd7qYnofyFNa2UVRy0l03p6FpkiGoBz5JOrZDyzYgUNLB6tADqJE/UX LkO8+2jG9Js2mum0Pn3UtQfrqz8mPY8KbhbDdBvG/HAN+dIC/RGaiQRK10LxhKkjgW 7XqyFZSHt2CRP7KYs2C3hEccVFhYD4uyLdXShzOs= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BLAEGD8003965 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Dec 2023 04:14:16 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 21 Dec 2023 04:14:16 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE105.ent.ti.com (157.170.170.35) 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; Thu, 21 Dec 2023 04:14:16 -0600 Received: from LT5CG31242FY.dhcp.ti.com (lt5cg31242fy.dhcp.ti.com [10.85.14.210]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BLADoQf069419; Thu, 21 Dec 2023 04:14:11 -0600 From: Shenghao Ding To: , , CC: , , , , , , , , <13916275206@139.com>, , , , , , , , Shenghao Ding Subject: [PATCH v2 4/5] ASoC: tas2781: Add tas2563 into driver Date: Thu, 21 Dec 2023 18:13:44 +0800 Message-ID: <20231221101346.429-4-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20231221101346.429-1-shenghao-ding@ti.com> References: <20231221101346.429-1-shenghao-ding@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785886174758986209 X-GMAIL-MSGID: 1785886174758986209 Add tas2563 to better support dsp mode. Signed-off-by: Shenghao Ding --- Change in v2: - Move tas2563 to tas2781 driver --- 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 Thu Dec 21 10:13:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 182135 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp309452dyi; Thu, 21 Dec 2023 02:15:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEAX5aJ2z7aaLY4p7IK0P2zWkf1PMoyrYXeiA/T2NtHRSdyPsepOUni+Q3fTlwrot+A8dbk X-Received: by 2002:a05:6a20:3d81:b0:195:e2:3aa2 with SMTP id s1-20020a056a203d8100b0019500e23aa2mr563119pzi.28.1703153733276; Thu, 21 Dec 2023 02:15:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703153733; cv=none; d=google.com; s=arc-20160816; b=lhk0133fUBvU4EqvBh5a2dqDlE7pg2KWBBjDgpZFGzvkAIcHYOxY8P8hzL+lwuGkte aM3/JCikd29M80pD5ooQpeRBsO6LXrsIwJKSnEUdMmnvfXs0K5Ywg2z+DFbCJdqo9ge4 YMd8M21/0pqUrKER3PkavEgvoSL9FlQpN6g87gITKJZMJHIhNnpjm78faLl8aMjJkMUD x8RfoDIASuJR7DqqNitE5vA2g6RHVJ23P45oNmAcL5i+lndIr406PAk4roVnhFEjz551 NGxl2iz2hOTru6lSyPfpAOuXzvjfC1DA/dOmmFJRi7y1cpxnFqcGSmHJVG/z1JF7nfhe uVMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rbns9usRGQpZ2NWl1wj7gXW/38aT9PQoDkciQ1L7398=; fh=nmpqriIAxzz9z4/piqOabUsFkiEK8VDv7G5j+pvfHas=; b=emrpVKcqCBP2sH/FrGHKei6AOMo2b9tjZu9FDHtLA1/531WvrnuA2jo8b6MYHPSxjg EEUSRInmptNIsSgm1RQ8cqc36nkHhVE87yh+uqcYIBn8cN0yt3wQ1in39874nZ23evCG SHU+AAKc+77qiceyaDyvoQmsHqWRDaX2gkOcO+15capbxCycujStf86pZqMMSXgy02SE 9TQYViKrhGRy6BXuDEd02Km5BAhAq0agBmtornPZ4rHe2hiRCuClHDpXHYwR7PiG0DOm ejOwjKFsa4Elprifh4kxJ1QqavGlM+6CBsDTb+m3CvhpdDqgTZcLVPS7jQEs7CxYzVhk +TAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DYpu6YiF; spf=pass (google.com: domain of linux-kernel+bounces-8187-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8187-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x3-20020a656aa3000000b005cd91ad7f74si1289626pgu.190.2023.12.21.02.15.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 02:15:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8187-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DYpu6YiF; spf=pass (google.com: domain of linux-kernel+bounces-8187-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8187-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9BA90286658 for ; Thu, 21 Dec 2023 10:15:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBC2C51C2B; Thu, 21 Dec 2023 10:15:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="DYpu6YiF" X-Original-To: linux-kernel@vger.kernel.org Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0A3E4EB31; Thu, 21 Dec 2023 10:15:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BLAENjV030741; Thu, 21 Dec 2023 04:14:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1703153663; bh=rbns9usRGQpZ2NWl1wj7gXW/38aT9PQoDkciQ1L7398=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DYpu6YiFBfSv/Y1+aXFDci3Yq9Lq28NvcQp3Y6HN34sN5XxhoLYes6tcSe5o7lm8I ggsev08hY62sJb2BCXfgYHNaHO5lHHu7Najt3RLiLMWuMd8mYJ2OJv171GcEBDNpdq aixnk+sezNrbgyLG96FpgR4HuE2Yc79kgeaR0YZM= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BLAENuP017558 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Dec 2023 04:14:23 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) 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; Thu, 21 Dec 2023 04:14:23 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE111.ent.ti.com (157.170.170.22) 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; Thu, 21 Dec 2023 04:14:23 -0600 Received: from LT5CG31242FY.dhcp.ti.com (lt5cg31242fy.dhcp.ti.com [10.85.14.210]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BLADoQg069419; Thu, 21 Dec 2023 04:14:17 -0600 From: Shenghao Ding To: , , CC: , , , , , , , , <13916275206@139.com>, , , , , , , , Shenghao Ding Subject: [PATCH v2 5/5] ASoC: dt-bindings: Add tas2563 into ti,ta2781.yaml to support dsp mode better Date: Thu, 21 Dec 2023 18:13:45 +0800 Message-ID: <20231221101346.429-5-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20231221101346.429-1-shenghao-ding@ti.com> References: <20231221101346.429-1-shenghao-ding@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785886129379293903 X-GMAIL-MSGID: 1785886129379293903 Add tas2563 to better support dsp mode. 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 --- .../devicetree/bindings/sound/ti,tas2781.yaml | 61 +++++++++++++------ 1 file changed, 43 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml index a69e6c223308..76d4357117d5 100644 --- a/Documentation/devicetree/bindings/sound/ti,tas2781.yaml +++ b/Documentation/devicetree/bindings/sound/ti,tas2781.yaml @@ -5,36 +5,33 @@ $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: - - $ref: dai-common.yaml# - 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 # fallback compatible - reg: - description: - I2C address, in multiple tas2781s case, all the i2c address - aggregate as one Audio Device to support multiple audio slots. - maxItems: 8 - minItems: 1 - items: - minimum: 0x38 - maximum: 0x3f + reg: true reset-gpios: maxItems: 1 @@ -49,6 +46,34 @@ required: - compatible - reg +allOf: + - $ref: dai-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - ti,tas2781 + then: + properties: + reg: + description: + I2C address, in multiple AMP case, all the i2c address + aggregate as one Audio Device to support multiple audio slots. + maxItems: 8 + minItems: 1 + items: + minimum: 0x38 + maximum: 0x3f + else: + properties: + reg: + maxItems: 4 + minItems: 1 + items: + minimum: 0x4c + maximum: 0x4f + additionalProperties: false examples: