Message ID | 20240903113427.182997-10-venkataprasad.potturu@amd.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b80d5a0c875fa0a708be24260d8f160d31273b1b |
Headers | show
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2040.outbound.protection.outlook.com [40.107.243.40]) (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 B78271B9830; Tue, 3 Sep 2024 11:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725363379; cv=fail; b=p7T7/PZ42FsbHi8PDe4LPhrR5qY/ozyRtnnUDfBsuFkNo3W8Tkeu8MGnAq3ydsrmfCw8GAkcY7MWHfc79msWr0tP+ocGleBYCT6HklEkEG9ETiZRKgh7ZQskZPjXbzAWCenb58hLRvrzjZtRXWb9NPV4mqk0vaMuzgtowBAVLdM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725363379; c=relaxed/simple; bh=xKcLnaQDGwn0Pbq10Bo9rykUqa45KZZzp3wVIP3naWc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RT+LxA4ns4+b0rhgjy+8LfJq2NXxW7wm/rjJwrG9brelUNVPgPhfroBxJOE+QkMwIZBTNrWb36apgyZ/gmM1Pq3EYFUm/Lf0rAHAMJaqYfiAOKRUCJ7f5NCzmSnGFLiORe1G362NGm3McXnhNdxwjPFDp31KGOQM0DnDGDC+Crc= 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=VUpwL/MX; arc=fail smtp.client-ip=40.107.243.40 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="VUpwL/MX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pPQZAAlpDpz+9kK/TMk/21kg7fX5xSUdL+Hh++51zEZEcEqtzdxS901ajGKzg6gjJeNfqP6D66IeFQQSu4uJXWwWgHEUW8KrxpGvhM7y4SIaqMGwmgbwdgR5WomPFqGRgkFhdtR7rG9pbyRthulriRDcmNYYUQblbwDCzuJkxp9+5f78HnAjblw8SLkWBBwyCuoaOaoAbkYPcjyIrd7i7IndlRB1wJwO3wUYrpkf3pwdJqccfxrBCzyw89yDncNI9OGHGo7lCWGmAF0Ua/MB3B6K8Hp8WPKY7GPzZsPjBMsM89DqHpLmIqFvQ00zcrBdo8nmKPJcOdPA5oVQ+WWiaw== 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=JgNguuEw2MSrlS8j3DDY57JaEDgE8yzDudXajSgCDx0=; b=iS7afbp3OhV7o+2b9jiEvcQRr4jb/fM6SxErCMmAncyz1xQ73j4OETCzWvhwvGx4VlnOqNgN0jkOaV9lLH8swSGR+Fx31WNOWIsB2rnND9/Mp3t+8Vv8gkY+IOaO9FAgWj2LM2o1lDFR3bV97Fh7bE25f2YLP/HaKPczub8U92KOp9WhzwJI6Be1dk8FMXWJofeWVE2R7h+ICtQ1fRf3rPyBFKnJ79WkIF/JG0gGeJ4WgVIm1D+isZeJidzWJDmr9qd9ePOeclpk9umdF+qKjAgsNXrBx/Sq0fnRDFPkUVMms6bEV1P8xNA1kVfcjB8MzuZiAGFF6PWl4hQiQJvlGg== 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=JgNguuEw2MSrlS8j3DDY57JaEDgE8yzDudXajSgCDx0=; b=VUpwL/MXCZocSPJJs7pLi19OW+3be3UFc/6KLAKzRKyo9ms2mto2pkAcyOIVs4YCnMXDIN4gEY1xteIqLHJsFo73mXQqOigo5MtuLNRhvwO0I4Pbnm7gg+0lQLEZ6L5bRFgzIpP+CbCH9kEmMcra5NBcRCH9lDFF1QvPVHgJKUk= Received: from BY3PR10CA0008.namprd10.prod.outlook.com (2603:10b6:a03:255::13) by SA0PR12MB7479.namprd12.prod.outlook.com (2603:10b6:806:24b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Tue, 3 Sep 2024 11:36:13 +0000 Received: from SJ1PEPF0000231F.namprd03.prod.outlook.com (2603:10b6:a03:255:cafe::52) by BY3PR10CA0008.outlook.office365.com (2603:10b6:a03:255::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25 via Frontend Transport; Tue, 3 Sep 2024 11:36:13 +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 SJ1PEPF0000231F.mail.protection.outlook.com (10.167.242.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7918.13 via Frontend Transport; Tue, 3 Sep 2024 11:36:13 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) 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 Sep 2024 06:36:12 -0500 Received: from prasad-r9-mach.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Tue, 3 Sep 2024 06:36:02 -0500 From: Venkata Prasad Potturu <venkataprasad.potturu@amd.com> To: <broonie@kernel.org>, <alsa-devel@alsa-project.org> CC: <Vijendar.Mukunda@amd.com>, <Basavaraj.Hiregoudar@amd.com>, <Sunil-kumar.Dommati@amd.com>, <syed.sabakareem@amd.com>, "Venkata Prasad Potturu" <venkataprasad.potturu@amd.com>, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, "Syed Saba Kareem" <Syed.SabaKareem@amd.com>, Jeff Johnson <quic_jjohnson@quicinc.com>, "open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." <linux-sound@vger.kernel.org>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH 09/12] ASoC: amd: acp: Add I2S TDM support for acp7.0 platform Date: Tue, 3 Sep 2024 17:04:24 +0530 Message-ID: <20240903113427.182997-10-venkataprasad.potturu@amd.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240903113427.182997-1-venkataprasad.potturu@amd.com> References: <20240903113427.182997-1-venkataprasad.potturu@amd.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: <linux-sound.vger.kernel.org> List-Subscribe: <mailto:linux-sound+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-sound+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Received-SPF: None (SATLEXMB04.amd.com: venkataprasad.potturu@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF0000231F:EE_|SA0PR12MB7479:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c3c1d0d-0e69-4a27-938d-08dccc0c9d9c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: HTKpOTLIA8Ilj99V+gxcxvEJmITahrUbCR3sP95+Q0lHSZDs9FFFFBu0eSVluXHoAgzs4YQntgBIF2Ug9cHf8mAGqtj1VIFr+zP1D+O9Mo44+XbuQ83vK/RZKnqyhiQFIi4Nbh514Hf6m/YAB4Doo/n1FPqziCIMvIlbI/wFwmvGzBuys2IDhW7ypHuWwmrK6oRHgxRTVhod4s9yF9hL1BS9UFr2xq68FjqXIpo6k0qgRpPKl6CvwnA/4FM9LcuLxzGBOG1Lv6fjTo4WuPgKOTkwsoEyq6zSLvdVTMevD6XZWzqivFJdX4yl3PPnuKuyOq6ZnZxnk+y0nuVd/aplfXxHq9BG4SKwWsM+e5MFgsR3YoqwED++xhLRoZJVvu0secUi49vj6/vVgXbJmVr9HRcnN7IWRG/Y+obFjpSUzQUCLqG8/EWxrTkh8AR7XEnUjCQKIEZ73HCYQoIeMwSFYX/N2VA2U4lgtrhKT5Sa9AT3pFaDcRVAFp/viis0Onof886uIKC/Gum9SoB94fuYWOExQ1sLaN+KYPwXRfpaJTDuXqUSznQ5l4ScFFgt21rwoaNzs5G5UHiZpdEi6cPrZ488vvCqt+eBo3dOiNbagqd1+3JaINg0adksTXF8nkjEnd++RXg9+peQiu1tS8bqUWGa7w3rPOh/X2yi+4o77F1nkY+bXjOCg6/G/io7NpMeh+c6kKRVWn87l6hiSnTA5aDSiALrDcac/yPO9Wst71Hgbl+iGOZAk+z7J4JMflC0uHhbP3ApWy/QozJVUkxFipI2FDdDQTRPQzvQAmNLL4awhEOBY3yBiA54p25920D83M/dxunAeLq9rNzN8eF7PK7fV9kHYkbGSkn+0MCmzSyVP+VPwJD80rRRiG92XYkaAfbeKWtpOUecScMkbb1jV0KTnGxNJAO+q/muTGFbPH/2mhYfh7M+AV+9MFSEDqxm++0mLiRpmDf/X0sDCp1URfreRh4rFVCffU1Mg3+iIYDp6yEcRlFPWaC4/KgTYXiGhmqDZ4ANQt65l3bLd9VTIg/nyp9UJ15HZeP8vBiRDVmYKZvt5O/rGjPoNiQ+1mVcFbZT1Cj4IW3gYcNKTByV+ijO5eE1a0SDzk+VuKxiJj63t4UnIMj2NQ3hsEqvMvmu1Q5VUwN5Rxy+BeqdENCYwwKJXLONV7PWIdoZRT78FVy0Drti1CzaLM87zBVrUwppT6GKTffAeMNwQOM/5Ne2t8GG/TS00hytdRZN0Aj0IaFDAO9aPXgDIhjvpdnTql1Qrx2pd9Ce/GAmRP+pfDaqwQqnq626ISSMqYE5qRHu3klYHR4dbRyojw3BdGSuuYOYNQXn3IOMGj2bjPBubfaZifOYO+1CnOMMWf7xioPMQ5D3RoTYuU0SYsdsM74VTHWbq2lwH+6UUarHpLK02ZEN0IJlt0uYNjK8IpkBaDEaps4tOFnrIAux+YTG6UlvkUIq 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);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2024 11:36:13.4319 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0c3c1d0d-0e69-4a27-938d-08dccc0c9d9c 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: SJ1PEPF0000231F.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB7479 |
Series |
Add i2s/tdm support for acp7.0 and acp7.1 platforms
|
expand
|
diff --git a/sound/soc/amd/acp/acp-i2s.c b/sound/soc/amd/acp/acp-i2s.c index 31475a4dbced..2a23c52eb512 100644 --- a/sound/soc/amd/acp/acp-i2s.c +++ b/sound/soc/amd/acp/acp-i2s.c @@ -135,6 +135,7 @@ static int acp_i2s_set_tdm_slot(struct snd_soc_dai *dai, u32 tx_mask, u32 rx_mas } break; case ACP63_DEV: + case ACP70_DEV: switch (slots) { case 1 ... 31: no_of_slots = slots; @@ -167,6 +168,7 @@ static int acp_i2s_set_tdm_slot(struct snd_soc_dai *dai, u32 tx_mask, u32 rx_mas FRM_LEN | (slots << 15) | (slot_len << 18); break; case ACP63_DEV: + case ACP70_DEV: if (tx_mask && stream->dir == SNDRV_PCM_STREAM_PLAYBACK) adata->tdm_tx_fmt[stream->dai_id - 1] = FRM_LEN | (slots << 13) | (slot_len << 18);
Add acp70 revision id to support I2S TDM. Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com> --- sound/soc/amd/acp/acp-i2s.c | 2 ++ 1 file changed, 2 insertions(+)