Message ID | 20231113123345.2196504-1-Syed.SabaKareem@amd.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1168871vqg; Mon, 13 Nov 2023 04:34:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGzK4FqxAfpMtqSYvchJD5r+wfUC8s+AQFtwY7V642AuPXcnac6hh0RNHRXZH0Cl/+OiG1 X-Received: by 2002:a05:6830:1d58:b0:6d3:14dc:823e with SMTP id p24-20020a0568301d5800b006d314dc823emr7993211oth.11.1699878848842; Mon, 13 Nov 2023 04:34:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699878848; cv=pass; d=google.com; s=arc-20160816; b=jRBjKfOiEynLeNhwU5qmE6dSm8i5cvK2H+H9v3ZZErrhKTffSlTzFY8TgOw4c1idzV Mx3KP7vjPQ1hTvs0HxlgM+HMZvP/mKX2G5XSLCWoKesRZJL2GJjqcAouzMIu6xP47dZR D36Tenita2/jcLNzrhZ3VtDZpsrXkzVV7BX8D/My7R4VhYuZk5wHFmveuOyHIAxC62Ju QepdLzXcnW8P5V7G7n/Wtvimi7U64cxY/gqSm8enb+X3hAQgv/5Xjm5ZAz2FTSbyo5tr U8dyRMwW+L7FWa39uMbR++y9ymY1g1b36/6KQ53PsWLPa9azNTRoNPc///TK20cWQrx+ kuyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C5hRIGqPdqlVKEOaQgoebe4Lrt6607jyIbcOqCqoZ2w=; fh=4DAiLmKtc8/5Ngb4Rm6P3LIGLQk7eaWSS9wljTNNflc=; b=nAJv/EB9zfLjuSRrSRZHt+Q9r7BwtKYITeUqXEIKa9kFWdujcqjHE/YVkHYm1kZ95x JV8lI35V6RNc/7p0+8diuednoeXBVUlPuxa+jTbv2pRGIO9LnClfaQ3Gn9GkPGAyFna6 7V9wU3nNowFWtjnz8CbOz3OtrzDrgR3Q1HG+sRc/Fnx0kZYZou9I9HYj6eWmOMP4+kns BefIQ2grHLNmRgH9xHeCsTFfTv/FXjGzYjyUp6pu400D1+wwH6idjqQWSOexWHQ4+fJB GvwpSOztR321R6wdQtBMM+SYHgY1PQN1wd31wUi9tEvdwicLFUET8j30TmgEMEVvfofC 6iaA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=1CbxlZn8; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x63-20020a638642000000b005be1ee5dcd4si5719479pgd.492.2023.11.13.04.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 04:34:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=1CbxlZn8; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id ED0EE80C8D6F; Mon, 13 Nov 2023 04:34:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229791AbjKMMeF (ORCPT <rfc822;heyuhang3455@gmail.com> + 29 others); Mon, 13 Nov 2023 07:34:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjKMMeE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Nov 2023 07:34:04 -0500 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2062.outbound.protection.outlook.com [40.107.244.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B7D91702 for <linux-kernel@vger.kernel.org>; Mon, 13 Nov 2023 04:34:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cOCNnfJT3wwXeJ5jTTXqcOnqN8+qwzWtwv9Uhqq4Uh+2wOXeK47PRc2Bn/+ALu4EsHyanItOT+D+jUCclMBgN0PBbFCe/dc0us6FeLxxRKVlkxwK70eNPOlRI3gXH8w/Y/6q8kW9eBDq9OgemJQKl86eniY7Z4zL8xGGBuogeSS9KwFs1t+WWKTgxstGIsiN01lI9+AcjkUrXDBhusvIuzIUCXtfzYkHiV2MOo/zzj+p/EGkEFNC7iRdJCra1+VYZIFZ4ANIpjAq5b9941Vj/xeD3yJn0jfcnlB5AmtLNd4GEDuBl0BtPQjzZ/QpAcFDCOZi/V9e1HJuFPncU6Flcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C5hRIGqPdqlVKEOaQgoebe4Lrt6607jyIbcOqCqoZ2w=; b=OUZkdho+dKJ2xQJR4UNasonc68q+YWGxgwpHsec6dQ/bCh8twmUKqhk2L8/r6dwK1OVWT6B1oYV70iQs/V3LFJPoRwz1WKNpV0Kn1NClSwFqzCSwSlAVTtJWBeSVpWCwa5l6l5KrO/hLNdGowcUhZYFk8v1nSO3/IRuqiQfe1p0y+ebPp3JlOcr/b7X8ekHMU/gbsrC1QcEznNI3XZuZr54oyQufIBPjgggKiF7Aw8lj9UY3b7nhIEUSitdS4k5JEJMJIp1O4kPWT8pPU0om6o/WBmVhCNVKUJXCqW4BkuclxmGg+HKIb+Di99+VMFaY+qBf59dc1b0ZnkJNyZ5/ug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C5hRIGqPdqlVKEOaQgoebe4Lrt6607jyIbcOqCqoZ2w=; b=1CbxlZn8tIcyQBxOC4hct5oHIeWIdVpcm+BXwxaAbuP0c53cXW+ZMuRJwX8RdLqYHl7qx0eIPwQ/Vxi36M8heMsD0VEqo2alNIUhO6YxJqyonSxPhxWjJxoC75uU2olUVt3t7zS7uYinRPONVWr+3IuTIQlg1RzkrPkA+Hm6hKw= Received: from PH8PR05CA0006.namprd05.prod.outlook.com (2603:10b6:510:2cc::6) by BN9PR12MB5356.namprd12.prod.outlook.com (2603:10b6:408:105::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.31; Mon, 13 Nov 2023 12:33:56 +0000 Received: from SN1PEPF0002BA4F.namprd03.prod.outlook.com (2603:10b6:510:2cc:cafe::a6) by PH8PR05CA0006.outlook.office365.com (2603:10b6:510:2cc::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.17 via Frontend Transport; Mon, 13 Nov 2023 12:33:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SN1PEPF0002BA4F.mail.protection.outlook.com (10.167.242.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7002.13 via Frontend Transport; Mon, 13 Nov 2023 12:33:55 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Mon, 13 Nov 2023 06:33:55 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Mon, 13 Nov 2023 06:33:55 -0600 Received: from amd-B450M-DS3H.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Mon, 13 Nov 2023 06:33:51 -0600 From: Syed Saba Kareem <Syed.SabaKareem@amd.com> To: <broonie@kernel.org>, <alsa-devel@alsa-project.org> CC: <Vijendar.Mukunda@amd.com>, <Basavaraj.Hiregoudar@amd.com>, <Sunil-kumar.Dommati@amd.com>, <mario.limonciello@amd.com>, <richgong@amd.com>, <posteuca@mutex.one>, Syed Saba Kareem <Syed.SabaKareem@amd.com>, Liam Girdwood <lgirdwood@gmail.com>, "Jaroslav Kysela" <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Arnd Bergmann <arnd@arndb.de>, Venkata Prasad Potturu <venkataprasad.potturu@amd.com>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH V2 1/2] ASoC: amd: acp: add Kconfig options for acp7.0 based platform driver Date: Mon, 13 Nov 2023 18:03:42 +0530 Message-ID: <20231113123345.2196504-1-Syed.SabaKareem@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002BA4F:EE_|BN9PR12MB5356:EE_ X-MS-Office365-Filtering-Correlation-Id: 450c71fd-5d67-4519-49ae-08dbe444cd8d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 08VlRfZJVz4V3iqCtZSd6r9I0EinJt5LoOkIRI6lAzX2Tm4Byt0CtyxRrxkSIp03q4s1FxxSqJof/lj6i7cDUKlhMBCmTyv/zIGNE4VG4f281V5DEnyMLLhGqMzhNK6GgWVrZroPrLcMKAi+NuMXXqG+dqo2Iz0+G2x2jwzhNiWoN5InUULUS4YYLubnKV9bbNJxhHzEyR+HEeYvYxaY0r6hhiWixZxwpfYP5GZw004qeETHAbj3zuN+shV8RYw685es2mddH0jwxdwnI8oqVzHJH+DyIVYIPPbVOYo+5Fe+zU7e/wxFQA01H8a6V6zt+GRSgQNyRqx5ODmbCUrPvmOt2QZVuBfZjVRz9GxcluJyq2udOg8c5hhycOxZbQHodMWvQgYoNB99B0SMyJ9xy7wfVh/Onr2vgEuMK/2176PwB7PePfI4x3p7z4Uk+xKVT0xHIgGhRVUMrQp5kgGkJnYOZ9rlqpXiYtLbyuRQeVUL1CXaJsEflJDEpXLDZ1eKvfsEyAlJxrgcuZDppGMoJeaSu8SaqjB3Fm5yXahYnBfS2XG0wd43OUSDEsdsfum3O3Wj5ZWrqUgD4GhXBNAXWQa719oRP71TuB/HpUCBEpTjzoENusPvroa+UVMTd9IrPsEw7JPrMFBjWPLZ7T3GxGnHneStGa3Wb6xE5GW4ul6pfbuv5MenSVwPHvVVmTc/p6xkZBmtSbuFMkKlDfiyeqFRpHUe2z5ZIHpxGahHqK00kLwyEBOWgExXeOs4pGTtFFtS8CjJvZFh8f3Tp6zrvQ== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(136003)(346002)(396003)(376002)(39860400002)(230922051799003)(1800799009)(82310400011)(186009)(64100799003)(451199024)(40470700004)(46966006)(36840700001)(81166007)(36756003)(36860700001)(356005)(426003)(336012)(83380400001)(41300700001)(40460700003)(47076005)(86362001)(8676002)(8936002)(4326008)(1076003)(40480700001)(110136005)(2616005)(5660300002)(7696005)(6666004)(316002)(82740400003)(26005)(2906002)(70206006)(54906003)(478600001)(70586007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2023 12:33:55.9929 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 450c71fd-5d67-4519-49ae-08dbe444cd8d X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002BA4F.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5356 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 13 Nov 2023 04:34:08 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782452163673492629 X-GMAIL-MSGID: 1782452163673492629 |
Series |
[V2,1/2] ASoC: amd: acp: add Kconfig options for acp7.0 based platform driver
|
|
Commit Message
Saba Kareem, Syed
Nov. 13, 2023, 12:33 p.m. UTC
ACP7.0 based platform legacy drivers can be built by selecting
necessary kernel config option. This patch enables build support
of the same.
Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
---
changes since v1:
- added missing commit message.
sound/soc/amd/acp/Kconfig | 12 ++++++++++++
sound/soc/amd/acp/Makefile | 2 ++
2 files changed, 14 insertions(+)
Comments
On 11/13/2023 06:33, Syed Saba Kareem wrote: > ACP7.0 based platform legacy drivers can be built by selecting > necessary kernel config option. This patch enables build support > of the same. > > Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com> > --- > changes since v1: > - added missing commit message. > > sound/soc/amd/acp/Kconfig | 12 ++++++++++++ > sound/soc/amd/acp/Makefile | 2 ++ > 2 files changed, 14 insertions(+) > > diff --git a/sound/soc/amd/acp/Kconfig b/sound/soc/amd/acp/Kconfig > index 5fb322212938..c8ac0027f741 100644 > --- a/sound/soc/amd/acp/Kconfig > +++ b/sound/soc/amd/acp/Kconfig > @@ -73,6 +73,18 @@ config SND_AMD_ASOC_ACP63 > Say Y if you want to enable AUDIO on ACP6.3 > If unsure select "N". > > +config SND_AMD_ASOC_ACP70 > + tristate "AMD ACP ASOC Acp7.0 Support" > + depends on X86 && PCI > + depends on ACPI > + select SND_SOC_AMD_ACP_PCM > + select SND_SOC_AMD_ACP_I2S > + select SND_SOC_AMD_ACP_PDM Do you not need: select SND_SOC_AMD_ACP_LEGACY_COMMON Like how ACP63, Rembrandt, and Renoir all select? > + help > + This option enables Acp7.0 PDM support on AMD platform. > + Say Y if you want to enable AUDIO on ACP7.0 > + If unsure select "N". > + > config SND_SOC_AMD_MACH_COMMON > tristate > depends on X86 && PCI && I2C > diff --git a/sound/soc/amd/acp/Makefile b/sound/soc/amd/acp/Makefile > index dd85700f1c5f..ff5f7893b81e 100644 > --- a/sound/soc/amd/acp/Makefile > +++ b/sound/soc/amd/acp/Makefile > @@ -15,6 +15,7 @@ snd-acp-pci-objs := acp-pci.o > snd-acp-renoir-objs := acp-renoir.o > snd-acp-rembrandt-objs := acp-rembrandt.o > snd-acp63-objs := acp63.o > +snd-acp70-objs := acp70.o > > #machine specific driver > snd-acp-mach-objs := acp-mach-common.o > @@ -30,6 +31,7 @@ obj-$(CONFIG_SND_SOC_AMD_ACP_PCI) += snd-acp-pci.o > obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o > obj-$(CONFIG_SND_AMD_ASOC_REMBRANDT) += snd-acp-rembrandt.o > obj-$(CONFIG_SND_AMD_ASOC_ACP63) += snd-acp63.o > +obj-$(CONFIG_SND_AMD_ASOC_ACP70) += snd-acp70.o > > obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o > obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
On Mon, 13 Nov 2023 18:03:42 +0530, Syed Saba Kareem wrote: > ACP7.0 based platform legacy drivers can be built by selecting > necessary kernel config option. This patch enables build support > of the same. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: amd: acp: add Kconfig options for acp7.0 based platform driver commit: d3534684ada99ef8c0899eb28c62b4462483ee19 [2/2] ASoC: amd: acp: add pm ops support for renoir platform (no commit info) All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
On 11/13/23 21:49, Mario Limonciello wrote: > On 11/13/2023 06:33, Syed Saba Kareem wrote: >> ACP7.0 based platform legacy drivers can be built by selecting >> necessary kernel config option. This patch enables build support >> of the same. >> >> Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com> >> --- >> changes since v1: >> - added missing commit message. >> >> sound/soc/amd/acp/Kconfig | 12 ++++++++++++ >> sound/soc/amd/acp/Makefile | 2 ++ >> 2 files changed, 14 insertions(+) >> >> diff --git a/sound/soc/amd/acp/Kconfig b/sound/soc/amd/acp/Kconfig >> index 5fb322212938..c8ac0027f741 100644 >> --- a/sound/soc/amd/acp/Kconfig >> +++ b/sound/soc/amd/acp/Kconfig >> @@ -73,6 +73,18 @@ config SND_AMD_ASOC_ACP63 >> Say Y if you want to enable AUDIO on ACP6.3 >> If unsure select "N". >> +config SND_AMD_ASOC_ACP70 >> + tristate "AMD ACP ASOC Acp7.0 Support" >> + depends on X86 && PCI >> + depends on ACPI >> + select SND_SOC_AMD_ACP_PCM >> + select SND_SOC_AMD_ACP_I2S >> + select SND_SOC_AMD_ACP_PDM > > Do you not need: > > select SND_SOC_AMD_ACP_LEGACY_COMMON > > Like how ACP63, Rembrandt, and Renoir all select? > Yes, this flag is missing will upstream the fix as an incremental patch. >> + help >> + This option enables Acp7.0 PDM support on AMD platform. >> + Say Y if you want to enable AUDIO on ACP7.0 >> + If unsure select "N". >> + >> config SND_SOC_AMD_MACH_COMMON >> tristate >> depends on X86 && PCI && I2C >> diff --git a/sound/soc/amd/acp/Makefile b/sound/soc/amd/acp/Makefile >> index dd85700f1c5f..ff5f7893b81e 100644 >> --- a/sound/soc/amd/acp/Makefile >> +++ b/sound/soc/amd/acp/Makefile >> @@ -15,6 +15,7 @@ snd-acp-pci-objs := acp-pci.o >> snd-acp-renoir-objs := acp-renoir.o >> snd-acp-rembrandt-objs := acp-rembrandt.o >> snd-acp63-objs := acp63.o >> +snd-acp70-objs := acp70.o >> #machine specific driver >> snd-acp-mach-objs := acp-mach-common.o >> @@ -30,6 +31,7 @@ obj-$(CONFIG_SND_SOC_AMD_ACP_PCI) += snd-acp-pci.o >> obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o >> obj-$(CONFIG_SND_AMD_ASOC_REMBRANDT) += snd-acp-rembrandt.o >> obj-$(CONFIG_SND_AMD_ASOC_ACP63) += snd-acp63.o >> +obj-$(CONFIG_SND_AMD_ASOC_ACP70) += snd-acp70.o >> obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o >> obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o >
diff --git a/sound/soc/amd/acp/Kconfig b/sound/soc/amd/acp/Kconfig index 5fb322212938..c8ac0027f741 100644 --- a/sound/soc/amd/acp/Kconfig +++ b/sound/soc/amd/acp/Kconfig @@ -73,6 +73,18 @@ config SND_AMD_ASOC_ACP63 Say Y if you want to enable AUDIO on ACP6.3 If unsure select "N". +config SND_AMD_ASOC_ACP70 + tristate "AMD ACP ASOC Acp7.0 Support" + depends on X86 && PCI + depends on ACPI + select SND_SOC_AMD_ACP_PCM + select SND_SOC_AMD_ACP_I2S + select SND_SOC_AMD_ACP_PDM + help + This option enables Acp7.0 PDM support on AMD platform. + Say Y if you want to enable AUDIO on ACP7.0 + If unsure select "N". + config SND_SOC_AMD_MACH_COMMON tristate depends on X86 && PCI && I2C diff --git a/sound/soc/amd/acp/Makefile b/sound/soc/amd/acp/Makefile index dd85700f1c5f..ff5f7893b81e 100644 --- a/sound/soc/amd/acp/Makefile +++ b/sound/soc/amd/acp/Makefile @@ -15,6 +15,7 @@ snd-acp-pci-objs := acp-pci.o snd-acp-renoir-objs := acp-renoir.o snd-acp-rembrandt-objs := acp-rembrandt.o snd-acp63-objs := acp63.o +snd-acp70-objs := acp70.o #machine specific driver snd-acp-mach-objs := acp-mach-common.o @@ -30,6 +31,7 @@ obj-$(CONFIG_SND_SOC_AMD_ACP_PCI) += snd-acp-pci.o obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o obj-$(CONFIG_SND_AMD_ASOC_REMBRANDT) += snd-acp-rembrandt.o obj-$(CONFIG_SND_AMD_ASOC_ACP63) += snd-acp63.o +obj-$(CONFIG_SND_AMD_ASOC_ACP70) += snd-acp70.o obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o