From patchwork Tue Dec 3 08:19:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 846986 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 DE4C2E6C617 for ; Tue, 3 Dec 2024 08:26:50 +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 AA19782C; Tue, 3 Dec 2024 09:26:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AA19782C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733214407; bh=wN0GDYYHdJfomyNZnAlhTs1lSxfp6yXXywMRwXkb4NM=; h=From:To:CC:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=m5ZPbhprHW94P1SZef4zbX7SORvyD1vH+MDiBelcXchjbYtbD5/hpQTyEkApNaRJD Q5xPv+3JlrST+7twrza9eHDfsGhaxmEOlR0A0TBt2KrCAE0j3+1Jy/SESbTu3dRU3X jEtSUZaDGc+bhihvaM35/kIT6Nb+1vUSWh6HZiSY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id DC85FF805C1; Tue, 3 Dec 2024 09:26:16 +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 E8BE8F805AA; Tue, 3 Dec 2024 09:26:15 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 47BF2F80272; Tue, 3 Dec 2024 09:26:08 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2065.outbound.protection.outlook.com [40.107.243.65]) (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 160D1F80116 for ; Tue, 3 Dec 2024 09:26:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 160D1F80116 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=SeFz6QI2 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UYDeFDaHx29b7yAd0fw1roOSDhWCms6X9gP0MeYMaiYK9c2nohRSOvwAJ3NPYngrwheA1tmS/YNCGDsoyNakggg6Ix/vmI3r2/j1rMIFJqUsijTKBvN7HxoXeC6yeZwJ88KY+x4irLGFdiXI0lAV5cwYRmkMRzDXv5doHziGo+75IG8hCdZa9EoeGfLOY/rBZ5NA9CerVO4JQcuvCLonTo20iOo60Glu9sWGwG4FN93pLEaHEpfv2np+OT5x5K12eIzhewssNEXoFbCDZLAtJ6TST5mm1RI70WyybcEQc+KpGVvbTbkDqrOYyfRR3a4C41FSQafWuYSVpmXmsTk/PQ== 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=2C+SFNo61iTrKPjrc5MN35ZVTAVPR4S0pffUVm2EVUY=; b=Y1J79Jt1ueFWxzewMBCRFq5aNFW2wBDoauVhup6V9Ms6lr1ZoPCH46V0YjEq7OwTV/kstRDfy9dUjWpe0UIZAfGt7Dedahp9ihVVluK+ij5U8QuheZBZbWT/TiS9sf94cJmgcUMD/T+IVrRESMK95Zwtw7v8+2IUlt6JZnYspI6P5wwv455JTX1G32tt+g8RKZGEWPiQkDdPRQtuOPVJNhQROpz9qA5xZAcs7hyltelBfpHJWsn7iNT1pBW1qvz+QgoN24+eoDIGFSfRR9aUnyYAIa5Vf933Bwr3au8poXiBR6yElEpggg9ZOjs5zgphwuTcOdwbxoKqZVAoSSbHoA== 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=2C+SFNo61iTrKPjrc5MN35ZVTAVPR4S0pffUVm2EVUY=; b=SeFz6QI2CzyNo+fUfWP3tXo8UbULbqXURppdtGvZ4R4Kw9d3ne0kNDTWdZVfIM9fbcYLXzMngCVfDJuHfa5UFkjXP04Kuj20Qp3u9QXd1i+UXUrf71LQpdODY/w7bZdUYB6NwxR5A1tSWkZ00kIYuTayNgzy74nk1u530CQjSAw= Received: from BLAPR05CA0014.namprd05.prod.outlook.com (2603:10b6:208:36e::18) by SJ0PR12MB7081.namprd12.prod.outlook.com (2603:10b6:a03:4ae::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.18; Tue, 3 Dec 2024 08:25:46 +0000 Received: from BL02EPF0001A105.namprd05.prod.outlook.com (2603:10b6:208:36e:cafe::65) by BLAPR05CA0014.outlook.office365.com (2603:10b6:208:36e::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.8 via Frontend Transport; Tue, 3 Dec 2024 08:25:46 +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 BL02EPF0001A105.mail.protection.outlook.com (10.167.241.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8230.7 via Frontend Transport; Tue, 3 Dec 2024 08:25:46 +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; Tue, 3 Dec 2024 02:20:33 -0600 From: Vijendar Mukunda To: CC: , , , , , , , , , , Vijendar Mukunda Subject: [PATCH 1/2] ASoC: amd: ps: update mach params subsystem_rev variable Date: Tue, 3 Dec 2024 13:49:39 +0530 Message-ID: <20241203081940.3390281-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: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0001A105:EE_|SJ0PR12MB7081:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e03402d-5518-464e-431d-08dd137415ed X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|82310400026|376014; X-Microsoft-Antispam-Message-Info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Zb4hqrS1N6h8pXb8ObuPGkHjdr9Z8WQf/I1lk11RI9wasxZic5O0HWhsd17+WQIpLvSlA66XUi1AmfQHxZRhHNqrxLhU/1SkzPq29NeqWEOIqAvxbsetp4G/pTqoL/B/R7dulJYD1+qMSKF7egJwVuGwbBz5Np4o+Mtb89OHx5t2IjbRGD+4JMZONlCsenVoz/N/ilqx7PILr/xSJrWJeaEe/YFwyoin+IWR5amfBjDUpWXlkFVDx/0Vuv0vj/kRY7ycWqzEs4pRxJgh1e56wUgTxQHowlMXAOYYhDKVCq1o03o+TJ+dRndpQ0Ypj+YbzPgLsDP4Qon7EaRhnZxgb8bMNRVpvW7puWR0I77+L4X68a9E6XGl1gHS1p2dZbmGpuLuJMtBdsw0Hl2zyrjLzxH 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)(36860700013)(1800799024)(82310400026)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2024 08:25:46.0702 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8e03402d-5518-464e-431d-08dd137415ed 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: BL02EPF0001A105.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB7081 Message-ID-Hash: 3GXTDRLJ23HLDBFV33SF23W5Y64KMNTR X-Message-ID-Hash: 3GXTDRLJ23HLDBFV33SF23W5Y64KMNTR 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: Update mach_params subsystem_rev with acp_rev variable for ACP6.3 platform. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/ps/pci-ps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c index aef73ec6f7ef..4ed50cebadb3 100644 --- a/sound/soc/amd/ps/pci-ps.c +++ b/sound/soc/amd/ps/pci-ps.c @@ -312,6 +312,7 @@ static struct snd_soc_acpi_mach *acp63_sdw_machine_select(struct device *dev) if (mach && mach->link_mask) { mach->mach_params.links = mach->links; mach->mach_params.link_mask = mach->link_mask; + mach->mach_params.subsystem_rev = acp_data->acp_rev; return mach; } } From patchwork Tue Dec 3 08:19:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 847353 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 7DA61E6C619 for ; Tue, 3 Dec 2024 08:27:01 +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 026F614E4; Tue, 3 Dec 2024 09:26:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 026F614E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1733214419; bh=tgcQHnx+7iGFajm3KYwxmomnGyJW5dy33JkYZ0nOlWs=; 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=op/WzPnwnf6sS67Ry1zahkUWvfF7uPNmf9ZpnfW+vPFZMrFcfHnc6roYPPLQxKlXR 9/vp7+3/DroWHbSj/WnDGD8O+eSfJdcKXTGBZXddjSiJfKzo3uLZ0MGXs9WPKTugfm YBgSgXBVV6FIMbUZ8nF+ZiJYycDA4vkSPPZNUXpE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 653B1F805DA; Tue, 3 Dec 2024 09:26:18 +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 23DB7F805E0; Tue, 3 Dec 2024 09:26:18 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 52D0FF80272; Tue, 3 Dec 2024 09:26:09 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2073.outbound.protection.outlook.com [40.107.102.73]) (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 6F721F80073 for ; Tue, 3 Dec 2024 09:26:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6F721F80073 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=i5AtFN0Z ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dB0H+75Yn0+LoUYkYNb1SCs+H4On2umpligeOvhyg/hJDpIcqBLmUWhTPKXASbERc4iBvs+EfxbMj9TaLndVjhV+sKzvBGP1R2BFGF6qfYvFxKmEteVfVctwu1PZuC+TKRuUhTCbzb7+LpmORd/oZi/UaG+otSuZ7PNVlXzqNlNkMGX35GPmQKdFBznSlAs/bgdZ/iPSd0jvkNvNixU6CcHrz1yHTHqPRQn5Rol2qcrr6VKPed3z6ZZ+s5hRE1bvsK1ZQYLxj9caR7AuotuuQ1ONNeVueJMcPFlu8K3dwPid0VI4vsYd6E5fqVSCTBm6WKVex26BGm3+TFA5rw2J6w== 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=AlzoDTko5WKzMDkMDDSbScPYqLovUsMAuMxHyDa2tZ0=; b=ZsWlPX2cb1pOhXOCvf2q4m2nAq+g4wJRntkegTUa65atahFxtwZYsQJ6d1X/AM1XLhKehfLjal0vWkrhW1y3/RYjgxZOydRvdWtXo6aKkWyLmB2da2XjjwN9n5DyTBZ0ngRHkmp/Eupie7CWfV/GtmMMfvwTQltTx4qBCx8pA21S4b6G2MF/D87oTe9NaGLqEnNzZ5DkqfoyMrZusH9PqnY/Y7o7RDXmlNrfYukKTkTToInVV1FFGAuOtjPUo7Jg7K5Jp83Pg6A3PVv6+ZXn3n6IY5ouVRpD7zzFzP9ludHszUroNFovnM2AhmlbanWgs61i7KfzQDptKZZu7yTJ3g== 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=AlzoDTko5WKzMDkMDDSbScPYqLovUsMAuMxHyDa2tZ0=; b=i5AtFN0ZelhXxPc9+vwV3kVAGkff8NO2oQZT+1Ra9YUT8jjxoiaYs7TnjtbqOVOs9o6MbD4PpSy3i9SpecpJImrUkhqxEPoOLSlCjPu2UknzxlUq8l7q5V4A6aXtNxTemq8gwyO6aJmn6Gb+x1npvadS+aNscjuNBpu8R9a9K4g= Received: from BLAPR03CA0102.namprd03.prod.outlook.com (2603:10b6:208:32a::17) by MW4PR12MB7215.namprd12.prod.outlook.com (2603:10b6:303:228::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.13; Tue, 3 Dec 2024 08:25:48 +0000 Received: from BL02EPF0001A106.namprd05.prod.outlook.com (2603:10b6:208:32a:cafe::82) by BLAPR03CA0102.outlook.office365.com (2603:10b6:208:32a::17) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8207.18 via Frontend Transport; Tue, 3 Dec 2024 08:25:47 +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 BL02EPF0001A106.mail.protection.outlook.com (10.167.241.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8230.7 via Frontend Transport; Tue, 3 Dec 2024 08:25:47 +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; Tue, 3 Dec 2024 02:23:21 -0600 From: Vijendar Mukunda To: CC: , , , , , , , , , , Vijendar Mukunda Subject: [PATCH 2/2] ASoC: amd: ps: add ZSC control register programming sequence Date: Tue, 3 Dec 2024 13:49:40 +0530 Message-ID: <20241203081940.3390281-2-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241203081940.3390281-1-Vijendar.Mukunda@amd.com> References: <20241203081940.3390281-1-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0001A106:EE_|MW4PR12MB7215:EE_ X-MS-Office365-Filtering-Correlation-Id: f9d0bea4-41ec-41bb-7837-08dd137416b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: lLaDaX+LAzrdM2V8UutdIlQ4AzC9zAVcCmNLNuAReDzka3VhttMv1qjOdoN/N1nbCBfFfS849f2K6OMD3czEXJkpRuc8+QGHMVgfLK4UNolszuuO/B+Z9JOBgkRQncOWoQdjZZrgsr4ILNHf9JpXwf2jYqSxVlyRo/Y4v+KnGaFqrG1Wk8BqLNgxqN8Z7Wo2cSxeA6i+3yUs0ulVhHJNuCWh/sQivwdZ9Qytm1SwCUS3DQW+VHe4MdhyDym5OcaD5sZbQ9rr1li+mSuYTkMNcYQ6j+6RppcJrzW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4CM1LDKydFuqdIg7iGShjdUYTF4GfF2MMKT3dZDJvTuPtXt/nejZZIt0KwGDEJKKQkalHMccvbu0K2G9zNYTjlgDwqpzgZpOwMq+TzCcEGNPp 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)(376014)(82310400026)(36860700013)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2024 08:25:47.2935 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f9d0bea4-41ec-41bb-7837-08dd137416b1 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: BL02EPF0001A106.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7215 Message-ID-Hash: ORNNUHE6U3MJ2X74H76SA5346C72TMQ4 X-Message-ID-Hash: ORNNUHE6U3MJ2X74H76SA5346C72TMQ4 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: Add ZSC Control register programming sequence for ACP D0 and D3 state transitions for ACP6.3 platform. This will allow ACP to enter low power state when ACP enters D3 state. When ACP enters D0 State, ZSC control should be disabled. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/ps/pci-ps.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c index 4ed50cebadb3..22b677a026e1 100644 --- a/sound/soc/amd/ps/pci-ps.c +++ b/sound/soc/amd/ps/pci-ps.c @@ -83,6 +83,7 @@ static int acp63_init(void __iomem *acp_base, struct device *dev) return ret; } acp63_enable_interrupts(acp_base); + writel(0, acp_base + ACP_ZSC_DSP_CTRL); return 0; } @@ -97,6 +98,7 @@ static int acp63_deinit(void __iomem *acp_base, struct device *dev) return ret; } writel(0, acp_base + ACP_CONTROL); + writel(1, acp_base + ACP_ZSC_DSP_CTRL); return 0; } @@ -655,8 +657,10 @@ static int __maybe_unused snd_acp63_suspend(struct device *dev) adata = dev_get_drvdata(dev); if (adata->is_sdw_dev) { adata->sdw_en_stat = check_acp_sdw_enable_status(adata); - if (adata->sdw_en_stat) + if (adata->sdw_en_stat) { + writel(1, adata->acp63_base + ACP_ZSC_DSP_CTRL); return 0; + } } ret = acp63_deinit(adata->acp63_base, dev); if (ret) @@ -671,9 +675,10 @@ static int __maybe_unused snd_acp63_runtime_resume(struct device *dev) int ret; adata = dev_get_drvdata(dev); - if (adata->sdw_en_stat) + if (adata->sdw_en_stat) { + writel(0, adata->acp63_base + ACP_ZSC_DSP_CTRL); return 0; - + } ret = acp63_init(adata->acp63_base, dev); if (ret) { dev_err(dev, "ACP init failed\n"); @@ -691,8 +696,10 @@ static int __maybe_unused snd_acp63_resume(struct device *dev) int ret; adata = dev_get_drvdata(dev); - if (adata->sdw_en_stat) + if (adata->sdw_en_stat) { + writel(0, adata->acp63_base + ACP_ZSC_DSP_CTRL); return 0; + } ret = acp63_init(adata->acp63_base, dev); if (ret)