From e526e74a0ed3f3a36f921d332a75f3d3589c91cc Mon Sep 17 00:00:00 2001 From: WeirdTreeThing Date: Thu, 16 Nov 2023 16:25:33 -0500 Subject: [PATCH] sof-rt5682: Add HDMI support --- sof-rt5682/HiFi.conf | 4 +--- sof-rt5682/platform.conf | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sof-rt5682/HiFi.conf b/sof-rt5682/HiFi.conf index ca52083..0c06866 100644 --- a/sof-rt5682/HiFi.conf +++ b/sof-rt5682/HiFi.conf @@ -129,6 +129,4 @@ SectionDevice."Mic" { } } -# TODO: detect hdmi configuration - -#Include.hdmi.File "/codecs/hda/hdmi2345.conf" +Include.hdmi.File "/codecs/hda/${var:hdmi}.conf" diff --git a/sof-rt5682/platform.conf b/sof-rt5682/platform.conf index 5675550..1aa3e1d 100644 --- a/sof-rt5682/platform.conf +++ b/sof-rt5682/platform.conf @@ -9,6 +9,7 @@ If.cml { True { Define.cml y Define.dmicpcm 1 + Define.hdmi hdmi234 } } @@ -21,6 +22,7 @@ If.tgl { True { Define.tgl y Define.dmicpcm 99 + Define.hdmi hdmi2345 } } @@ -34,6 +36,7 @@ If.jsl { True { Define.jsl y Define.dmicpcm 5 + Define.hdmi hdmi234 } } @@ -46,5 +49,6 @@ If.adl { True { Define.adl y Define.dmicpcm 99 + Define.hdmi hdmi2345 } }