Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3901448pxv; Mon, 19 Jul 2021 11:31:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkCG2jYWzSBPJ0+XW2jPtN4cnrY8rwq8ssBUAeVz8XsV6tS7bTMRsX9iyB2vCYReFnhKMM X-Received: by 2002:a05:6402:d4c:: with SMTP id ec12mr36862620edb.246.1626719377037; Mon, 19 Jul 2021 11:29:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626719377; cv=pass; d=google.com; s=arc-20160816; b=df6itdYC9Q6BdzUrQbGOfYyTvIqbQ0frWnLgtnUGP1hob6fmNyvHGC9jzhhqngD451 5t6ZXusmrt/FfpahRa2ZkQpEp7HS1IGpnmO6KeIwHiufrpfZxVUOnRAceLvd7u3DuEsB nu9DrkoU3n8V5zMYWxhWfDJOmYLDWJwUGalpWwZtFs9nCqcr/14Nwt6UOBiYBFKWFVMo fKtQUfun2TmdvUs8G1kUNzjRiWO0MIMgcu1VMg9Jwta+rRfvGEL6CfGysGKqZLu9C8at AVKWlFp4aRD4ah6VsOdMV+iVF2oM49YMi+Dc/n7snpQCHzoOptAax/c/BYPbtfEXjl90 HAFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=itoC+dU7JqRwv4JQILTVtQf6KRWj2ygEKdHZk2k/eoY=; b=Xkay7KGowFHcZDwPhzDY2dP19InxlXN+8+9DJEWPilZ72MDLZ2b9pn/7xg/rJKBKw6 V2+BTO1rfZkFfhK0W5UnO6Gpa07yz6/wmbToc2bVTj9OfpdILXKFZlMA6BecvA+g6DJI 74H7YU6HsJSTRg57ZA+5+a2ri1OCpHwCrog8DhErhvePh8gLfJnLYdszKbZoUDZQMv5b mtGo1TkSV1r/BCZ+SD4FGJ4rUz8Invfh66ck22Ff9uF+5b2qMojgGQZ4oam59wL4kBTn 4qAnYHwvaAOqpmB0KfYy47sUjbSAGV8lptvhwYjKAndwVKac7YK598Ae0oggn/+vImr/ Pfzw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=5OH0hhO3; 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.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh3si20374226edb.260.2021.07.19.11.29.12; Mon, 19 Jul 2021 11:29:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=5OH0hhO3; 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.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381217AbhGSRhp (ORCPT + 99 others); Mon, 19 Jul 2021 13:37:45 -0400 Received: from mail-bn8nam11on2080.outbound.protection.outlook.com ([40.107.236.80]:17984 "EHLO NAM11-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1349122AbhGSP5r (ORCPT ); Mon, 19 Jul 2021 11:57:47 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mCEi9WBwo4YR+8QTUOgHFDHKKfl3FtWbzi+mJl34HdtUCbM84LhtoF3dOer61xN1B3MU38YjpFW7icjdsGHiiLayWPlbO7Z2xcwSkHXBy2gAJPOwkaDp/jpabi/iv0Fvv6qukEIITc6ZmUl5aWNrCve2PsRtRrlK7JaP/dagmJUbVoHA9Od7ZhrntX/zaU1Ju+02+//Ll0EXcZgeZPZjCOAQ3bl5vHB5cTVgCl1sn1H0DW2C+M/BSRPOsVocT94IErDTDKKtGrXxqa8oe9a61SE1qD1AncPLBMjtpkywLSNOU1FTL4DEwfGv+XDtWtDpe/39nWwf+jiaiFzjKkpOTw== 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-SenderADCheck; bh=itoC+dU7JqRwv4JQILTVtQf6KRWj2ygEKdHZk2k/eoY=; b=REEBaP6yd/vbVL/nkml5r0IkliCI1TO9SkeZJZnic6ebvhOmTtRj2K04QZPAc1GEYj2xmaIM0X5nk8nwGbES1b0wESMQfmRE3Rn9a/ga5eNPG7BSeEqUZvNNPhSserMrigsxy4zo8qu8a/HG/l2UJJmK1qRucMrd9m0bl4OANpO00bXHxMohmg2L6fSk23KWieozFIvwAfzbiTbEGB99pkFPGUF1K4B0TscEoUp+Esw3OkdIU/07wOdjLzjV9ww3be6qwGs7l8en0SDgSoHXD6Ql+vNfThm7C5TkRa2p5RGsv0wjS3dIzNB6ufWYsvgAXVbSjC0zInscH0N+fC4JmQ== 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 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=itoC+dU7JqRwv4JQILTVtQf6KRWj2ygEKdHZk2k/eoY=; b=5OH0hhO3NAftOjqJzYOV4Xcpm3HoC4CC/ylXjkWIFMUJNGnX6TOtyvRSsrHhXetFy68iilA3uV1t4ZBloQWEGwQx29yNINYnFoXUtJ0Jd4m7b+aSaKEXTChXwdeYwuGQHrDIP1gSy89UlcrwF8vZEsegdSEy3appiyiBvEqWMjM= Received: from DM5PR16CA0005.namprd16.prod.outlook.com (2603:10b6:3:c0::15) by DM6PR12MB3178.namprd12.prod.outlook.com (2603:10b6:5:18d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.29; Mon, 19 Jul 2021 16:37:25 +0000 Received: from DM6NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:3:c0:cafe::1c) by DM5PR16CA0005.outlook.office365.com (2603:10b6:3:c0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 16:37:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; 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=SATLEXMB04.amd.com; Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT037.mail.protection.outlook.com (10.13.172.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 16:37:25 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 19 Jul 2021 11:37:24 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 19 Jul 2021 11:37:24 -0500 Received: from LinuxHost.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2242.4 via Frontend Transport; Mon, 19 Jul 2021 11:37:15 -0500 From: Vijendar Mukunda To: , CC: , , , Vijendar Mukunda , Vijendar Mukunda , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Ravulapati Vishnu vardhan rao , open list Subject: [PATCH V3 12/12] ASoC: amd: enable vangogh acp5x driver build Date: Mon, 19 Jul 2021 22:21:40 +0530 Message-ID: <20210719165140.16143-13-vijendar.mukunda@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210719165140.16143-1-vijendar.mukunda@amd.com> References: <20210719165140.16143-1-vijendar.mukunda@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fc8681c0-2373-4ad9-2e33-08d94ad37d80 X-MS-TrafficTypeDiagnostic: DM6PR12MB3178: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j6vrcZ68Tv3xz24aNPCZnEYTiNuIej5sW9Z1pXeMX57gBOX3JG2k0sWI2X/qt+nSWWXBlGiUfJgUb+mSW3/LMMrFIsoIAiJyi+qpTiZkIDv/5dA1eCs8yBHFtos5HMygZxR5bYU9Db5oNU44dUcKAjFrgSN4krkBpMqLLN7yg2WpkgPBNWa9sL/HjjvP/8tbEuH+VVOiZlY9Dvolngbw/56l0f+GxzPy1BD/uc+wKeT71/AHzkDqP/Ln3w+8TwM2xiC7rVYoEqfPnGu/MLJzIfIJYD1Fkk/NUFbrt0PgLR+d4DXbUIcnP2UP3DSxqWUU3ytwJ4oCw0CVv36Ji/eTk5TEIW1H0yJyUDTaMOZRjIwIEKfP3Ovwk3MRLFzrNM9YfkTiROqY6luaWz9eBv4frK4XMCIbuzE1GWQCwsoi8rYoWWRx3YA1cbjyG6ar5bA2A0ObOusjg3g0efhiBGe2WxP3lKNa0dE81LxGmZVegr2KGsOnwZWD3gM67FIN0PRAqVUB+rTkX0C/qRp+Na0E7L7oquJqubnXLLeZ1dI/Aw4B2QXNNaqG9F5Pp5uNDVo5+4YcXx6jMmK+Y+09pTAm7/E6n8kVwt9vsLgiOt9UIbMJ0uGmwkGXKTB0GWAJ8miTu9eljihebJI3dCnBOHXdIXfq7JFMUN45yH5fgQaNqn4fLjNk6nJl+ik5JHz1mvZD7sx24peSNzyBq3wGu81RNcT9xatrlHLSbrJK+i5QX/wSmgfNQUyYE8Mp7LEV7TDCNPvXR3MIwhqszdB+F9wPjQtPUA9SMCSmNAxGHKq133Q= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(136003)(346002)(39860400002)(396003)(376002)(36840700001)(46966006)(336012)(70206006)(186003)(70586007)(6666004)(86362001)(478600001)(7696005)(81166007)(356005)(54906003)(47076005)(26005)(110136005)(2616005)(36860700001)(5660300002)(36756003)(426003)(316002)(2906002)(1076003)(82740400003)(82310400003)(4326008)(8936002)(8676002)(44832011)(42413003)(32563001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 16:37:25.2493 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc8681c0-2373-4ad9-2e33-08d94ad37d80 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=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3178 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vangogh ACP5x drivers can be built by selecting necessary kernel config option. The patch enables build support of the same. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/Kconfig | 9 +++++++++ sound/soc/amd/Makefile | 1 + sound/soc/amd/vangogh/Makefile | 9 +++++++++ 3 files changed, 19 insertions(+) create mode 100644 sound/soc/amd/vangogh/Makefile diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index ba5a85bf7412..cc48d4e5b080 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -52,3 +52,12 @@ config SND_SOC_AMD_RENOIR_MACH depends on SND_SOC_AMD_RENOIR help This option enables machine driver for DMIC + +config SND_SOC_AMD_ACP5x + tristate "AMD Audio Coprocessor-v5.x I2S support" + depends on X86 && PCI + help + This option enables ACP v5.x support on AMD platform + + By enabling this flag build will trigger for ACP PCI driver, + ACP DMA drvier, CPU DAI driver. diff --git a/sound/soc/amd/Makefile b/sound/soc/amd/Makefile index e6df2f72a2a1..07150d26f315 100644 --- a/sound/soc/amd/Makefile +++ b/sound/soc/amd/Makefile @@ -10,3 +10,4 @@ obj-$(CONFIG_SND_SOC_AMD_CZ_RT5645_MACH) += snd-soc-acp-rt5645-mach.o obj-$(CONFIG_SND_SOC_AMD_ACP3x) += raven/ obj-$(CONFIG_SND_SOC_AMD_RV_RT5682_MACH) += snd-soc-acp-rt5682-mach.o obj-$(CONFIG_SND_SOC_AMD_RENOIR) += renoir/ +obj-$(CONFIG_SND_SOC_AMD_ACP5x) += vangogh/ diff --git a/sound/soc/amd/vangogh/Makefile b/sound/soc/amd/vangogh/Makefile new file mode 100644 index 000000000000..3353f93dc610 --- /dev/null +++ b/sound/soc/amd/vangogh/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0+ +# Vangogh platform Support +snd-pci-acp5x-objs := pci-acp5x.o +snd-acp5x-i2s-objs := acp5x-i2s.o +snd-acp5x-pcm-dma-objs := acp5x-pcm-dma.o + +obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-pci-acp5x.o +obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-acp5x-i2s.o +obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-acp5x-pcm-dma.o -- 2.17.1