From patchwork Mon May 22 13:31:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 684730 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA70DC7EE26 for ; Mon, 22 May 2023 13:30:02 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2A74D84A; Mon, 22 May 2023 15:29:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A74D84A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1684762200; bh=0rv1Y1zXeWwWc0yYkL9UadtjSomkDZm2Gt4MQdIMc9c=; h=From:To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ixnOspYkwbP8gndPWX5O6tW5uaZf2rkdwHovlwFrk1ojHwkDNzr+Y8WTsieAme0/Q 3Exp+bpSjlFDZA0ZdxYqEKqrCGxUjLrfzLlmZ3XfWzOwCintzJX/O58xKk2tOmJ2Nr GZsAvaDndybUqxqARxLAlYv7kBJDclKZOjWxxXMc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id E348BF8053D; Mon, 22 May 2023 15:27:25 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7DE41F80425; Mon, 22 May 2023 15:27:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C1011F805DF; Mon, 22 May 2023 15:27:21 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2060b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eab::60b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5DADCF805C9 for ; Mon, 22 May 2023 15:27:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5DADCF805C9 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=QuN+DVNI ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=To6Ao062k8aQ5gGTaEDEdiY53NByrXepevaas/yS88nk+7WdKJpg0ZWE873bUinaxPwh7Ms+QzwW5Tf+A5uw/tZ5QFViErzDYo2R6/bpmNQ7UW1zHPtjLXd0QQZjNV6JWAZSDVR3f6ZK4j2Kas4/z6C78+Bv0Ed9wlmsgkRPS19iwnWVdwEc1iu0QKb7qubw8excbE4HIg6tVeXJZJX6Yohf50LPQVQlWstgZ+r1k6YDoT+vYloU9K+ynr2CZEZrx93yEzaG1CZPTHbN28x+/F2fkgKR9Wi6LBTWYzw7RxY+WHk6JbrtURZqQToJtu8jdIoJUx9yXj5ovawFPZBwzg== 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=lJPO76LeVbRLT6xdNfAEfol9vXoNWf/MqxjxFnE4yls=; b=Ob01qGYA+zCkAUJwlQ/rojKz69OQ8cI5zddpeE7ld1LD4o8XGCBdWhikP1CwMdSiBjohomDRG0v6oYWYYh9pXC0AFNop0e+JP0wGu4xWgCIYutUVcTwh6XLZeT2FY42kJlMR3vnh2WQSNfWfpbjRurv3kIU6thB5IgG0I0vjNO3veZ3fgdrvoF5SXYTqIFgQWS1QwBSMYFoKa8LtOVA3OAbfPNgD/yIkXlpwGNFO3RwjFD4vqjHrh3bZT2m3o4hHSs5lsAzBiKOknba7OkKupWsydXcE6lLUcFcFg/pjBuIQv/vhWMvW3DpJky+E/UCdOj+mq8auZuIRsvFUBLkfhg== 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=lJPO76LeVbRLT6xdNfAEfol9vXoNWf/MqxjxFnE4yls=; b=QuN+DVNI4tl8Oh6E60aFNMKOiCn+3ZuXHH2ENaIs/scuH8HqkpzXiQovxXhni+qMCJBiX1aSwVjVDDDLnCKwzxyXEi2AaiIAamJG85PH3iJzYtSSXbWY8AKDJlKojEKhN/vOoTVK/97n1DDmcf9qAllA5F6quBiqoe6IsJSjjLw= Received: from BYAPR07CA0075.namprd07.prod.outlook.com (2603:10b6:a03:12b::16) by DS7PR12MB8275.namprd12.prod.outlook.com (2603:10b6:8:ec::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Mon, 22 May 2023 13:27:13 +0000 Received: from CO1NAM11FT081.eop-nam11.prod.protection.outlook.com (2603:10b6:a03:12b:cafe::bf) by BYAPR07CA0075.outlook.office365.com (2603:10b6:a03:12b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28 via Frontend Transport; Mon, 22 May 2023 13:27:12 +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 CO1NAM11FT081.mail.protection.outlook.com (10.13.174.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6411.28 via Frontend Transport; Mon, 22 May 2023 13:27:12 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) 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.34; Mon, 22 May 2023 08:27:12 -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.2375.34; Mon, 22 May 2023 08:27:12 -0500 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.34 via Frontend Transport; Mon, 22 May 2023 08:27:08 -0500 From: Vijendar Mukunda To: CC: , , , , , , , Vijendar Mukunda , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Syed Saba Kareem , open list Subject: [PATCH V2 7/9] ASoC: amd: ps: enable SoundWire dma driver build Date: Mon, 22 May 2023 19:01:20 +0530 Message-ID: <20230522133122.166841-8-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230522133122.166841-1-Vijendar.Mukunda@amd.com> References: <20230522133122.166841-1-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT081:EE_|DS7PR12MB8275:EE_ X-MS-Office365-Filtering-Correlation-Id: a33dd319-4eb1-4235-766f-08db5ac840ac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6eZGlCNSQoQVeW2U2LtXELpH1Dj0mFfbc9iiStlAg+s120cNJQWWyXtUACMQG9Mw2xjp0VkYiFvIZO6VHRbSobdkScmdgpsMf6hfUozB9TEB/EH5dGZx6bqXdfvx6GtsTtHlaijXCb6OVKvLAyyd54/isjg/XJfA7NnBYidiKpbmxx6rOxOijMUHgbB5HA2oW77EU1Ybef0yv8tsUzkGa8XtQ+oabYFiXMV2J5ZC5MPxizIcNFayB0PcKBCNHPJT4517R9J48hSQJuBSS0qtoHQsZvcpSlxQTYHyNlLI0Adx1KPDHPiRTCButSq7nyFjbk4vQaoHzkO9Nu9nLEJG1pRXUHt3z5EavXdIbfc8BfaG9F1u3/6G8/8Db5Dr2vbY5DOwggiRgOQp+YMAKYWUk4aqnl/bGj1KiX6QCimFnJxy5WKorm05DdFSPknyt66R2vzPFj/IyaEU/fa2/Vh5XpRIq703j1g1l8YBXN5+wi6e2TfoaAVwDtOc/8HCCudpg9oyigT8FTcbxjuIFYkYRg4PbBD9I2WeNGmTJOO8BbLtFcgBtgpp9ZXDphP26wlE9FjDr/m1P3FIRMWs9LkKlcEXNmAOaXlujwotM7kptwhSapeBFii/YaA/UiedarsVeS2hEvib85myHvYyntLgZIzD3d7sc8t5Y7QOqMZbEamAoWZBQk+7NDmfqX6UEGShcEXXb5tl8AX3ItjHBIllgCVNa2yhmOTlBtdfRyA3QLslnz+KVvF2MQ1y6zuV4T52NM3S6c/DsLeTXvyKMxW4GQ== 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:(13230028)(4636009)(136003)(376002)(346002)(396003)(39860400002)(451199021)(40470700004)(36840700001)(46966006)(6666004)(86362001)(36860700001)(316002)(54906003)(478600001)(41300700001)(7696005)(70206006)(4326008)(6916009)(70586007)(8676002)(8936002)(81166007)(356005)(5660300002)(82740400003)(40460700003)(426003)(336012)(2616005)(36756003)(82310400005)(47076005)(26005)(2906002)(4744005)(186003)(1076003)(40480700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2023 13:27:12.6654 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a33dd319-4eb1-4235-766f-08db5ac840ac 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: CO1NAM11FT081.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8275 Message-ID-Hash: TO3MPKDQCW7CHMUJRKK2WXISJBQ6URNF X-Message-ID-Hash: TO3MPKDQCW7CHMUJRKK2WXISJBQ6URNF X-MailFrom: Vijendar.Mukunda@amd.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Enable SoundWire dma driver build for PS platform. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/ps/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/amd/ps/Makefile b/sound/soc/amd/ps/Makefile index 383973a12f6a..f2a5eaf2fa4d 100644 --- a/sound/soc/amd/ps/Makefile +++ b/sound/soc/amd/ps/Makefile @@ -3,7 +3,9 @@ snd-pci-ps-objs := pci-ps.o snd-ps-pdm-dma-objs := ps-pdm-dma.o snd-soc-ps-mach-objs := ps-mach.o +snd-ps-sdw-dma-objs := ps-sdw-dma.o obj-$(CONFIG_SND_SOC_AMD_PS) += snd-pci-ps.o obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-pdm-dma.o +obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-sdw-dma.o obj-$(CONFIG_SND_SOC_AMD_PS_MACH) += snd-soc-ps-mach.o