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>
diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb b/src/mainboard/intel/tglrvp/variants/tglrvp_up4/devicetree.cb
index 3a80c51..23ccfb9 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 @@
.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 @@
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