Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4214061pxb; Thu, 14 Oct 2021 00:21:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDiTvartQzjAqlj4JJP6cME4zScFVd1Mf4vFlE2ZDIs5qkV73vtVEPb+LVnMhfEQDLrGnq X-Received: by 2002:a63:7c1e:: with SMTP id x30mr3004648pgc.374.1634196070408; Thu, 14 Oct 2021 00:21:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1634196070; cv=pass; d=google.com; s=arc-20160816; b=anwle2oLCR0uLBV6qABSioXYA+X8jxd0m831nmtmlXA9IrHFFTOkphF2LutBq7zF6g 4sPU5Z0Vx1ijYU2g7gHV5Yi0oKQqEIPqJ8ISh4sKQ3cucjybFPhjnDeLSsAQn1fIMngw tcGMngk+288TwHN6ehlNtrid5oHBdO/Klt+3/i7kL5BwfcyuPw4Q6bdWotMZt4fUKRYo tdBc1C1BrZejBghJL2+Bh7/RiTUB8Cag63GmPQnYRMu3KGesnsZJ7IPe3PrlkQ2yQ2pb hzgMI8Ejzen8SggxsoijpRdVka6fOgFef47/zhMeGJJqKBSsdARaNtiJutYScpJpMCud VSSg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aT+Y6v6NPJ4rbs8YMdRE/3JOMouhciknac1v9KHIV6k=; b=KMlYA6krGNsPsjTaT8pOXMC7uz+Xsru9VwuzUIniul/tqjR1IlV8NtqottHg8nZmJs Ff4uBDRjXkafmtJT8yxjUMPggLbZ0MjDbWSOBUmL2wQWsxJrqj+6++fGW3EoTl1w1DNA ecM5MD/tFsM6A5bwJkhpJY1qHh3Etca9Fv6A/sTqR1TluD5tzu+b3N2SO8Kp/Qv+Kwk0 tRC/zp/0O0rwgGyAHx9D8rdREB4qcUzSoEm6Q2URtsTjIDbGtj4CUAoici6JS7b2fcYk qF1JB1C/LkU9LvfXyRkvmgmycvP0WGMF4hWqFSVB0mq8LwruzCeNNGQZ0nrQcMJ+/la/ zMPg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=NIfoH+jd; 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 ng10si3114333pjb.148.2021.10.14.00.20.57; Thu, 14 Oct 2021 00:21:10 -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=NIfoH+jd; 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 S230118AbhJNHUV (ORCPT + 99 others); Thu, 14 Oct 2021 03:20:21 -0400 Received: from mail-mw2nam10on2053.outbound.protection.outlook.com ([40.107.94.53]:6311 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230128AbhJNHUQ (ORCPT ); Thu, 14 Oct 2021 03:20:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kU2e8k4QxMUjkAOCzdZq4Z+RUDh+whpcDdSik4aNo0dblI/DSrn9l7slMd89JqiijLzfJ7G+ocbSjTzU8vD81l7SuUgUinI78PMKWj5l+2UVywSaSgW7FKmAxeMJUMnwEI6HVzu/HVAWv/ayTK+HVZBZyrENnYDldpsw5lfAm75E2Hl/kIlXZoxY3lICR9e4EMISl6z/I4A/bA7JzVTrhzQRc/hQbj6J2uUKHTboDq/tzdGMPkrn0dH2Z8Hq+GwZbimEM1nNL/LuwfsftKV+NV5bB/5wfbHqUvI3s0H6mHZEfE8voLLNcQWE3O4+dV+zqOG75ZNtTKNA+i5lYJFPlQ== 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=aT+Y6v6NPJ4rbs8YMdRE/3JOMouhciknac1v9KHIV6k=; b=Q4+heO/lsgYolIH+OFa4vEAZXc8FcnQJtF+YEOXGrR8lsJRr99hc5qFjpXXch3GGIsHePYrYlnr/DYt113meIkQH1d91Ym5Jwb+wbhsMC/KMM5fc5waMN75aymAGnCnhTyBtyDxwxowYlNmMK6Sylp0UsleNHIC0srqMIVFLwNd/RPzptc2n+bR/OpsdHnIA1Msk7yFqyUwOlX9EYyiSZIm1QoUxYVBVCDik4YAAGfW1YTwjY1rq39FHRRhd5IsvQ6O/KwjxQbaBcE63Zof9ot4o9rx/2/5dU8hUURzsyekJnmu/vq6Lrak8ahWpV8gaU/JsGFwEKgDxRTChegAFpw== 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=aT+Y6v6NPJ4rbs8YMdRE/3JOMouhciknac1v9KHIV6k=; b=NIfoH+jdP5LT3LofoZRSjsbUDF2GC6WSZ2TTrgI/yYkCTpJAaNXE+3rE+oeXiYNG4EfLr+PGVTkMvcGqzeMxd6VeYom2Jw2glvbdDH44xftjJ1fV7HOEwfAXWhoNPXgLTMSbbfWxHh+5kWX51pQY4FAnZJqTjQGM2cT7aP+/USU= Received: from BN6PR19CA0050.namprd19.prod.outlook.com (2603:10b6:404:e3::12) by MN2PR12MB4550.namprd12.prod.outlook.com (2603:10b6:208:24e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Thu, 14 Oct 2021 07:18:06 +0000 Received: from BN8NAM11FT033.eop-nam11.prod.protection.outlook.com (2603:10b6:404:e3:cafe::e0) by BN6PR19CA0050.outlook.office365.com (2603:10b6:404:e3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15 via Frontend Transport; Thu, 14 Oct 2021 07:18:06 +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=SATLEXMB03.amd.com; Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT033.mail.protection.outlook.com (10.13.177.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4608.15 via Frontend Transport; Thu, 14 Oct 2021 07:18:05 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) 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.2308.8; Thu, 14 Oct 2021 02:18:05 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 14 Oct 2021 00:18:05 -0700 Received: from vijendar-System-Product-Name.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2308.8 via Frontend Transport; Thu, 14 Oct 2021 02:18:01 -0500 From: Vijendar Mukunda To: , CC: , , , Vijendar Mukunda , "Liam Girdwood" , Jaroslav Kysela , "Takashi Iwai" , Pierre-Louis Bossart , open list Subject: [PATCH V2 3/3] ASoC: amd: enable vangogh platform machine driver build Date: Thu, 14 Oct 2021 12:47:10 +0530 Message-ID: <20211014071714.836410-3-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211014071714.836410-1-Vijendar.Mukunda@amd.com> References: <20211014071714.836410-1-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a8948bae-e121-4b43-c6a3-08d98ee2c470 X-MS-TrafficTypeDiagnostic: MN2PR12MB4550: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1388; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UgcvA+/93g6AhbKJ2izLir6ip8/W8bVhpUdrTGbus5cHTWbOMTRWlE0FiTp5ffmFO/S8H9BPS0DE1V1EBinxi+McZcptKZjnWM8DMvyxz7ilXEtT1MEQWlCQLLij9HL5meOTlw+lgQylB3CnCMeDCXngRxAQHwQfF4x/ME9mWvvL64BnvNFkBJct+h0rdlOMwESxz2MYm9oa5VLoSrepLiig+Umn6o+qRF5aoEvhAJj+3J4ONmXnSgLqcuKtzBTi5hHgn2+vFppBb3/awsCgb291ceTD9/tLmeFYLCXzRngODhGWqoPfMWsjOWpzHg11j9yVgUAC2n2njbccXm1y+DNxnR5uYQOxFfgMtriJtui3/9uBub6qqxlxWgHN+jPWeeylNqW0TvTnpJccBrHugmLQLaN2pa+DNwEirRQ5Lmz3eon0kdLZQsJ+C6r8PnGuhBPzNULlxNM1jBVxoj0u8YBAW24hztAK8x2XGWUPQApDDQME6BH/9FUmmNq/96nKAfCJ2/wWDod6nXNPiMYeap5e1+UFBB3sfcvitX0QKX69KrcOHRsfbvU1US5sGUw3qREunU60kKx9ya4Xr1iGj0Gdp5opEPixADQQs7UJEGDP5bfQcAtKz8o+j4XjF8ux/w/XBHI6cHK0kFjA+FhqSyanY1RNiXiprsx8A+frUvAcocYiBUpwoVazjNOlTF024GNK7JCBveTdhWld6+1VLP+MkHfP3Ti+cdzmBm2xxHA= 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:(4636009)(46966006)(36840700001)(26005)(1076003)(54906003)(508600001)(7696005)(5660300002)(110136005)(186003)(86362001)(356005)(6666004)(426003)(336012)(83380400001)(316002)(81166007)(8676002)(82310400003)(2616005)(70206006)(8936002)(70586007)(47076005)(36860700001)(2906002)(36756003)(4326008)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2021 07:18:05.8504 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a8948bae-e121-4b43-c6a3-08d98ee2c470 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: BN8NAM11FT033.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4550 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable vangogh platform machine driver build. Signed-off-by: VIjendar Mukunda --- changes since v1: - fixed Kconfig indentation issue. sound/soc/amd/Kconfig | 11 +++++++++++ sound/soc/amd/vangogh/Makefile | 2 ++ 2 files changed, 13 insertions(+) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 49ff5e73e9ba..ef431eae8879 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -61,3 +61,14 @@ config SND_SOC_AMD_ACP5x By enabling this flag build will trigger for ACP PCI driver, ACP DMA driver, CPU DAI driver. + +config SND_SOC_AMD_VANGOGH_MACH + tristate "AMD Vangogh support for NAU8821 CS35L41" + select SND_SOC_NAU8821 + select SND_SOC_CS35L41_SPI + depends on SND_SOC_AMD_ACP5x && I2C + help + This option enables machine driver for Vangogh platform + using NAU8821 and CS35L41 codecs. + Say m if you have such a device. + If unsure select "N". diff --git a/sound/soc/amd/vangogh/Makefile b/sound/soc/amd/vangogh/Makefile index 3353f93dc610..c9e53e04e247 100644 --- a/sound/soc/amd/vangogh/Makefile +++ b/sound/soc/amd/vangogh/Makefile @@ -3,7 +3,9 @@ snd-pci-acp5x-objs := pci-acp5x.o snd-acp5x-i2s-objs := acp5x-i2s.o snd-acp5x-pcm-dma-objs := acp5x-pcm-dma.o +snd-soc-acp5x-mach-objs := acp5x-mach.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 +obj-$(CONFIG_SND_SOC_AMD_VANGOGH_MACH) += snd-soc-acp5x-mach.o -- 2.25.1