Message ID | 20231221101346.429-3-shenghao-ding@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-8189-ouuuleilei=gmail.com@vger.kernel.org> 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 <ouuuleilei@gmail.com> (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 <ouuuleilei@gmail.com>; 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 <shenghao-ding@ti.com> To: <broonie@kernel.org>, <conor+dt@kernel.org>, <krzysztof.kozlowski@linaro.org> CC: <robh+dt@kernel.org>, <andriy.shevchenko@linux.intel.com>, <kevin-lu@ti.com>, <baojun.xu@ti.com>, <devicetree@vger.kernel.org>, <lgirdwood@gmail.com>, <perex@perex.cz>, <pierre-louis.bossart@linux.intel.com>, <13916275206@139.com>, <linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <liam.r.girdwood@intel.com>, <soyer@irl.hu>, <tiwai@suse.de>, <peeyush@ti.com>, <navada@ti.com>, Shenghao Ding <shenghao-ding@ti.com> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785886169235472687 X-GMAIL-MSGID: 1785886169235472687 |
Series |
[v2,1/5] ASoC: dt-bindings: remove tas2563 from yaml
|
|
Commit Message
Ding, Shenghao
Dec. 21, 2023, 10:13 a.m. UTC
Support dsp mode for tas2563.
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
---
Change in v2:
- Move tas2563 to tas2781 driver
---
include/sound/tas2781.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Comments
On Thu, Dec 21, 2023 at 06:13:43PM +0800, Shenghao Ding wrote: > Support dsp mode for tas2563. DSP ... > +// ALSA SoC Texas Instruments TAS2781/TAS2563 Audio Smart Amplifier Why not ordered? ... > +// The TAS2781/TAS2563 driver implements a flexible and configurable Ditto. ... > +// TAS2781/TAS2563 chips. Ditto. ... > enum audio_device { > TAS2781 = 0, > + TAS2563 Missing comma as this is not a terminator. > }; Ditto. ... I would expect here enum audio_device { TAS2563, TAS2781, };
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 <shenghao-ding@ti.com> // Author: Kevin Lu <kevin-lu@ti.com> @@ -60,6 +60,7 @@ enum audio_device { TAS2781 = 0, + TAS2563 }; enum device_catlog_id {