From patchwork Fri Aug 23 05:37:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 821762 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 59122C531DC for ; Fri, 23 Aug 2024 05:49:12 +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 E559F852; Fri, 23 Aug 2024 07:48:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E559F852 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1724392150; bh=0GzJ+ugz+DBKSrbFCoBlMVsCsijCS7rE7chDJi/qVBg=; h=From:To:CC:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=CU2j+Cml02yB/kHBySeav7mblMiN1yQL1DiJrZnKm6owE/YM4vR6JvPzuzJ8wxE+3 PYHpfsKRYmILvas8nHdnUXR5X4zDCzY8FwvcLUTKx9Eg8Rb2NEgskDwv4RZdGD6ZYQ MYiu0YeOPpkeBR9DreqEtzanh2Cl/HGbVvdBzhb8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 499DBF805D5; Fri, 23 Aug 2024 07:48:32 +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 4AB51F805E3; Fri, 23 Aug 2024 07:48:31 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 99B15F80517; Fri, 23 Aug 2024 07:38:24 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2061b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7ea9::61b]) (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 68D9FF80494 for ; Fri, 23 Aug 2024 07:38:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 68D9FF80494 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=Fc6mA+IR ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=r84s/z5LQN8ZrScto5oz+XfgAWaiHbDldZBeVdDg9G/OcwB4rufzc1z9/o5eP9cYB3vZ9rOpnH+fb1cMKp682Eo2euKt4PjVEhFAhc4zzgIzlu6WwSvQVenspu0/9Nq38hfvjX5ajprk3IgoDjTBOiS/l99sqOfPmHZ20UsrPLxGjnzTU57P0AKv5651Mibs02dcBuB1GuAW2541FpLL+f70i7/2J/W/4F4PgJfG5I3wnA7kamVatUKenkEWgYlVwgMlvjkL292qqo0DCTRcOIIgBnqv+4X6jMnWmaDqFUqIRFvPSj1f+Bu1lLWbu96iizvm4bQtEyr9g4lcOLBhXA== 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=eeKlnDepmMi9IDfMiUFngf9HBgG7pYCvvsYjAObbtV0=; b=xLGcdnNHY+4eXy8uBxSKG2stKbwJfJZOpYAnD703aJ6ek1IjhnDuFl32ybcteRvQqZf0Rh6yRKW2C8N38EFJs7m0H9yqVT6ksbPiim8S0UOWMwjycpJmVZAZC1ULoIkXflcKZ+JuIcJ+W36WLSZvkH88YeqFB3SJVLrv1dgqUobCIEmexpGUxgDccMCVj/j2y83W1rMv9Spt8sfNwSQzOj4LXsqGM1Z/SISCfDo3RzltIMNb0QWhFF6GebW/MXLHUiq2bthMLV+tVDPVUZruXMptHcz4o92BMdTWVe6zp7xFExdpPIQxraAvqOvoDs56019Ssvq3FUSr7FdAbRYyqg== 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=eeKlnDepmMi9IDfMiUFngf9HBgG7pYCvvsYjAObbtV0=; b=Fc6mA+IR2cTopE+jH2Dm7+oIy5AzMhrzLkmbg7pu2Et+yJNXGeoL3edyY8BZ5ezzHnZdi1oSWV6mjEmstWZpp/Uq3AQsCPmEz6gN0dIEvcy+dsqteSBs3Gh0n7AtgqSENYeK4TsJPv7v77ni6oLQOP2wJk4HtwmZcE3I+R0QTe4= Received: from SA9PR03CA0021.namprd03.prod.outlook.com (2603:10b6:806:20::26) by DS0PR12MB7778.namprd12.prod.outlook.com (2603:10b6:8:151::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.16; Fri, 23 Aug 2024 05:37:57 +0000 Received: from SA2PEPF00003AE4.namprd02.prod.outlook.com (2603:10b6:806:20:cafe::6e) by SA9PR03CA0021.outlook.office365.com (2603:10b6:806:20::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19 via Frontend Transport; Fri, 23 Aug 2024 05:37:57 +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 SA2PEPF00003AE4.mail.protection.outlook.com (10.167.248.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7897.11 via Frontend Transport; Fri, 23 Aug 2024 05:37:56 +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; Fri, 23 Aug 2024 00:37:51 -0500 From: Vijendar Mukunda To: CC: , , , , , , , , , , , , , "Vijendar Mukunda" Subject: [PATCH 0/2] Add SOF support for ACP7.0 based platform Date: Fri, 23 Aug 2024 11:07:37 +0530 Message-ID: <20240823053739.465187-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: SA2PEPF00003AE4:EE_|DS0PR12MB7778:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a6c2f0c-607f-4a58-dd64-08dcc335bde1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|376014|82310400026|7416014; X-Microso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4MwBKriqwNapvYhzK99dE6ic/aAZD4XamDcrn3CtBsoGacDzobSzz/R8h04sCClO8h89y91GI/u5Z3vFZDB+j1i8GMipaCXUbNe6ULUXu0J/F4Nzrykzi//TqsPSJ5mrX2j5Ernu/w7zT9uBdkK6gyx7FFB7mmjrkBRYxtVuRByvtUAkL+lvk4uXPVUoJ8WWbLBRR3WbpvK7nvmisz7wkX/eYJiSOfpx+lZxY9+NpXRlNzExDQ/dWWWUZhAYz5IW9xkioQSE+Uw0IVg8l+uLVQt1zkPAmr0gkE7/r3JudnyEKh0sPJlXJ2QNKiNZsAlZv25zjUfkbKjkzCGwg6jsPV6xZAYcwbrS9d2OCuhaHhmIoA== 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)(1800799024)(36860700013)(376014)(82310400026)(7416014); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 05:37:56.5365 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a6c2f0c-607f-4a58-dd64-08dcc335bde1 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: SA2PEPF00003AE4.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7778 Message-ID-Hash: GGSYQGR55MABDUXKDGD7PO67XJDBHYPG X-Message-ID-Hash: GGSYQGR55MABDUXKDGD7PO67XJDBHYPG 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 adds SOF support for ACP7.0 based platform. Link: https://github.com/thesofproject/linux/pull/5139 Vijendar Mukunda (2): ASoC: amd: Add acpi machine id for acp7.0 version based platform ASoC: SOF: amd: add support for acp7.0 based platform sound/soc/amd/acp-config.c | 12 +++ sound/soc/amd/mach-config.h | 1 + sound/soc/sof/amd/Kconfig | 10 ++ sound/soc/sof/amd/Makefile | 4 +- sound/soc/sof/amd/acp-dsp-offset.h | 24 ++++- sound/soc/sof/amd/acp.c | 65 ++++++++++--- sound/soc/sof/amd/acp.h | 9 ++ sound/soc/sof/amd/acp70.c | 142 +++++++++++++++++++++++++++++ sound/soc/sof/amd/pci-acp70.c | 112 +++++++++++++++++++++++ 9 files changed, 365 insertions(+), 14 deletions(-) create mode 100644 sound/soc/sof/amd/acp70.c create mode 100644 sound/soc/sof/amd/pci-acp70.c