From patchwork Mon Nov 12 05:35:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 10678135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 02EBC14E2 for ; Mon, 12 Nov 2018 05:34:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E542A29332 for ; Mon, 12 Nov 2018 05:34:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9128293DC; Mon, 12 Nov 2018 05:34:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27FE129332 for ; Mon, 12 Nov 2018 05:34:15 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id EFF0B26792F; Mon, 12 Nov 2018 06:34:13 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id E7498267A67; Mon, 12 Nov 2018 06:34:11 +0100 (CET) Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690061.outbound.protection.outlook.com [40.107.69.61]) by alsa0.perex.cz (Postfix) with ESMTP id A10512677E4 for ; Mon, 12 Nov 2018 06:34:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pie8MTmVnWsE4MZx2fY3vNr0/mw0muYPynLs9HUAPU0=; b=BXg0cWxhfzo87LIXDu+U7nnrdG4qv/cyoI1oZ0E8qrEx1ZdvdktKrmOz5lla98zAQRbxAiyMAFA87ILNkhRrWS3cM081BVibR7I8t5UZdrMltzfDVCYC+tIM5ajOsUw9t0NOHHoweRMY48LwMDt5Q/+N0p0TjCvbcsMbE9QqVNA= Received: from BN6PR1201CA0014.namprd12.prod.outlook.com (2603:10b6:405:4c::24) by SN1PR12MB0431.namprd12.prod.outlook.com (2a01:111:e400:5865::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.27; Mon, 12 Nov 2018 05:34:06 +0000 Received: from CO1NAM03FT009.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::204) by BN6PR1201CA0014.outlook.office365.com (2603:10b6:405:4c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1294.21 via Frontend Transport; Mon, 12 Nov 2018 05:34:06 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; diasemi.com; dkim=none (message not signed) header.d=none;diasemi.com; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV01.amd.com (165.204.84.17) by CO1NAM03FT009.mail.protection.outlook.com (10.152.80.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1339.10 via Frontend Transport; Mon, 12 Nov 2018 05:34:06 +0000 Received: from LinuxHost.amd.com (10.34.1.3) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server id 14.3.389.1; Sun, 11 Nov 2018 23:34:03 -0600 From: Vijendar Mukunda To: Date: Mon, 12 Nov 2018 11:05:02 +0530 Message-ID: <1542000903-19020-12-git-send-email-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542000903-19020-1-git-send-email-Vijendar.Mukunda@amd.com> References: <1542000903-19020-1-git-send-email-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(376002)(136003)(346002)(396003)(2980300002)(428003)(189003)(199004)(105586002)(106466001)(48376002)(186003)(39060400002)(426003)(1671002)(5660300001)(50466002)(53416004)(4326008)(77096007)(26005)(305945005)(126002)(336012)(86362001)(2616005)(476003)(486006)(2906002)(11346002)(446003)(316002)(16586007)(356004)(72206003)(50226002)(104016004)(51416003)(97736004)(7696005)(76176011)(36756003)(54906003)(47776003)(478600001)(81156014)(81166006)(68736007)(8676002)(8936002)(53936002)(109986005)(42413003)(266003)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0431; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM03FT009; 1:hpG6248axAKL/DKEXQf1N0hta0Wf/1gbweG3kUdNiBwy+YRdmL7Zb52TkafFE6qz43/AfzML3fhmeR2gbg4QGTAkGR8t4U00sGSS61LOeANcT0UWvhF8Am4AcoYYgNWe X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72b0557a-6e98-4aa2-df2c-08d64860769c X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060); SRVR:SN1PR12M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hLpiJezVvBBLo=; 20:1pScwxapOcG7IK4J2hcR9fNzkmj/30EOW0N4K6q4xIBuP/B1sJs0dBQ+PQQ5R9fKDSvXeuJFeYfuydU5Xgi5JWnM1V/hteD9nG6/XH1vsOxjZsN48Tn1trZwj412VlzzuBwZZzHF0WyFTs8nzLh2akgMzN6EfmygBu5XVi32Fl08zWoiZeCJNPTuvxy8R6fQm/CKQAPhThkE/JK5GshtCPunB4KMC+I++9ilCUREjWWogHTb++JS9FUvH8kygt6sXyJ0iZKklrWMBjkeotR4DPl1YdlvOQfCD3zqw8VBQytQV9MXYslIcpnjPiuKohf7Kr0QNbh4MheiJirO6v+7A92u8O1TBPTwcG9tM2p19ZEisDPQm4aSKq7wj9CgrDj/gjW5+lupaGsztfRRBRR9S/JkyLiIAOL+GUMrdQSPh8GEvkiuVm9a8ec4GhgyBDiBJzUGo/gG+3FVyNeh8RmWBZV7PSsC136+0nh4WN0RRaTAlKPJq8z2wQU72a2q0+WK X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231382)(944501410)(52105112)(10201501046)(93006095)(93003095)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:SN1PR12MB0431; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0431; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0431; 4:5FsoEcCOkv3rGpIREJGb+i1m0MuVHIvh/gcfWaKQbrZatFQyE4htbgLuZ/AYoSuRiuJ3LgrBGmL6ECstFjBIpmLGxuwUjVRqbhNSAQz1aVr+QtepbYbQKjHygfxHlyv/Roy1XNl+C8QY9OyM8UMxu3/xvregYo1pZ8eC2FRPU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vBMF7VHkdKxPsRyOjyZRbwTlYNaKm3ErjZLZiNUu2hI1PKfX/7Xv551c4lCvG1skZribH+6m0arQVpDFhKeIKk/X5ubX1y3DyQ5QdYCC+i2e6WZsyMmL2qMBCU0H01Rja+hc/Maq0RJO0Xn5IejzmAIhFsq1WRty8SxQMfMqw1kQtA0QIKKnxdgI5IodW7+c8HsORaXkpcnz5YOxMeO2/cATBPBsdK6OuQ==; 5:EOj3gnjT9iLigLUJ0yoGvPhmdEpcZ2VdgRcPm69odjzmZXQHekxRJajRFNubsC7WX6klFjrGZiT+523hWFHIaViERigJaXyZOzx4BJzTpDA5FswI1he/8YrqUDd6+YVXxZPg4UO20sRYYXe89COxbwDVvZr+9+yw4Jpxw0VoaE0=; 7:luYKjNeu8SnaU2j2Pf3ZeqYdfmeAcLovWYID/9BQLuMcRI/NXnbNUZXuBJ/aO5qpHrV5h33bb0DtotVZ6Ffii8gYXjDWs9UFITArir2CZ9tXY2bH5u9uAgEVrssjq1wF75zz0z0/NrBJrlklWu1SEw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0431; 20:o6YBltxYu6OyYemv0QHeY0wo3q2stMvdkWN4ABih3MrNwpALCxHR2k0plgdzmo/tiXWdY8VKV3Bbki4yGtWGpgYGDhErvfG9WlDQspUcUeNTPkFAa2XwLZoTCKgEokvrlIjB4bAVQmhti5yVGbPnrnoB3pB0ijMEw9NXkubq+csXRQa2sP4id1AJ/GPxtxdip10jluhEksivsAOK/YdQLtun5ijPDr/1I1megeOhjqCmxRtWfTPVbv1uGlylXJz8 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Nov 2018 05:34:06.0118 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72b0557a-6e98-4aa2-df2c-08d64860769c 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=[SATLEXCHOV01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0431 Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Maruthi Bayyavarapu , open list , Takashi Iwai , Liam Girdwood , Vishnuvardhanrao.Ravulapati@amd.com, Mark Brown , Vijendar Mukunda , Alex Deucher , Adam Thomson , Akshu Agrawal Subject: [alsa-devel] [PATCH 11/11] ASoC: amd: enable acp3x drivers build X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP ACP3x drivers can be built by selecting necessary kernel config option. The patch enables build support of the same. Signed-off-by: Maruthi Bayyavarapu Tested-by: Ravulapati Vishnu vardhan Rao Signed-off-by: Vijendar Mukunda --- sound/soc/amd/Kconfig | 5 +++++ sound/soc/amd/Makefile | 1 + sound/soc/amd/raven/Makefile | 4 ++++ 3 files changed, 10 insertions(+) create mode 100644 sound/soc/amd/raven/Makefile diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index 58c1dcb..5f3b560 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -19,3 +19,8 @@ config SND_SOC_AMD_CZ_RT5645_MACH depends on SND_SOC_AMD_ACP && I2C help This option enables machine driver for rt5645. + +config SND_SOC_AMD_ACP3x + tristate "AMD Audio Coprocessor-v3.x support" + help + This option enables ACP v3.x I2S support on AMD platform diff --git a/sound/soc/amd/Makefile b/sound/soc/amd/Makefile index 79b0622..8e1c571 100644 --- a/sound/soc/amd/Makefile +++ b/sound/soc/amd/Makefile @@ -5,3 +5,4 @@ snd-soc-acp-rt5645-mach-objs := acp-rt5645.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_ACP3x) += raven/ diff --git a/sound/soc/amd/raven/Makefile b/sound/soc/amd/raven/Makefile new file mode 100644 index 0000000..8c03e6f --- /dev/null +++ b/sound/soc/amd/raven/Makefile @@ -0,0 +1,4 @@ +snd-pci-acp3x-objs := pci-acp3x.o +snd-acp3x-pcm-dma-objs := acp3x-pcm-dma.o +obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-pci-acp3x.o +obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-acp3x-pcm-dma.o