From patchwork Mon Aug 14 23:13:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 714088 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 76CF9C001B0 for ; Mon, 14 Aug 2023 23:16:27 +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 5ECE283E; Tue, 15 Aug 2023 01:15:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5ECE283E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1692054985; bh=ddGuAWRJXk9MY5JHlS9ykEJYf8skM80hv7pY8F+2tt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=uR85KL5I3xwNmT9CPhI4gyyMLYWvuGQEaLAG/fKowjASseYVn3EVG34nxQhHUbQNI Smhyjvp+/uWHYVnLWtf0fCYhPLWRtuMuymZZDkNOVBelOeaCF3FF6URJp2f2nA7Vnh 8Qslzvqx+ayZ2nnf9mySv7dxiNOvW2PFUj4oQlNw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 80FA0F80580; Tue, 15 Aug 2023 01:14:40 +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 B7BAFF80510; Tue, 15 Aug 2023 01:14:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9A7B2F8055A; Tue, 15 Aug 2023 01:14:31 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) (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 A748AF80016 for ; Tue, 15 Aug 2023 01:14:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A748AF80016 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=me/oSUgZ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692054858; x=1723590858; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ddGuAWRJXk9MY5JHlS9ykEJYf8skM80hv7pY8F+2tt8=; b=me/oSUgZxVfiMNQuImGOH/6lip//4Jzg1Se8LEU/mrQePSv98T0Z+JSh wgp7EyWbeRBlf6lpwvM3KFXLYa4DZzBqYWKJQF+4ZJpqdQZeOdSjdv5Al dcvvh6C5vIwe+uW9KYTb4KYXDvG1s4fpgaloU6a9JZh1Uad6MHiQ7nmv4 paxwENPH9FPvZXOWPhTPmUZbkHGyyGt9SptnrTWI7sDQ+HiH27Kczerof 1keQVQG6yB9w7Unr1nhlttA8usVFSw0pw3rxFUb99RvZDiioJUiVSJKcV 72kpyTnfvhn1Vh3bn+Mx4DDe9b9pUVbFi2FzPiHQFItQbktC9KUGAFDLz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="403136791" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="403136791" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 16:14:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="1064250678" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="1064250678" Received: from dishasur-mobl.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.104.139]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 16:14:10 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Balamurugan C , Bard Liao , Pierre-Louis Bossart Subject: [PATCH 1/4] ASoC: Intel: soc-acpi: Add entry for sof_es8336 in RPL match table. Date: Mon, 14 Aug 2023 18:13:55 -0500 Message-Id: <20230814231358.78971-2-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230814231358.78971-1-pierre-louis.bossart@linux.intel.com> References: <20230814231358.78971-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: FHDVHZKOYTRLZLO6HZJSLJH6ILURC7GR X-Message-ID-Hash: FHDVHZKOYTRLZLO6HZJSLJH6ILURC7GR X-MailFrom: pierre-louis.bossart@linux.intel.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.8 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: From: Balamurugan C Adding support for ES83x6 codec in RPL match table. Reviewed-by: Bard Liao Signed-off-by: Balamurugan C Signed-off-by: Pierre-Louis Bossart --- sound/soc/intel/common/soc-acpi-intel-rpl-match.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sound/soc/intel/common/soc-acpi-intel-rpl-match.c b/sound/soc/intel/common/soc-acpi-intel-rpl-match.c index 4eefdb2dd45c..1f503c734ab5 100644 --- a/sound/soc/intel/common/soc-acpi-intel-rpl-match.c +++ b/sound/soc/intel/common/soc-acpi-intel-rpl-match.c @@ -331,6 +331,11 @@ static const struct snd_soc_acpi_codecs rpl_rt5682_hp = { .codecs = {"10EC5682", "RTL5682"}, }; +static const struct snd_soc_acpi_codecs rpl_essx_83x6 = { + .num_codecs = 3, + .codecs = { "ESSX8316", "ESSX8326", "ESSX8336"}, +}; + static const struct snd_soc_acpi_codecs rpl_max98357a_amp = { .num_codecs = 1, .codecs = {"MX98357A"} @@ -380,6 +385,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_rpl_machines[] = { .quirk_data = &rpl_rt1019p_amp, .sof_tplg_filename = "sof-rpl-rt1019-rt5682.tplg", }, + { + .comp_ids = &rpl_essx_83x6, + .drv_name = "sof-essx8336", + .sof_tplg_filename = "sof-rpl-es83x6", /* the tplg suffix is added at run time */ + .tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER | + SND_SOC_ACPI_TPLG_INTEL_SSP_MSB | + SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER, + }, {}, }; EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_rpl_machines);