From patchwork Fri Jul 21 13:57:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 705263 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 65737C001DC for ; Fri, 21 Jul 2023 13:58:14 +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 8D9571F7; Fri, 21 Jul 2023 15:57:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8D9571F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1689947892; bh=IyGflU2lnBYJHrmv/gcLzttE/9me9zPJ5oTO79CYzuw=; 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=N2VMmTxZsvURuM2obyrRZk3jmDhSwNKmZBfL/UR5QxhRRmI6b+/5u7Fs8MPbRwqC1 vYax/friS6EGBAkLGoz7b37UpMeMmp1pgDe8xzQEJ7WXHSQjZb4RzUSLmRmt4ZQe46 QkcarPrFyvQ4/puTw0vrxTVFqEcBd9DxcatfTCdA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9BB9DF80578; Fri, 21 Jul 2023 15:56:23 +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 5F8C3F80567; Fri, 21 Jul 2023 15:56:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D4E02F8047D; Fri, 21 Jul 2023 15:56:18 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 B3C4EF8007E for ; Fri, 21 Jul 2023 15:56:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B3C4EF8007E 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=hDUVOYXA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689947773; x=1721483773; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IyGflU2lnBYJHrmv/gcLzttE/9me9zPJ5oTO79CYzuw=; b=hDUVOYXAVuT8IrIvzfMQKG3jzUqEnElANQ1LtDeyHZxMhF10JvavRWcu B059cJXdwGUdGhKfKe2ge76QIfTKQQxP+xYU7PlDTY7n393X/K3vzviG3 J6Y6iPuTL7Bj4gH9H2L6/3L+lFyDBlsMAc3kS+YhxdmCD62oXs92kKsE9 aA1JbHWSb7ADFc2JPHIi0DyIV6QvwzDnDp87MJmnHx53vrZZNyPQ1Hvf4 N11snVbQCJHVufN+aq0mzIBe8ek2aSeulZzA+zplfKCsq3rrlb6rZyZbC L/ct8RB++IlD75up/vbNhMCiKwgp8Pa8M7+eVTkJWwEXVYe/UuccluTPe g==; X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="370630884" X-IronPort-AV: E=Sophos;i="6.01,220,1684825200"; d="scan'208";a="370630884" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 06:56:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="724877900" X-IronPort-AV: E=Sophos;i="6.01,220,1684825200"; d="scan'208";a="724877900" Received: from dhardfel-mobl1.ger.corp.intel.com (HELO pujfalus-desk.ger.corp.intel.com) ([10.251.223.78]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 06:56:07 -0700 From: Peter Ujfalusi To: tiwai@suse.com, perex@perex.cz Cc: kai.vehmanen@linux.intel.com, pierre-louis.bossart@linux.intel.com, yung-chuan.liao@linux.intel.com, alsa-devel@alsa-project.org Subject: [PATCH 1/2] ALSA: hda/hdmi: keep codec entries in numerical order Date: Fri, 21 Jul 2023 16:57:21 +0300 Message-ID: <20230721135722.31288-2-peter.ujfalusi@linux.intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230721135722.31288-1-peter.ujfalusi@linux.intel.com> References: <20230721135722.31288-1-peter.ujfalusi@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: O4PFKMNU7UIYUDJUQ4ZADIMV2R3J5PCO X-Message-ID-Hash: O4PFKMNU7UIYUDJUQ4ZADIMV2R3J5PCO X-MailFrom: peter.ujfalusi@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: Kai Vehmanen Switch order of Intel MTL and RPL codec entries to keep the codec device id list nicely ordered. Also use the opportunity to fix the naming to the convention used elsewhere in the drivers. Signed-off-by: Kai Vehmanen Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao Reviewed-by: Pierre-Louis Bossart Signed-off-by: Peter Ujfalusi --- sound/pci/hda/patch_hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 260d3e64f658..5139b6e087b3 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -4632,8 +4632,8 @@ HDA_CODEC_ENTRY(0x80862819, "DG2 HDMI", patch_i915_tgl_hdmi), HDA_CODEC_ENTRY(0x8086281a, "Jasperlake HDMI", patch_i915_icl_hdmi), HDA_CODEC_ENTRY(0x8086281b, "Elkhartlake HDMI", patch_i915_icl_hdmi), HDA_CODEC_ENTRY(0x8086281c, "Alderlake-P HDMI", patch_i915_adlp_hdmi), -HDA_CODEC_ENTRY(0x8086281f, "Raptorlake-P HDMI", patch_i915_adlp_hdmi), -HDA_CODEC_ENTRY(0x8086281d, "Meteorlake HDMI", patch_i915_adlp_hdmi), +HDA_CODEC_ENTRY(0x8086281d, "Meteor Lake HDMI", patch_i915_adlp_hdmi), +HDA_CODEC_ENTRY(0x8086281f, "Raptor Lake P HDMI", patch_i915_adlp_hdmi), HDA_CODEC_ENTRY(0x80862880, "CedarTrail HDMI", patch_generic_hdmi), HDA_CODEC_ENTRY(0x80862882, "Valleyview2 HDMI", patch_i915_byt_hdmi), HDA_CODEC_ENTRY(0x80862883, "Braswell HDMI", patch_i915_byt_hdmi), From patchwork Fri Jul 21 13:57:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 704944 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 81421EB64DD for ; Fri, 21 Jul 2023 13:58:03 +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 4B99A210; Fri, 21 Jul 2023 15:57:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4B99A210 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1689947881; bh=drF6apj2Xqlsdca/3CHoYQLp4/cf0R6BLagVcKHVxbk=; 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=Lq4x1wmI+rstQzHwZnE1MJ3pktO8RaOISA9n/OrPVmP93hnSSGgl4CwqFMxeISRJs 5I0ZtQ9sGZpsLhqdIxz3KLvhxV4asyzXQyV10076Nmx/+ObFO6+EIKwLKb1KiRsBsB cmkIO5CZkyFs8IeTwL9OUZ7nvxIB/q5tL79xJES4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 88044F80548; Fri, 21 Jul 2023 15:56:21 +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 EB029F80527; Fri, 21 Jul 2023 15:56:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 47EA1F80494; Fri, 21 Jul 2023 15:56:17 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 3DDC4F8032D for ; Fri, 21 Jul 2023 15:56:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3DDC4F8032D 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=UOkfmq0E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689947774; x=1721483774; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=drF6apj2Xqlsdca/3CHoYQLp4/cf0R6BLagVcKHVxbk=; b=UOkfmq0EPjxyicl5o6IK7N5UesQSJm81EtQnCB5WSiPy+2IoT/JGO4sJ 3FBZK25JE8rUMTp0oZqxq3ErlA7cFYPVVvwVzBydab3+LfID9hpRlh2ct +Vxgx22H6GdcVCve0J6RnJwunShHV0GpnKuse8q6YuVU9Ya6PAbMei2XC rRFQ9vue3zVMbx7ZQcVoP5+cjcTLtQbxyGu97UwKKkZnmSuGQElEgWs+M O+sQUWpKhWwRpB/qVepfaTJKifVmAQPmlszE/C5YG5Kqgjnhst5bhYsco XshDO3md4kNiT7Ea5KwD9BlMQShhvEQ/o4FGOrc5LRjtsEVu4SzsiI0yk A==; X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="370630904" X-IronPort-AV: E=Sophos;i="6.01,220,1684825200"; d="scan'208";a="370630904" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 06:56:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="724877910" X-IronPort-AV: E=Sophos;i="6.01,220,1684825200"; d="scan'208";a="724877910" Received: from dhardfel-mobl1.ger.corp.intel.com (HELO pujfalus-desk.ger.corp.intel.com) ([10.251.223.78]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 06:56:10 -0700 From: Peter Ujfalusi To: tiwai@suse.com, perex@perex.cz Cc: kai.vehmanen@linux.intel.com, pierre-louis.bossart@linux.intel.com, yung-chuan.liao@linux.intel.com, alsa-devel@alsa-project.org Subject: [PATCH 2/2] ALSA: hda: add HDMI codec ID for Intel LNL Date: Fri, 21 Jul 2023 16:57:22 +0300 Message-ID: <20230721135722.31288-3-peter.ujfalusi@linux.intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230721135722.31288-1-peter.ujfalusi@linux.intel.com> References: <20230721135722.31288-1-peter.ujfalusi@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: IWSPRXG2W2MSWAESBBWEZ75ONPVJ7NFX X-Message-ID-Hash: IWSPRXG2W2MSWAESBBWEZ75ONPVJ7NFX X-MailFrom: peter.ujfalusi@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: Kai Vehmanen Add HDMI codec ID for Intel Lunar Lake platform. Signed-off-by: Kai Vehmanen Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao Reviewed-by: Pierre-Louis Bossart Signed-off-by: Peter Ujfalusi --- sound/pci/hda/patch_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 5139b6e087b3..1cde2a69bdb4 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -4634,6 +4634,7 @@ HDA_CODEC_ENTRY(0x8086281b, "Elkhartlake HDMI", patch_i915_icl_hdmi), HDA_CODEC_ENTRY(0x8086281c, "Alderlake-P HDMI", patch_i915_adlp_hdmi), HDA_CODEC_ENTRY(0x8086281d, "Meteor Lake HDMI", patch_i915_adlp_hdmi), HDA_CODEC_ENTRY(0x8086281f, "Raptor Lake P HDMI", patch_i915_adlp_hdmi), +HDA_CODEC_ENTRY(0x80862820, "Lunar Lake HDMI", patch_i915_adlp_hdmi), HDA_CODEC_ENTRY(0x80862880, "CedarTrail HDMI", patch_generic_hdmi), HDA_CODEC_ENTRY(0x80862882, "Valleyview2 HDMI", patch_i915_byt_hdmi), HDA_CODEC_ENTRY(0x80862883, "Braswell HDMI", patch_i915_byt_hdmi),