Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1173984imi; Fri, 1 Jul 2022 04:46:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v9UQrmFuKOO0HgZTjF9Yq75gCPDkPo10+XxQ2ltoolZKUJHhzizCBiJjw98Ym5sZU5eWjJ X-Received: by 2002:a63:1d04:0:b0:40d:a3e5:aa3a with SMTP id d4-20020a631d04000000b0040da3e5aa3amr11856466pgd.248.1656676015410; Fri, 01 Jul 2022 04:46:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656676015; cv=pass; d=google.com; s=arc-20160816; b=eH9N5KteFHVRaeY/BfUu1iAjDln/y3OSq0zd8ImJFGLr07hQzv616zXmGEmrG+E0/r VfaAO61COtkbdhDSDVxGjJwI/xe79YhH7MZEsVlgxl5M0n6ZfRb8PAFNXyd6/kytKpZD u1ZVWhoTw9mX01TDyDf//fT6Hf+GC623Ctc9XPZlkYWle6dhURgRewqK4bOCoaNW5h+A dJ6g3VI8rE/QExDY9+w/br4VACuf8ytOcZyALAKIpWqkQ/mxvTAyZRzmUrgavvC7j/QA uyDjqFv6csKZ2HwJNgKgQL9BX+Gt+Y4BROsEpCMLcVmq6fszcLLNEQN11wrqlE1slVM7 HISQ== 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=EnXEjT7xGJkuuoOXJJaCxtZS4o8VKhWjMg8Le4FlwyQ=; b=aWnwFeFbaN8UshxhV4BZm/shsV9lgvGW1F+joq5OEhmjpKMa9fcFbGfcbhsPSFXywt WCVM626VZoxm3ffdeU+3c62G1VCLZ6g53IxSeBlZFdffERPu16CG7UwasOd2zXXdUwrs X9VCVtB34Gf6VIGoT1odxkhlKnRDLCH8vKDr8e68/Yx/DXMsKzWK76bEihpE+rg968ch Jw56WV/KrspF8arJ9vzqzKo/rmQhZ3ru2Rd7QB6UxSs2VQnyDSJTz9uP7ntbdPP8hC7J sYE+iTDSC1UpM4acmCrT99kgq3QkMPTB1U6tT+9xcv1mqwooO1F1QJQtn/YYNyH4hJE3 WGbw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=WUSCX2h6; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a630e01000000b003f641a6fe83si30817477pgl.277.2022.07.01.04.46.43; Fri, 01 Jul 2022 04:46:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=WUSCX2h6; 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 2620:137:e000::1:20 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 S235566AbiGALmM (ORCPT + 99 others); Fri, 1 Jul 2022 07:42:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235518AbiGALmI (ORCPT ); Fri, 1 Jul 2022 07:42:08 -0400 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2074.outbound.protection.outlook.com [40.107.95.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48D14823A5 for ; Fri, 1 Jul 2022 04:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IZ0wZ7vRgsg1YSqLOkoKOM/0dahC2g7x8ald5oNk50hyQlHe2s9kBlqp+n73LVC5bEs0zbsxZu4XWMadiLILZHyR3gXDGzmBcgC5i/+gbwo9+7XRWRHVUiwPV/2Hz7iDP33XPBU/T5YXu3ReaWj90RC7XaNDdndRWspCHCd4RDv3eT/wGtzXlJJruceX34j9Mg3lew6s7ByJJA9CBe7h6N1vU3aSIXVBMliRXa41gNnYsA2DyhKGyjR+qZSHZK9DYqNEh2SJJGne+wP1pN7CLPg8TqglZ+5tNockJfBKemA5ssoapzXcGeX2AnV2iKLiRWvZYbkcixitmwOhy66FDg== 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=EnXEjT7xGJkuuoOXJJaCxtZS4o8VKhWjMg8Le4FlwyQ=; b=LEVrmor/V8Adqo7lAw5j0zhtMPyT4rRv5nMc+v+oQFms6d/VXhQkv1lZRK4XDE+Mm3QDa7mXSIFUfI58URSArCuK93LpWdK7B2DNv3uoZs7DMSGieHV99/j40CmwK4nRiCThgXWUwMuFrP1DW5Gb1/eAAwB5BVptzalPN24AZ5W6z5ka6r2d7NaA1OCGgU9jP0v907Tpqm2Kb1v/kWh1tDHzrmcSisqZD4X2QIokElqNPpXjWaemfW6KKSvlua2nfXv+dA86qxqF/BCELpJCQLF+ZLuH3kxQWyxnkBGV2nZeoI1pSNtAXI0otnFG95kl3q6UJ9s7p1FoQmDRob2D3g== 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=EnXEjT7xGJkuuoOXJJaCxtZS4o8VKhWjMg8Le4FlwyQ=; b=WUSCX2h6Kz3VKz3u1bG/2dlY413JrRg7+dkKHGGoIrBqE510MfEoa4m47wDBzRoWtm32+KV8bTjGligABF9WzjIMkjwW+Bt3jI+xHBEsTNFisE+msX8xZ7aa80mKuodY0r25akfk30PWzkPFyy7JUWzOWQQzl2LEPY2S2NiTJ3Q= Received: from DM6PR18CA0036.namprd18.prod.outlook.com (2603:10b6:5:15b::49) by BL0PR12MB4754.namprd12.prod.outlook.com (2603:10b6:208:8e::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Fri, 1 Jul 2022 11:42:04 +0000 Received: from DM6NAM11FT052.eop-nam11.prod.protection.outlook.com (2603:10b6:5:15b:cafe::72) by DM6PR18CA0036.outlook.office365.com (2603:10b6:5:15b::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15 via Frontend Transport; Fri, 1 Jul 2022 11:42:04 +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 DM6NAM11FT052.mail.protection.outlook.com (10.13.172.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5395.17 via Frontend Transport; Fri, 1 Jul 2022 11:42:04 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) 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.2375.28; Fri, 1 Jul 2022 06:42:03 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 1 Jul 2022 04:42:03 -0700 Received: from vijendar-X570-GAMING-X.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Fri, 1 Jul 2022 06:41:58 -0500 From: Vijendar Mukunda To: , , , CC: , , , , Vijendar Mukunda , Liam Girdwood , "Jaroslav Kysela" , Takashi Iwai , Ajit Kumar Pandey , Pierre-Louis Bossart , Kai Vehmanen , Julian Braha , "Lucas Tanure" , Bard Liao , open list Subject: [PATCH V2 5/5] ASoC: amd: enable machine driver build for Jadeite platform Date: Fri, 1 Jul 2022 17:11:07 +0530 Message-ID: <20220701114107.1105948-6-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220701114107.1105948-1-Vijendar.Mukunda@amd.com> References: <20220701114107.1105948-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: 7d7775c1-dadd-460e-9b05-08da5b56b84b X-MS-TrafficTypeDiagnostic: BL0PR12MB4754:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8hgaMMP/sxPAX/JeoDzRXwNeK5oMJ5GAi5+LOcEvT7Nfr/2kNANRc+GQMsm/FYw+Nvmz7aJDWdKGYgEkraPoUOK0Y353EkPSxNQvv2VakCmK8e+VqHQyc1J4BKVm5GEBm7Q65la1j0v7aIYUjoH3TpZ3tIchyssqmS62xrwIcizeJb33TjtDPlrXLHkkwHd6ZmuRtn3iL/v41SEraS1Mo3nWtlboTZDl1XXWctErXXYeaG6zC7+z2KNMl9nu6tZiWSrRMtRD5PT69aJoejMA42E+yWkzaUYN0u5BZRPXO2GVTTW449qkvoE6+ttItW8afztTxIJMdj8X4xYjKKoD+chbGze139I2hRa7kZMi7h+FUk6RbqURfGwKhtx0hhCJKIk4YOgt5Vo005grVjDdamsX1XD0OqZDYt8ULVxeJIWsNBp6BRmTKL5+hZekRWqgxr9BkNX3cTwd3U6bVBO6seM9J+bdpbwl5DNWFYInY3sjyNRbD2sgtnkjCa1PiHnPPLNBxecIno/EbZZ7+T4WWGF6mMf7amCv6U3k3P7WXlwmFzAPaCR1kUxVG/iSGeaF4Ui74RAICwYGIeFyPQjP/BlRF29F6zO8tq78j0CKTUaXIOdbA4anu0jOdvn7nppZUeTntTAg1o2cPeOnSvh5qaTflZYv4Dt2Q+s9+tUKbHyryIfXv6KgMyNi18pPrRCv6xThYCOXV8449V+MGtjPc306ngd8uOOpbGi4kEwFSr4mbobVPTEUT+OpJ60oAobZtFTT02vAfkoHgbqnyEAPSXKk7fq+tPyMm4DjYn08qc/wUxunHTemXtmf9HaTXCGYJBoBs5JRiCGW/+J0iMJDoSnUhO4UYNHMFjC3W4H0RAg= 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:(13230016)(4636009)(136003)(346002)(39860400002)(376002)(396003)(46966006)(40470700004)(36840700001)(426003)(70206006)(70586007)(1076003)(8936002)(8676002)(81166007)(86362001)(40460700003)(36860700001)(2616005)(478600001)(5660300002)(82310400005)(36756003)(7416002)(110136005)(316002)(54906003)(4326008)(40480700001)(6666004)(2906002)(41300700001)(26005)(83380400001)(186003)(47076005)(82740400003)(336012)(7696005)(356005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2022 11:42:04.2686 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7d7775c1-dadd-460e-9b05-08da5b56b84b 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: DM6NAM11FT052.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4754 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org Enable machine driver build for Jadeite platform using ES8336 Codec. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/Kconfig | 13 +++++++++++++ sound/soc/amd/Makefile | 2 ++ 2 files changed, 15 insertions(+) diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 1381aec23048..c373f0823462 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -23,6 +23,19 @@ config SND_SOC_AMD_CZ_RT5645_MACH help This option enables machine driver for rt5645. +config SND_SOC_AMD_ST_ES8336_MACH + tristate "AMD ST support for ES8336" + select SND_SOC_ACPI + select SND_SOC_ES8316 + depends on SND_SOC_AMD_ACP + depends on ACPI || COMPILE_TEST + depends on I2C || COMPILE_TEST + help + This option enables machine driver for Jadeite platform + using es8336 codec. + Say m if you have such a device. + If unsure select "N". + config SND_SOC_AMD_ACP3x tristate "AMD Audio Coprocessor-v3.x support" depends on X86 && PCI diff --git a/sound/soc/amd/Makefile b/sound/soc/amd/Makefile index 4b1f77930a4a..8823f6f28611 100644 --- a/sound/soc/amd/Makefile +++ b/sound/soc/amd/Makefile @@ -2,12 +2,14 @@ acp_audio_dma-objs := acp-pcm-dma.o snd-soc-acp-da7219mx98357-mach-objs := acp-da7219-max98357a.o snd-soc-acp-rt5645-mach-objs := acp-rt5645.o +snd-soc-acp-es8336-mach-objs := acp-es8336.o snd-soc-acp-rt5682-mach-objs := acp3x-rt5682-max9836.o snd-acp-config-objs := acp-config.o obj-$(CONFIG_SND_SOC_AMD_ACP) += acp_audio_dma.o obj-$(CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH) += snd-soc-acp-da7219mx98357-mach.o obj-$(CONFIG_SND_SOC_AMD_CZ_RT5645_MACH) += snd-soc-acp-rt5645-mach.o +obj-$(CONFIG_SND_SOC_AMD_ST_ES8336_MACH) += snd-soc-acp-es8336-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/ -- 2.25.1