Message ID | 20240801111821.18076-2-Vijendar.Mukunda@amd.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6e7af1fdf7da7f0b79475f573d3c1f49a826bd68 |
Headers | show
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2057.outbound.protection.outlook.com [40.107.93.57]) (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 82B1F18453A; Thu, 1 Aug 2024 11:18:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722511133; cv=fail; b=BcPbULbGEuHwToFs1Bo82jEHt2YLZFC/VNdeBbSFX+G93RwKwCUbpe9lZnhQt0d06OaL9Ir/+hWoUlNxyvp11dtEV2+WrcT6eQlQq6vK+jLXphFHs9NdggGEN58GNRTckLtRBs3PdWEd9jn+AzqxPh4Mxm+rBWsdtqW3ssqhtuI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722511133; c=relaxed/simple; bh=ejSREmtKpPlCZKf7CubmMFc5YO60GeQkUhyI5h1+gts=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZSFi0ohy9ZQDVswJtaBqxgSt5Umh/+WfP2TnvxAK3fuJgsHKf70Nz9LdZ7iGKBwUuAhPYO7zlsaBE0fu/ji4v6snM+C31mBBv/9ua9d+3WwuyfUf2DFhNH9CwquIwJnl1gHiigxs4GP0blqObnEBB/jxJ9JMUmDjQfUJRf0l7eY= 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=vo8OClad; arc=fail smtp.client-ip=40.107.93.57 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="vo8OClad" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UPw9dnLttljYBFCGpHDINA3OxNRpmPAuhk61imWDF4mU7a5ppE4s4HjGqyOm1v1BELRaORzrwavZIqB+GsVs0tHeNqMWzZvb2ZPMJrc4wmfruduf5uaG3zL8rEjzz+RaexJvFy3U6XnP1G+vp87ojMUCj9hdL8nn2tsz7qv12GUsZynaM3uLIkZmutL0ityIe13DvguJLe1xBfWb01ZzCwiv0jMyD6955NIs8jLOxsT2hg46S8Cl08Wgq45Fsb7m/FiK//m/XU1ZLGHquiiSLgaPMr4MoJYJT7sTAyo3MNgnMJO5EHxZ1fv4zLmNKY611fQz24HW6KZxLVRhp6gu7Q== 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=EbMz4R/5/iajlF1Nq6AdxmjB/86P3UNZcteCeMvd0o8=; b=BTJt+hqM8PBM/1Y7fw4gSwSLYlsFiUpd2+TSqp4jCVGClo7D2wWZbHaklbg5i1GShdNCWtjV3DlRYpJWtYaFIBbwoUbMgLBLoFfRP0bPj84xnwG6omqBHxAuKWpMqAtRC6KKVADZee3ulR5SiQ5NlqPvieYgsdUNZ66scxQx+Hh1dqGD8fqn4KC15rYVSmRhNinDEpFoNlmnZtrU6PvmuE5/4eIlmS0bejmhRciDSUowdATl8rof5j67iMZ2iZjY+Hnp/Xtd4KJf5NTVQiWGGNtBSooxFEAKMge5K0pol/d1rB0gIJ7v0ms566PU80nKQ+m+YcAIp0cENdEeHLY6PQ== 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=EbMz4R/5/iajlF1Nq6AdxmjB/86P3UNZcteCeMvd0o8=; b=vo8OClade3mI5xFQQdToUiqGLgxyWK/hTQobGzJ8OUOcJi8EVamc+iEqsVq5qS9bGhlpwE4RpnJTgIKDmTusTY1aNCs48w7HwIJ7YcaQUWkv6bTLgWv2Pf6EB4n10LcwSmkjhdb8ipQBe6w8bG33jU+NapROs9HrMpj89lduPiE= Received: from MN2PR15CA0030.namprd15.prod.outlook.com (2603:10b6:208:1b4::43) by SN7PR12MB6766.namprd12.prod.outlook.com (2603:10b6:806:26a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Thu, 1 Aug 2024 11:18:47 +0000 Received: from BL6PEPF00022570.namprd02.prod.outlook.com (2603:10b6:208:1b4:cafe::e4) by MN2PR15CA0030.outlook.office365.com (2603:10b6:208:1b4::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29 via Frontend Transport; Thu, 1 Aug 2024 11:18: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 BL6PEPF00022570.mail.protection.outlook.com (10.167.249.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7828.19 via Frontend Transport; Thu, 1 Aug 2024 11:18:47 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) 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; Thu, 1 Aug 2024 06:18:46 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 1 Aug 2024 06:18:46 -0500 Received: from vijendar-X570-GAMING-X.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; Thu, 1 Aug 2024 06:18:36 -0500 From: Vijendar Mukunda <Vijendar.Mukunda@amd.com> To: <broonie@kernel.org> CC: <vijendar.mukunda@amd.com>, <Basavaraj.Hiregoudar@amd.com>, <Sunil-kumar.Dommati@amd.com>, <alsa-devel@alsa-project.org>, <pierre-louis.bossart@linux.intel.com>, <venkataprasad.potturu@amd.com>, <yung-chuan.liao@linux.intel.com>, <linux-sound@vger.kernel.org>, "Vijendar Mukunda" <Vijendar.Mukunda@amd.com>, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, "Cezary Rojewski" <cezary.rojewski@intel.com>, Peter Ujfalusi <peter.ujfalusi@linux.intel.com>, Ranjani Sridharan <ranjani.sridharan@linux.intel.com>, Kai Vehmanen <kai.vehmanen@linux.intel.com>, Charles Keepax <ckeepax@opensource.cirrus.com>, Maciej Strozek <mstrozek@opensource.cirrus.com>, Chao Song <chao.song@linux.intel.com>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH RESEND 22/31] ASoC: intel/sdw_utils: move soundwire dai type macros Date: Thu, 1 Aug 2024 16:48:08 +0530 Message-ID: <20240801111821.18076-2-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240801111821.18076-1-Vijendar.Mukunda@amd.com> References: <20240801091446.10457-1-Vijendar.Mukunda@amd.com> <20240801111821.18076-1-Vijendar.Mukunda@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 (SATLEXMB05.amd.com: Vijendar.Mukunda@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF00022570:EE_|SN7PR12MB6766:EE_ X-MS-Office365-Filtering-Correlation-Id: 67387462-b36e-40a6-13ac-08dcb21bb659 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700013|82310400026|7416014|1800799024; X-Microsoft-Antispam-Message-Info: lcdp5SBWg0j5b5Pe2kgVBrCx/OyK1wX5Am0UshZd1A1n03yCByfwO+jjHJbwPnSqYPScIv9JwvnWFzbF38nBGz89NF5t0euzolrux7Y8DTiUpvz8EuOO2+l1jnnfkaE+mwxqENVBHLzU8Vuz/nsmoxpPNf9fJggkOltvN1+kCUREtVoPAdQOVLzjWjDs1kDCiIDPySYZ8kcfyCqjBdow3DLt3MbuqkpkvV6hWdHXBBpGNLfbiecWoktBZxP/E/XBsEpgdwgItrF2+I4V/bxriCyd8a/Fa375ZyNViloNR+G1dilzvcn84pOkCXSt0tBxlSTR9OAUbx2B9JQVTLVe2JVm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UIw3rTjSg== 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)(36860700013)(82310400026)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 11:18:47.2294 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 67387462-b36e-40a6-13ac-08dcb21bb659 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: BL6PEPF00022570.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6766 |
Series |
AMD SOF based generic SoundWire machine driver
|
expand
|
diff --git a/include/sound/soc_sdw_utils.h b/include/sound/soc_sdw_utils.h index 13941ddd24c8..7912ff7d2bb9 100644 --- a/include/sound/soc_sdw_utils.h +++ b/include/sound/soc_sdw_utils.h @@ -36,6 +36,10 @@ #define SOC_SDW_AMP_IN_DAI_ID 3 #define SOC_SDW_DMIC_DAI_ID 4 +#define SOC_SDW_DAI_TYPE_JACK 0 +#define SOC_SDW_DAI_TYPE_AMP 1 +#define SOC_SDW_DAI_TYPE_MIC 2 + struct asoc_sdw_codec_info; struct asoc_sdw_dai_info { diff --git a/sound/soc/intel/boards/sof_sdw_common.h b/sound/soc/intel/boards/sof_sdw_common.h index 8bfdffde16a3..02f3eebd019d 100644 --- a/sound/soc/intel/boards/sof_sdw_common.h +++ b/sound/soc/intel/boards/sof_sdw_common.h @@ -54,10 +54,6 @@ enum { (((quirk) << SOF_BT_OFFLOAD_SSP_SHIFT) & SOF_BT_OFFLOAD_SSP_MASK) #define SOF_SSP_BT_OFFLOAD_PRESENT BIT(18) -#define SOC_SDW_DAI_TYPE_JACK 0 -#define SOC_SDW_DAI_TYPE_AMP 1 -#define SOC_SDW_DAI_TYPE_MIC 2 - struct intel_mc_ctx { struct sof_hdmi_private hdmi; /* To store SDW Pin index for each SoundWire link */