Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1461171pxb; Mon, 11 Oct 2021 06:33:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO5J+jhgqSphsl5B5rSzUfRiay6GzMqkhQVnJBJopgyvPJQXdfyz3kQMCPqrFgP7ut5EHA X-Received: by 2002:a17:907:9889:: with SMTP id ja9mr26766444ejc.361.1633959227733; Mon, 11 Oct 2021 06:33:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633959227; cv=pass; d=google.com; s=arc-20160816; b=UwXUN+B2g1vnIEFljekZvIvUPbz+fb7OdC38UvPk4OSUaQls9jYm0uGjyxSQclj8cj QITl6xcNhopy5fzB/VFePRz7I7dcxZd3xmf0ZuOgq0BLmvTFlFL/pzFwB8JH4y8KbUkM Il35qHTrNYleho9/S4UF4ZfQWAf7GxuEM2Q3kaJnACw3nT+Su3yBo0HPuefdbZFk/P2D GuIt/kabuhSrMGgAUhr6r4PGTkc26KdpwCT/UXFFvA/6CPM8cfWXI+p+KrqGEKhf1pOk SNAFVlPM14aUmqaoT2uHqnij1D7uEK4mOS5QTRCFHOYa04AxeOZro4gJntmGFptEw8HY uplQ== 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=h3d7GJM2B7fttw5/M/4zsqgJeqiniU3ZWqbHXnW4QbA=; b=bvy35RwvwE4Kp5X8U4nsaU8EDx1lTGCoObsoIf9XqyGJgDNHNuGBXRlLEvrbRwFq2o MMa5ljMQcaZ/EC+Vd/2xTHQdw2J4lEMxWoiEszdub2z66+zQsrs7BJS5yGyCnD7eDLmw WmM2G3LsT5n5Fg3mBu1//UzHo+dkgbEAl63w7mBujXNoBGqLF4gyR1ttlCVdtZrg49Jx ocVwDMAfIdmMLDYBdapK1/TOhSjuLXJohfSc6zpXiL0O234KAFwHQml65FmzP3kPOTma X2+5AsRKJzUqbtV1d9X7CrqewDjWNSv4QyeMwO3G01TnUkeDY6YMTA7deb/Zhr4XhAt0 J2bQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Btau13ME; 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 dj1si10493600edb.462.2021.10.11.06.33.21; Mon, 11 Oct 2021 06:33:47 -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=Btau13ME; 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 S235867AbhJKK2Z (ORCPT + 99 others); Mon, 11 Oct 2021 06:28:25 -0400 Received: from mail-dm3nam07on2047.outbound.protection.outlook.com ([40.107.95.47]:40769 "EHLO NAM02-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235846AbhJKK2X (ORCPT ); Mon, 11 Oct 2021 06:28:23 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W/hLfMtnFjrcm7tZTbVXyZ4kmJ8+1U+jo9Uu7IUDTBE7tEhWwUohE8G9TbKCkE7aS853uM728BtoQV2uAnJMWnO1/FNY1ZThCY2W1BldM/DmQEz3elZipH5jKf9+18ak7pr8xQ4HpMewpn//jK6c1D2R9BJz7W7Q16pFP+k9X0hOmM9mtpvwuC6B3gHwlPe7fMfR8k0SgfF4jaY6xD1OU7USBmsoIcmfluorQgRegzY+nQj8yeu3WS9FRmX7uQFAZNFiFyd4/SE4O/Xl9veCAdwP/LTh5Bxr26F85XL+z0/ScOCIjhCCrfgPPs6tD2zWweDMK/VT9SCR8uzTrtybZg== 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=h3d7GJM2B7fttw5/M/4zsqgJeqiniU3ZWqbHXnW4QbA=; b=NiM/w2B6Sjhd6FuNMrcgJFTn0H7e3PVnjNPQOA2wq66xplJ4TNbuF3RMGymVWxeCbxMGH9mLnbf4vlYSFLk50I0quX3iMNzv4o3qw1WiA0BxdyVe05Qkfm9KYQuR/7v6/A7XCEmJlUkX4QLC1mIFcexYfQ3MVg05+HoVLXDGnqAMOO9MGom0pOc0E4A3rgOAmWkhSkYk9KLrym473u/KxtU6L2IkTWZpj71r+hLXK3EtD6vXlmujShOUww5EvGF07k9XVLjho0D5MshSC79x6i600v/DNCIpHwpxYnWi9+TKXHcGwFXWB4MFG61Jm84NSTUgRh28zN3C58hddSeA8Q== 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=h3d7GJM2B7fttw5/M/4zsqgJeqiniU3ZWqbHXnW4QbA=; b=Btau13MEzZW4LDNn+/IrbEcugm6A73MnyDhmBFh6TdFiiKGU27T0kSJrM9YO/H+39TdhJt52cew5np5trJpNQf+0sRluZZWmssK/fAnERwSMOytDZe3WQTECoiOLspJ6wnvUKdJfepXy/t00hFn9YLovt6qbhEU3kEZvdMNvuOI= Received: from MW4PR03CA0075.namprd03.prod.outlook.com (2603:10b6:303:b6::20) by BY5PR12MB4934.namprd12.prod.outlook.com (2603:10b6:a03:1db::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25; Mon, 11 Oct 2021 10:26:21 +0000 Received: from CO1NAM11FT060.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b6:cafe::49) by MW4PR03CA0075.outlook.office365.com (2603:10b6:303:b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25 via Frontend Transport; Mon, 11 Oct 2021 10:26:21 +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 CO1NAM11FT060.mail.protection.outlook.com (10.13.175.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4587.18 via Frontend Transport; Mon, 11 Oct 2021 10:26:20 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) 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; Mon, 11 Oct 2021 05:26:18 -0500 Received: from vijendar-System-Product-Name.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2308.8 via Frontend Transport; Mon, 11 Oct 2021 05:26:15 -0500 From: Vijendar Mukunda To: , CC: , , , , Vijendar Mukunda , Liam Girdwood , "Jaroslav Kysela" , Takashi Iwai , Pierre-Louis Bossart , open list Subject: [PATCH 3/3] ASoC: amd: enable Vangogh platform machine driver build Date: Tue, 12 Oct 2021 00:17:03 +0530 Message-ID: <20211011184715.61573-3-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211011184715.61573-1-Vijendar.Mukunda@amd.com> References: <20211011184715.61573-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: 1830a930-981c-49e4-35bf-08d98ca191a3 X-MS-TrafficTypeDiagnostic: BY5PR12MB4934: 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: az1TRUmFEmv2vtthOG02CAE7Mxj9pXV2iXMLHDMNsAB0Oj2FBHAMi7VpD5UHN941j+UIpSJVo/99EvNvWdooZh/Z6EjQ5n618wsunKlOUGXVrzkdWnwtfrdR7qQIHlejBR6Grt5WU/6alMHKQsTczBtukFXRH6yQ1TESyIY4khOqKciBQ1eK6vG6w6N4jgVJd6+dPFk3FHG/HM8DrJ0PmzGgs1xR/djSjtz1sY8R5oOLzlYWXi6/GDSDseK0sL+YuUfVvqdWKPuhvNtTeCWkybv+pT1kWqY4PrdAqUuRUz91/kG72UCf6lwe5bN0ecakbOc6LCqX2lvTWyHkmj2EMhDymiLfVm7RS+DAKjY5gmWvb4T/4tfcv78kZnZ46iHEqhnJoRtUK0YuSGkLf3O5aFY3c5rw0QGy4jMwn0gY3i4qmvytddO+YnA/gmeYdT13otuqsT/vFOU6Aivg4r9sC1+02nHwZIMCoT4f5Sc2cv80N/jGkxCJlQ+fb6/rh4vSUEfRfx7h+BOT50SrTqTBL43V94mayJWerZhQcjQb07cokTALlg8CxH3i6PHiYEbAM70mZF7RV0BCsML1SFFnlE4PWAvYc5/RS1oVLw4eBYBNQ2Ir+xMj/lchhvQIxz98wz3n44z7WdU3qDzsWVx1ttpKKsTHSkXe3pTpUoxUp+nE4ByMEyOXWOcxxMeIuY9K2THcfhVNbev5Tg0sWk1LSkv2snRZU9vTK5+1xn5frX4= 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)(36840700001)(46966006)(2906002)(316002)(36860700001)(356005)(81166007)(426003)(4326008)(82310400003)(1076003)(86362001)(70206006)(47076005)(2616005)(70586007)(336012)(7696005)(110136005)(6666004)(36756003)(54906003)(8936002)(186003)(26005)(5660300002)(508600001)(8676002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2021 10:26:20.9032 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1830a930-981c-49e4-35bf-08d98ca191a3 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: CO1NAM11FT060.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4934 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable Vangogh platform machine driver build. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/Kconfig | 8 ++++++++ sound/soc/amd/vangogh/Makefile | 2 ++ 2 files changed, 10 insertions(+) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 49ff5e73e9ba..bab6d6fb3165 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -61,3 +61,11 @@ 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. diff --git a/sound/soc/amd/vangogh/Makefile b/sound/soc/amd/vangogh/Makefile index 3353f93dc610..ae2cda804e2f 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-nu8821-cs35l41.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