Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp47239rdb; Thu, 21 Dec 2023 02:19:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsQFiDxvPzG7p35nzkG70qhFzzv9oOJBptmXdnvuxb80G4D6G9ek6QPBaOjRj4+oD1ciKI X-Received: by 2002:a17:902:f683:b0:1d3:e1e5:f16c with SMTP id l3-20020a170902f68300b001d3e1e5f16cmr528330plg.34.1703153994415; Thu, 21 Dec 2023 02:19:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703153994; cv=none; d=google.com; s=arc-20160816; b=Z8drrrZt+D20yS7cnDiAc+yg1S0r73wI7qofds8fobjLi8nGBxkPSY/D9KlBdxzTid ZNRBfc9TZsV7lecJcmdI8PQOqqfXYU8iOQNzc/YGB+4pj9hxk+8+u5yhx6+l9JrS7cp4 KvS8Ty9BQ765YqCc6xZ+tPb5vyAbwRFEcDSKEEFXPvDa1sFaLM0ojxMDHoGtPy3LTcoJ rDQNG/qYQecvFn4aASXmv43hxqoDqNZzgLJkbpiICZqzZQbda3oi272wh0VfRSt4ed3Y 6/h9RhTms1tj93xPvAyw1Pkrvr7drHR8LI6mx1L3DwEIM636L1bmWTcMBJhTahKCptvM h4MQ== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u1-20020a17090341c100b001d3fe0117afsi1266276ple.443.2023.12.21.02.19.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 02:19:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8190-linux.lists.archive=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=rvNCEiKm; spf=pass (google.com: domain of linux-kernel+bounces-8190-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8190-linux.lists.archive=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 4E1E1B243E0 for ; Thu, 21 Dec 2023 10:16:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BAEB524B7; Thu, 21 Dec 2023 10:15:27 +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 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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); -- 2.34.1