coreboot/src
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
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch UPSTREAM: SMBIOS: Implement SKU field 2016-06-02 14:06:35 -07:00
commonlib UPSTREAM: commonlib/lz4: Avoid unaligned memory access on RISC-V 2016-06-01 20:37:00 -07:00
console UPSTREAM: console/post: be explicit about conditional cmos_post_log() compiling 2016-05-26 03:21:57 -07:00
cpu UPSTREAM: AGESA vendorcode: Build a common amdlib 2016-05-26 03:21:31 -07:00
device UPSTREAM: device: Add an ACPI device name and path concept to devices 2016-05-26 03:21:45 -07:00
drivers UPSTREAM: drivers/intel/fsp1_1: Make weak routines quiet 2016-06-06 23:34:51 -07:00
ec UPSTREAM: chromeec: Move EC image hash to separate file in CBFS 2016-06-06 23:34:48 -07:00
include UPSTREAM: SMBIOS: Implement SKU field 2016-06-02 14:06:35 -07:00
lib UPSTREAM: cbfs: Use NO_XIP_EARLY_STAGES to decide if stage is XIP 2016-06-02 14:06:38 -07:00
mainboard UPSTREAM: lenovo/x60: add hda_verb.c 2016-06-09 02:16:01 -07:00
northbridge UPSTREAM: nb/intel/x4x: Fix unpopulated value 2016-06-06 23:35:02 -07:00
soc UPSTREAM: soc/intel/apollolake: Add missing DRAM density constants 2016-06-07 20:37:20 -07:00
southbridge UPSTREAM: drivers/lenovo: Add hybrid graphics driver 2016-06-02 14:06:29 -07:00
superio UPSTREAM: sio/winbond/w83667hg-a: Add pinmux defines for UART B 2016-05-31 12:07:04 -07:00
vendorcode UPSTREAM: AGESA boards: Split dispatcher to romstage and ramstage 2016-06-06 23:35:01 -07:00
Kconfig UPSTREAM: Add Board Checklist Support 2016-06-06 23:34:49 -07:00