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: "Mukunda,Vijendar" X-Patchwork-Id: 13774615 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2044.outbound.protection.outlook.com [40.107.94.44]) (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 85D8E2C190; Fri, 23 Aug 2024 05:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724391482; cv=fail; b=gKU812UxQ7qsNkvN4Pu5Cs0lzgiKeU2puSLF9pUFgIFIjIsAzfpojyAKip7mPPiq6GLE/kQ6HSX+gKWiEytY2Tn/i9uoL8bog7vaBorkSNhEukhR3Knxiw04Rsbr+SMOz0OT5l2EbE5a+PmS0d3uEu1u6yq34n45i7tZdGKBW/8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724391482; c=relaxed/simple; bh=0GzJ+ugz+DBKSrbFCoBlMVsCsijCS7rE7chDJi/qVBg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=AUoXMAmC9eu6hMIYLuWc9Vx36zTfoxHIE7cm5df0dx+0JBdl86EZ36mVMCIuCn0Oy9WQQ7EwmTqlvddxsrtyYhKCSYoDZbkNkD1sqffrrkLIJyhCWWl6rNqwNN6tDEdLTL9elpyIZr0OGRwxx3Ja7JVIoc/PKXWnnA/LbMU0dLw= 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=Fc6mA+IR; arc=fail smtp.client-ip=40.107.94.44 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="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 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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-Microsoft-Antispam-Message-Info: G+ZRS6uqax4Y4DMnZJfA2foRqpzQrD0vDIzW7seo5y6DvW+y5sBBLpiLvkStk2OWmniDN7gJjexh+lh79fG7/fueK3mzpfJbXEZZ9Dnncyg9P6eZ3GJxLtqQRNYC/0Zfv10eQNnjpK4Te5WFbDYzrpzSaAHrbP9S/zzVNE8KDEl962X8pWqjo5ervTGA7Vb4L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wkX/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 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