Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2412431lqz; Tue, 2 Apr 2024 17:34:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzgKY/9/dob9wUEC7j0Qd1t2FLIWmcxYooNkGqji/6hsAGKHAhZcmjYi6eb+KQQERyWxdGhmXvdKcuWQfgVOyPjkrHO4joeHJhkWr0Sw== X-Google-Smtp-Source: AGHT+IHtZ/LHwlDtR5LxG1zndZQM1LH+3UX3dsyNucjckydIr45JYQoKyFt3wA9ONn75hBOoeJN+ X-Received: by 2002:a2e:984a:0:b0:2d2:dac3:90f with SMTP id e10-20020a2e984a000000b002d2dac3090fmr8516591ljj.52.1712104445335; Tue, 02 Apr 2024 17:34:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712104445; cv=pass; d=google.com; s=arc-20160816; b=nyqKcaunjTydQYNKN3V+gUkA5ersVs6TCe84o+z5CooqW4EoddRsBdj095IziKOnk5 iq+pkiWHVBistCOaAK2EjZTNohp+/IMPJ3E1WimSJTFgxwGQbfxkg+prnmg1HBye1Rf/ b69LxEyHAOS2qSAnv37gPqTYb2Pg8oQLH9E5Q/nkx7JD9hchuZFvkhF4vUQZAaPXc4TX fuvNQL6Zm1YUNeXvsjRBsNh88AHYK6hweBESLZYTZ9Hirg5NMDJ2PhmZecxakdhVDHyZ wWmvcCC3ADYMk63JqAJg2YsqUmAIB/6wkiQKlpbnxyp8ptxdmSLaJAN6YKnIDOel39JL jzUA== ARC-Message-Signature: i=2; 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=GVrr+F2p0WJZ3urc9o+Df04rBukw2qRLjEQV2Y/wL88=; fh=SAX21Hr0BqOGEq8QitQOMPjWgWccV3pOxD1/HFu6oOc=; b=MR3mqFqkIG4+pac4pigJ9iGG6/AvbzZgaI2/X6llJE5Runw4aqvAsbg69C0jfssABI uA+i2EkmyNjIZm96nbKEhlawztZO4y/z3RcgAg+fbuvrRx9LzmPTsVIb63FYWUaqZlMx MTohxRAyyY1EOEQELmy3YuIKLQcBaWdXP6/oxrAqZe/TyekKRt6v615mHy7VF9KVs3yA zo/K4llghinsSJUewkhIWETW4Y418SuzZiOXmpkkNvhO3+PhnZ8uIkWgtqCrZAWyW1X1 qsH3CF9ZXrZ9TaIw4E7oRM7OYPn1XaSzlam993pJ+oqKIX0rNIDU+KAywN7nhLP8ZbTI 94Ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HPfplfJY; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-128888-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128888-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i7-20020a0564020f0700b0056b9b4d969dsi6555711eda.351.2024.04.02.17.34.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 17:34:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128888-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HPfplfJY; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-128888-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128888-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 11F601F2A841 for ; Wed, 3 Apr 2024 00:34:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D38CB15491; Wed, 3 Apr 2024 00:33:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="HPfplfJY" 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 5CBC214A9D; Wed, 3 Apr 2024 00:33:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712104413; cv=none; b=WEns22XCvPi1RByDU2Vh58iWDoKts6bOr1NTlAeu6g5XS6ZcsCZWbU6NKYTYybvL3s9lfXeELgdSjO114DoqKqxh/EnmESM0sokBt62LCApVixdGnHZ17VHZhCIsii2WMGBhrQHpuO22VDApCp/sdI4mFZrGHzFWD903FxY9SVo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712104413; c=relaxed/simple; bh=rHWDHL1i/IvJcRqLw+SJNY2wbffLubgOnS2NLVPbBbo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H2xCHN60M0mZ6M4tvXd+j+mS1mQzSEpsUCsbh2T8s+v/s4JRBruYeykppECQPPXZ0y/q0YuLtQ6jH2qmS3Uck7PsEhyh7omZorjEK00lbrHTTMT9gwpM82hehm5Cn5sxFdhYg6BqWGiAEk08iXuFGsxorXdjtBtFpAeNM/vvzOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=HPfplfJY; arc=none smtp.client-ip=198.47.23.248 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 4330WdxB033944; Tue, 2 Apr 2024 19:32:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712104359; bh=GVrr+F2p0WJZ3urc9o+Df04rBukw2qRLjEQV2Y/wL88=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HPfplfJYN8YTQ+CokXkMlxwRAdwkPJNtXiyf57p9t6f1dnRWjm+iXSv3bPc2nzX8g Q92OMxjKgmbJgYtPJYy9/NP0OLgavz7L8+CFbc2YhILy+GWwdD2fmf2KOBPmmYRpG6 C0sU7APL+vHzEYF0NnaAaqFFI9KLX3xwbvmxPaVg= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4330WdSs058870 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 Apr 2024 19:32:39 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 2 Apr 2024 19:32:38 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE103.ent.ti.com (157.170.170.33) 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; Tue, 2 Apr 2024 19:32:38 -0500 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.160.249]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4330W2JC079729; Tue, 2 Apr 2024 19:32:30 -0500 From: Shenghao Ding To: CC: , , , , , , , , , <13916275206@139.com>, , , , , , , , , , , Shenghao Ding Subject: [PATCH v8 3/4] ASoc: PCM6240: Add compile item for PCM6240 Family driver Date: Wed, 3 Apr 2024 08:31:57 +0800 Message-ID: <20240403003159.389-4-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20240403003159.389-1-shenghao-ding@ti.com> References: <20240403003159.389-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 PCM6240 driver implements a flexible and configurable setting for register and filter coefficients, to one, two or even multiple PCM6240 Family Audio chips. Signed-off-by: Shenghao Ding --- v8: - use some reasonable format of changelog. - Link to v2: https://lore.kernel.org/all/20240126035855.1785-3-shenghao-ding@ti.com/ --- sound/soc/codecs/Kconfig | 10 ++++++++++ sound/soc/codecs/Makefile | 2 ++ 2 files changed, 12 insertions(+) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index f78ea2f86fa6..0c35cdfd4a47 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -179,6 +179,7 @@ config SND_SOC_ALL_CODECS imply SND_SOC_PCM5102A imply SND_SOC_PCM512x_I2C imply SND_SOC_PCM512x_SPI + imply SND_SOC_PCM6240 imply SND_SOC_PEB2466 imply SND_SOC_RK3328 imply SND_SOC_RK817 @@ -1422,6 +1423,15 @@ config SND_SOC_PCM512x_SPI select SND_SOC_PCM512x select REGMAP_SPI +config SND_SOC_PCM6240 + tristate "Texas Instruments PCM6240 Family Audio chips based on I2C" + depends on I2C + help + Enable support for Texas Instruments PCM6240 Family Audio chips. + Note the PCM6240 driver implements a flexible and configurable + setting for register and filter coefficients, to one, two or + even multiple PCM6240 Family Audio chips. + config SND_SOC_PEB2466 tristate "Infineon PEB2466 quad PCM codec" depends on SPI diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile index 7c075539dc47..5553155b843b 100644 --- a/sound/soc/codecs/Makefile +++ b/sound/soc/codecs/Makefile @@ -204,6 +204,7 @@ snd-soc-pcm5102a-objs := pcm5102a.o snd-soc-pcm512x-objs := pcm512x.o snd-soc-pcm512x-i2c-objs := pcm512x-i2c.o snd-soc-pcm512x-spi-objs := pcm512x-spi.o +snd-soc-pcm6240-objs := pcm6240.o snd-soc-peb2466-objs := peb2466.o snd-soc-rk3328-objs := rk3328_codec.o snd-soc-rk817-objs := rk817_codec.o @@ -594,6 +595,7 @@ obj-$(CONFIG_SND_SOC_PCM5102A) += snd-soc-pcm5102a.o obj-$(CONFIG_SND_SOC_PCM512x) += snd-soc-pcm512x.o obj-$(CONFIG_SND_SOC_PCM512x_I2C) += snd-soc-pcm512x-i2c.o obj-$(CONFIG_SND_SOC_PCM512x_SPI) += snd-soc-pcm512x-spi.o +obj-$(CONFIG_SND_SOC_PCM6240) += snd-soc-pcm6240.o obj-$(CONFIG_SND_SOC_PEB2466) += snd-soc-peb2466.o obj-$(CONFIG_SND_SOC_RK3328) += snd-soc-rk3328.o obj-$(CONFIG_SND_SOC_RK817) += snd-soc-rk817.o -- 2.34.1