coreboot/src
Duncan Laurie bfc28e109a HDA: Enable Mini-HDA and fix up PCH-HDA init
The SystemAgent contains a mini-hd audio controller at PCI 0:3.0
which uses the same verb table init sequence as the southbridge.

In order to avoid two copies of the verb table loading code I
separated out the HDA verb table functions into a file that can
be re-used and then added a minihd driver to the haswell northbridge.

The minihd verb table is the same across devices so it can live
within the minihd driver rather than needing to be specified in
each separate mainboard.

I also fixed up the driver for lynxpoint HDA by following the
reference code.

BUG=chrome-os-partner:19993
BRANCH=none
TEST=manual: boot into linux and check for mini-hd

Without HDMI cable plugged in driver does not find any codec,
and it does not seem to re-probe when HDMI is connected.  We may
be missing kernel patches for this.

hda-intel 0000:00:03.0: no codecs found!

With a basic kernel patch to add 0x0a0c device ID to HDA driver
and with HDMI cable connected it is much happier:

snd_hda_intel 0000:00:03.0: irq 60 for MSI/MSI-X
input: HDA Intel MID HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input9
snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10
input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11

Change-Id: Ifa587984be4fc2801704a0368b9cdf8379c2450e
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/59336
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2013-06-20 17:50:00 -07:00
..
arch Don't try to use CBMEM console in bootblock 2013-06-20 15:51:33 -07:00
console Don't try to use CBMEM console in bootblock 2013-06-20 15:51:33 -07:00
cpu Exynos: Only compile UART in if serial console is selected 2013-06-20 15:51:34 -07:00
device Clean up POST codes for Boot State machine 2013-06-10 18:08:24 -07:00
drivers max77802: add header for max77802 PMIC 2013-06-18 17:08:17 -07:00
ec ec: Reserve correct ioport regions for Chrome OS EC to use 2013-06-12 14:02:10 -07:00
include Drop obsolete CONSOLE_LOGBUF 2013-06-20 13:54:33 -07:00
lib Drop obsolete CONSOLE_LOGBUF 2013-06-20 13:54:33 -07:00
mainboard HDA: Enable Mini-HDA and fix up PCH-HDA init 2013-06-20 17:50:00 -07:00
northbridge HDA: Enable Mini-HDA and fix up PCH-HDA init 2013-06-20 17:50:00 -07:00
southbridge HDA: Enable Mini-HDA and fix up PCH-HDA init 2013-06-20 17:50:00 -07:00
superio Drop prototype guarding for romcc 2013-05-10 11:55:20 -07:00
vendorcode vboot: use out_flags to indicate recovery mode 2013-06-04 12:53:47 -07:00
Kconfig BACKPORT: x86: add thread support 2013-05-15 11:19:50 -07:00