From patchwork Mon Jan 20 10:01:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mukunda,Vijendar" X-Patchwork-Id: 13944975 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2067.outbound.protection.outlook.com [40.107.237.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E563E1E22E8; Mon, 20 Jan 2025 10:02:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.237.67 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737367376; cv=fail; b=Kw79FOeJDxRG/ZViDWaUFHPn10/MyVDYy6R+hJYJ/6RkhCflHpJCJB7EUddx+A6xJZZAlfQ4HSILFzSux7O+BVjHKE26/H1OINL3EBDwdMNqS50Li03B2B5C0d39qR4juTF/SZk/yq9TcLoiTmuky6CvdmeFGPrq9i6TrnurCzA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737367376; c=relaxed/simple; bh=j0dXbttzGRbFr4b5SCpd2FdiHy5R4q2Q8BfATTD+7bI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pKFOGkFxqySCG/7gXjBUiyxsN0veDiz1/ZHTwyHM035DgLuj1USS+SLmT5GJGQ7ExOE38qioe4kjP0rJkzLK+L7vcIuex4p2Qt0lxY2bzkf7g1CUPVD+UvXhVy8mcuWtJnZb97o0jGkIu0WPLd7aRfKPH4FQy5v54z7G/iwX6aI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=z19IzjyW; arc=fail smtp.client-ip=40.107.237.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="z19IzjyW" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=damZrc+He06PrRzcwH57Ld+RPVORsmRWFlcLU6RlYZQWYAHeoKzy8Sru/ypWvn5JMTPStB01Rv/qDUDe0lVClL7VKAcUIMuPyqEFbvCnfxB0MGXJMPqJB343Bz/QmkHmQVIg4vqlEv7Et111E9d7nL2V9ELnEgKZhxqpM+TDcuGxai5yzVAzaajVRLlHVXlshlAlji7fVAWSnm3ck9Fppc1tJmqBHyCjVNEPHPdwyJ4MIvtqJwsR6bYCh7/aXzwUnbxN6bfu36LStXg6FQnwVNNBFTDDb8xu6rZggkAvlGQh9I/N1x6OzKT8oRzuXizEVaXuP5HavOtUfQt0D6jBFg== 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=5sK5GDptljTneowMvo6cqyRSLKuDUPKE+ULZeG+z5Ak=; b=AbgeO7H7Z235FCxAXwVxkch7XJKQdklf7Yg9kw3D85CwUv4kjQDXNDcbKB8ZGmVQqSCIBB7ul3tzcQxfqh+izIAcRyStKTTn3MeqOvlp7aqZ7I+/xiIN3S5erp02eMtZkL11PalMRGdZNLHZUXm7eA+U89V/sDFsddzIheakU2rY1voYmMvo+GtN3l7PO6JTuFf4CLidddeYVJrc2RM1iXsKx3QlDulkSwf+7L/zS1zaaKyjLVICt6RLmmuqrFKLAh0BxzTcymE1uguU9GKv7NUBqi6u7kgUWsJ+hqpb4pDMqH1oprrgl4W+bcpUgrcCWSaNZtQyNE4XZ8wbpKL18g== 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=5sK5GDptljTneowMvo6cqyRSLKuDUPKE+ULZeG+z5Ak=; b=z19IzjyWXpwOBXE4VNVrxRIOssBFzm/+woFt0Dt4aFLBJwtzJbyTLq3f3W8W3vu2g4l4RSuEKD6dTl8jen/xRIVByuht5JGcDQNzeIMuD3WabjrJ0MULjpzSx1dlDtSL9JQnWjjqFe7anEzgRhqYQqI7K/tTNhWkrLZLjAL2RVg= Received: from CH0PR03CA0250.namprd03.prod.outlook.com (2603:10b6:610:e5::15) by CH3PR12MB9023.namprd12.prod.outlook.com (2603:10b6:610:17b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.20; Mon, 20 Jan 2025 10:02:51 +0000 Received: from CH1PEPF0000AD82.namprd04.prod.outlook.com (2603:10b6:610:e5:cafe::b) by CH0PR03CA0250.outlook.office365.com (2603:10b6:610:e5::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8356.21 via Frontend Transport; Mon, 20 Jan 2025 10:02:51 +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 CH1PEPF0000AD82.mail.protection.outlook.com (10.167.244.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8377.8 via Frontend Transport; Mon, 20 Jan 2025 10:02:51 +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; Mon, 20 Jan 2025 04:02:47 -0600 From: Vijendar Mukunda To: CC: , , , , , , , , , , Vijendar Mukunda Subject: [PATCH V2 19/23] ASoC: amd: acp70: enable acp pme enable during acp init sequence Date: Mon, 20 Jan 2025 15:31:26 +0530 Message-ID: <20250120100130.3710412-20-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120100130.3710412-1-Vijendar.Mukunda@amd.com> References: <20250120100130.3710412-1-Vijendar.Mukunda@amd.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: CH1PEPF0000AD82:EE_|CH3PR12MB9023:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fcbb85f-a435-4bce-a8a4-08dd393999e3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|376014; X-Microsoft-Antispam-Message-Info: Sf7L1/74GdRz+rNAQic85JkY4TDZZGFxIjZ6hcf8G9OKDMKDBo5gl/VY1FMPepkjnlnXC1EgcGR9xz7ge2PBISq0FH8uaXY8ay/btwNSu51sH/OewJJZ5KRBWkRZxDspbfyosQB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KK8OcsdiNCjrEJhCWEANja928taxn6dK8xb9p74DQLOsszNav014FwQuPlJGsrfL4t1nC89LLmdAEGTt80qZPToHTXP50RWtGlRUoT58wjZSgaFHevE+xCys315BdLjy3CRNt7V73pH2jlRxHkdcGKAeOz15omimugNvN/YkwpJkR+lND0SNl56u1aWYVz/33dCzXr5KmQXgLhFzfFyA2BBq8PAFD3Acfi29vU2MZnvsI9Yt/x51hIqyQUyS9ghkH4WbyPgUDaeeqJVCvBAhWzs/RrTIo/dxjPMBCJJMgQyGyNs= 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)(82310400026)(36860700013)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2025 10:02:51.3293 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7fcbb85f-a435-4bce-a8a4-08dd393999e3 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: CH1PEPF0000AD82.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9023 As per design flow, set the ACP_PME_EN to 1 during acp init sequence. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp70/pci-acp70.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/amd/acp70/pci-acp70.c b/sound/soc/amd/acp70/pci-acp70.c index 79b0ab96217b..e7da59a5eae5 100644 --- a/sound/soc/amd/acp70/pci-acp70.c +++ b/sound/soc/amd/acp70/pci-acp70.c @@ -97,6 +97,7 @@ static int acp70_init(void __iomem *acp_base, struct device *dev) } writel(0, acp_base + ACP_ZSC_DSP_CTRL); acp70_enable_interrupts(acp_base); + writel(0x1, acp_base + ACP_PME_EN); return 0; }