coreboot/src/mainboard
Arthur Heymans 092d9f872d UPSTREAM: lenovo/x60: add hda_verb.c
This creates a config for the x60 audio based
on values taken from vendor bios.

The pin config is stored in (for linux 4.5 at least):
/sys/class/sound/card0/hw*/init_pin_configs
In the left column there is the pin number.
In the right column there is the default configuration of that pin.
(This has to be done while running the proprietary bios)

More information on the sound card can be found in:
/proc/asound/card0/codec#*
This also hold the information of /sys/class/sound/

What is improved:
- internal microphone is chosen by default
- when jack is inserted it is chosen instead of internal speaker

Before this had to be done manually in alsa or pulseaudio.

TEST= check if internal microphone is used by default in
pavucontrol if you are using pulseaudio.
Plug in a jack with headphones and check if there
is sound output through these and not the build-in
speaker.

Change-Id: Id3b700fd84905a72cc1f69e7d8bfa6145f231756
Original-Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Original-Reviewed-on: https://review.coreboot.org/15063
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
(cherry-picked from commit 7d38fafd96)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/350960
Commit-Ready: Aaron Durbin <adurbin@chromium.org>
Tested-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-06-09 02:16:01 -07:00
..
a-trend northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
aaeon
abit northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
adlink
advansus UPSTREAM: AGESA vendorcode: Build a common amdlib 2016-05-26 03:21:31 -07:00
amd UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
aopen UPSTREAM: aopen/dxplplusu: Disable HW scrubber 2016-06-06 23:34:52 -07:00
apple mainboard/apple: add license headers 2016-04-21 00:07:45 +02:00
artecgroup
asrock UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
asus UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
avalue UPSTREAM: AGESA vendorcode: Build a common amdlib 2016-05-26 03:21:31 -07:00
azza northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
bachmann bachmann/ot200: Remove DRIVERS_I2C_IDREG Kconfig symbol 2015-11-30 00:35:38 +01:00
bap UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
bcom cpu/via/c7: Don't manually include udelay_io.c 2016-03-10 16:56:23 +01:00
bifferos rdc/r8610: Move to src/soc 2016-05-05 20:08:58 +02:00
biostar UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
broadcom
compaq northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
cubietech mainboard/cubieboard: use bootblock_mainboard_early_init 2016-01-29 17:03:52 +01:00
digitallogic [REMOVAL] digitallogic/adl855pc 2015-11-10 21:14:31 +01:00
dmp dmp/vortex86ex: Merge northbridge and southbridge into soc 2016-05-05 20:06:33 +02:00
ecs northbridge/intel/i82810: Unify UDELAY selection 2016-03-13 00:46:55 +01:00
emulation mb/emulation/*/board_info.txt: Update QEMU URL 2016-05-01 16:25:01 +02:00
esd intel/fsp_baytrail: rename include folder baytrail to include/soc 2015-12-16 01:10:06 +01:00
getac southbridge/intel/ibexpeak: Use common gpio.c 2016-02-23 00:28:26 +01:00
gigabyte UPSTREAM: mb/gigabyte/ga-g41m-es2l: Update board_info.txt and add item to Kconfig 2016-06-01 20:36:57 -07:00
gizmosphere UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
google rockchip: kevin/gru: Slow memory down to 300 MHz 2016-06-07 20:37:37 -07:00
hp UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
ibase ibase/mb899: Fix IASL warning and remark 2015-11-27 18:10:36 +01:00
iei ASL: Fix HPBA shadowing. 2016-02-09 19:57:41 +01:00
intel UPSTREAM: intel/amenia: Add asl code to enable google ChromeEC 2016-06-07 20:37:21 -07:00
iwave UPSTREAM: intel/sch: Merge northbridge and southbridge in src/soc 2016-05-20 17:08:20 -07:00
iwill ASL: Remove unused local variables. 2016-02-09 19:56:59 +01:00
jetway UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
kontron nb/intel/sandybridge: increase MMCONF_BASE_ADDRESS 2016-03-21 23:13:13 +01:00
lanner northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
lenovo UPSTREAM: lenovo/x60: add hda_verb.c 2016-06-09 02:16:01 -07:00
linutop
lippert UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
mitac northbridge/intel/i82810: Unify UDELAY selection 2016-03-13 00:46:55 +01:00
msi northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
nec northbridge/intel/i82810: Unify UDELAY selection 2016-03-13 00:46:55 +01:00
nokia northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
nvidia lib: compile mdelay for romstage 2016-01-22 22:15:09 +01:00
packardbell kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
pcengines UPSTREAM: pcengines/apu1: Add SMBIOS SKU field 2016-06-06 23:35:05 -07:00
purism kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
rca northbridge/intel/i82830: Unify UDELAY selection 2016-03-12 22:03:42 +01:00
roda UPSTREAM: gm45: enable setting all vram sizes from cmos 2016-06-06 23:34:59 -07:00
samsung mb/samsung/lumpy/romstage: read SPD data of removable DIMM 2016-04-10 18:12:09 +02:00
siemens siemens/mc_tcu3: Don't try to init unsupported panel type 2016-05-10 14:51:10 +02:00
soyo northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
sunw lib: compile mdelay for romstage 2016-01-22 22:15:09 +01:00
supermicro UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
technexion lib: compile mdelay for romstage 2016-01-22 22:15:09 +01:00
thomson northbridge/intel/i82830: Unify UDELAY selection 2016-03-12 22:03:42 +01:00
ti beaglebone: Add code to set the value of the LEDs 2016-04-10 18:21:58 +02:00
traverse
tyan UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
via cpu/via/c7: Don't manually include udelay_io.c 2016-03-10 16:56:23 +01:00
winent
wyse
Kconfig