From 8869414105b4852268e484a38d170405e984bc7c Mon Sep 17 00:00:00 2001 From: Keith Hui Date: Tue, 26 Dec 2023 16:33:57 -0500 Subject: mb/asus/p8z77-m: Support AC97 front audio panel Add a nvram option for front audio panel type. If it is set to AC97, reprogram front line out and microphone pins to match vendor firmware under same configuration. TEST=On asus/p8z77-m housed in an AOpen H340D case with an AC97 front audio panel, front panel line out port is now available as headphone port in Fedora 39 with this patch applied and option set correctly. And it works. Without the patch (or with this option set to HD Audio), front audio ports are completely inoperable. Change-Id: I39ccf066d87c5744a697599861719182768e0728 Signed-off-by: Keith Hui Reviewed-on: https://review.coreboot.org/c/coreboot/+/79734 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Nicholas Chin --- src/mainboard/asus/p8x7x-series/variants/p8z77-m/cmos.default | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/asus/p8x7x-series/variants/p8z77-m/cmos.default') diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/cmos.default b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/cmos.default index 3cc854d6c3..79ea560466 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/cmos.default +++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/cmos.default @@ -9,3 +9,4 @@ sata_mode=AHCI usb3_mode=Enable usb3_drv=Enable usb3_streams=Enable +audio_panel_type=HDA -- cgit v1.2.3