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);