summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2024-06-28 00:15:22 +0200
committerFelix Singer <felixsinger@posteo.net>2024-06-29 22:51:16 +0000
commit1f5a221a51c357e809cb2bbf6bee17bb5902a7ef (patch)
tree120c0e04dcc6c88a38531577095e79b634f857c8 /src/mainboard/intel
parent6ce6a5b369d10c645d47037348471d7055e12259 (diff)
tgl mainboards: Move audio related settings into hda device scope
Change-Id: I1992c20dcdc5e974143690d44ee199d7c3394cfd Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83251 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r--src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb21
-rw-r--r--src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb21
2 files changed, 24 insertions, 18 deletions
diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
index af16f756f0..fede521d22 100644
--- a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
+++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
@@ -104,14 +104,6 @@ chip soc/intel/tigerlake
.tdp_pl4 = 105,
}"
- #HD Audio
- register "PchHdaDspEnable" = "1"
- register "PchHdaAudioLinkDmicEnable[0]" = "1"
- register "PchHdaAudioLinkDmicEnable[1]" = "1"
- register "PchHdaAudioLinkSspEnable[0]" = "1"
- register "PchHdaAudioLinkSspEnable[2]" = "1"
- register "PchHdaAudioLinkSndwEnable[0]" = "1"
-
# Intel Common SoC Config
register "common_soc_config" = "{
.gspi[1] = {
@@ -332,7 +324,18 @@ chip soc/intel/tigerlake
end
end
end
- device ref hda on end
+ device ref hda on
+ register "PchHdaDspEnable" = "1"
+ register "PchHdaAudioLinkDmicEnable" = "{
+ [0] = 1,
+ [1] = 1,
+ }"
+ register "PchHdaAudioLinkSspEnable" = "{
+ [0] = 1,
+ [2] = 1,
+ }"
+ register "PchHdaAudioLinkSndwEnable[0]" = "1"
+ end
device ref smbus on end
device ref fast_spi on end
device ref gbe off end
diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb
index 3a80c51d9b..23ccfb96af 100644
--- a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb
+++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb
@@ -111,14 +111,6 @@ chip soc/intel/tigerlake
.tdp_pl4 = 83,
}"
- #HD Audio
- register "PchHdaDspEnable" = "1"
- register "PchHdaAudioLinkDmicEnable[0]" = "1"
- register "PchHdaAudioLinkDmicEnable[1]" = "1"
- register "PchHdaAudioLinkSspEnable[0]" = "1"
- register "PchHdaAudioLinkSspEnable[2]" = "1"
- register "PchHdaAudioLinkSndwEnable[0]" = "1"
-
# Intel Common SoC Config
register "common_soc_config" = "{
.gspi[1] = {
@@ -337,7 +329,18 @@ chip soc/intel/tigerlake
end
end
end
- device ref hda on end
+ device ref hda on
+ register "PchHdaDspEnable" = "1"
+ register "PchHdaAudioLinkDmicEnable" = "{
+ [0] = 1,
+ [1] = 1,
+ }"
+ register "PchHdaAudioLinkSspEnable" = "{
+ [0] = 1,
+ [2] = 1,
+ }"
+ register "PchHdaAudioLinkSndwEnable[0]" = "1"
+ end
device ref smbus on end
device ref fast_spi on end
device ref gbe off end