From patchwork Fri Nov 1 02:08:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 840571 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 2A21CE67493 for ; Fri, 1 Nov 2024 02:10:58 +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 C5ADFF50; Fri, 1 Nov 2024 03:10:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C5ADFF50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1730427055; bh=m8Fdimy1uNQJ0phYeZwakJsZ7awf0wC1IRLCVzW6bfE=; h=From:To:CC:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=P5ldQpCZI/sGEoL8WjbQiyZ5Utx67L/PvKKdI+LhFzt8GOejf1vjaHiC6KVOS30zU 7QnToirA+nuua4XAu+k+9TRUxP0hMKSEiknE91PSqnaEU6QUOHeR3gf/G1dKMIwv0m hjXNnja/nrRtGWSz0v95035nALMWrkMWKd5RZNSQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 132D4F805EB; Fri, 1 Nov 2024 03:10:02 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 52C67F805DA; Fri, 1 Nov 2024 03:10:01 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E30B5F80269; Fri, 1 Nov 2024 03:09:34 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2061a.outbound.protection.outlook.com [IPv6:2a01:111:f403:2414::61a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id EC9E6F8014C for ; Fri, 1 Nov 2024 03:09:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EC9E6F8014C 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=GzuGNsWe ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cMo+9nBgdJS5v4UVOI4sBU5088/jKNfJXPh22RHia26uy4LFsK/HxPt/xO2joqnfZXbeR3ZdpMEDtex++3ZuN1q2bDpnDq8GXF1ct0JbWOcETiNJBF0wTArTx0jGIdHPEFRgEYAF4kC+0teZ4c5e0LkbUjthypLRscOihwAzO31tDhmYstguxKj5b+yvZiOhLuZFnl8tJLD+QJmzeAXGjRDjbt6otzFQox5+c0Mz5goqLYyf2Jh8s63wIF+rZJ6CghMwW1Ht6KkDCAXuXnKE2iG/FNSgjvFB6KPCgOv9mvoQQZ/mm1lrzniRz3HZo6aQ1XiI9FW0I3d2zKsADysqJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=noDUDqaFZhPy6kcmY1mzhsPcf/4dTn5WVMmfAf1hVPc=; b=HZoyaZIZuBoPqNRSMOH2ijD3hsqzoS2DR7gEIvW0F7nM3zYoYhY9nrZYcaYyB7NuxgPkXChHkjki5H6NNgq1CPx1juLk4hV8JGdc+FBEbX7NL6QexDlkqIUGOumAVEjscPdHLaFotWKTftpVraua+0kpzFm20KWNwHuRvLhIB9CTYMiW2N648UFPxd2JcnWfXyTxC2hBz6MW5pr5QydtaKXSNn1Xg65IiYZDePHiVI0uR36oyM3HVX5ob8MBJh1oFkbUgszfAB1ioZUz8ad4WoD087lwp/1F6eXZG2q1kRmWHYjgYCRU9WOh1L0b1GCGpweWyJpQSq7UfrDchJwleA== 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 (0) 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=noDUDqaFZhPy6kcmY1mzhsPcf/4dTn5WVMmfAf1hVPc=; b=GzuGNsWe0yuyJMCRUepCPN4ZrRLza+ezpmCgrVs1iLMtb+oF2d+GwZ8rQbX/+i4V1+MgKOMFWRuss5n4jkNZlGfbJ+W20F4rlU3Yaa4KBH9VqeK9bIFRvJbtQQVp0AGn0rjHn0mLlox5HrwnoPlO/dUiHl9CYueUG/jIOFrXNsk= Received: from BYAPR06CA0068.namprd06.prod.outlook.com (2603:10b6:a03:14b::45) by IA1PR12MB8285.namprd12.prod.outlook.com (2603:10b6:208:3f6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.27; Fri, 1 Nov 2024 02:09:09 +0000 Received: from SJ5PEPF00000206.namprd05.prod.outlook.com (2603:10b6:a03:14b:cafe::cf) by BYAPR06CA0068.outlook.office365.com (2603:10b6:a03:14b::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20 via Frontend Transport; Fri, 1 Nov 2024 02:09:08 +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=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by SJ5PEPF00000206.mail.protection.outlook.com (10.167.244.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8114.16 via Frontend Transport; Fri, 1 Nov 2024 02:09:08 +0000 Received: from vijendar-X570-GAMING-X.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 31 Oct 2024 21:08:42 -0500 From: Vijendar Mukunda To: CC: , , , , , , , , , , , , , "Vijendar Mukunda" , Liam Girdwood Subject: [PATCH 0/2] Soundwire dai link init logic refactor Date: Fri, 1 Nov 2024 07:38:00 +0530 Message-ID: <20241101020802.1103181-1-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000206:EE_|IA1PR12MB8285:EE_ X-MS-Office365-Filtering-Correlation-Id: 25dc4bfa-0e2f-4397-3bc9-08dcfa1a2b6e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Micro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vvGIzQMDtAypXPkes1JySR/NJMj5qqleCSBqTK8WcX+RscaKEYnlQDO76rxqLq3H+1oy/x4bmCGZsG+X1DQPW6GkD2xFIsZsHyWUZUcclZjgT1rU/ioyntVF2d0GeBf7kcDctk3VpHM7ti4p3kpDi1taWz55iy3Ez2/WVbCKuRuuKtNUVoQ8RTi5S/ZWo/6dVfuzkwPOUpwxA5JipQ0hnnsQ3B+KkHKeZJKrCJme/g9XkchdNDYgvWchNBk8WwR7RYmtPqDzUDpucFrSk5I7HNvC5bZnHAE5FYLcc03JOrVvebSG9UOuZTwGltTUBmU4WqAltce+aiUHb3Jj7IMYxlLZFCPiseFYiWhJYCiGG3a5y6oDXXqFK6S00xP6y3Wq22OPEu3yPX2CyFI6z2hDbRwSXO0p5mF6vqaZ3b7765kEZVQ== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(7416014)(376014)(1800799024)(82310400026)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2024 02:09:08.3099 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 25dc4bfa-0e2f-4397-3bc9-08dcfa1a2b6e 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=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000206.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8285 Message-ID-Hash: 4IVFACOM3VJNPNSIECKJQ3YFQCOZEYB6 X-Message-ID-Hash: 4IVFACOM3VJNPNSIECKJQ3YFQCOZEYB6 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.9 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: This patch series refactors the SoundWire dai link init logic for Intel and AMD generic SoundWire machine driver and also updates the stream_name in dai_links structure. Link: https://github.com/thesofproject/linux/pull/5218 Reviewed-by: Bard Liao Reviewed-by: Liam Girdwood Reviewed-by: Ranjani Sridharan Vijendar Mukunda (2): ASoC: sdw_utils/intel/amd: refactor dai link init logic ASoC: sdw_utils: Update stream_name in dai_links structure include/sound/soc_sdw_utils.h | 5 +++-- sound/soc/amd/acp/acp-sdw-sof-mach.c | 8 ++++---- sound/soc/intel/boards/sof_sdw.c | 12 ++++++------ sound/soc/sdw_utils/soc_sdw_utils.c | 10 ++++++---- 4 files changed, 19 insertions(+), 16 deletions(-)