tegra: Add UCM for Nvidia Tegra HDMI Audio Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/94 Signed-off-by: Svyatoslav Ryhel]]>Signed-off-by: Jaroslav Kysela
HDA-Intel: the lookups are supported from syntax 4 Signed-off-by: Jaroslav Kysela]]>
tegra: shuffle ASUS Google Nexus 7 files BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/94 Signed-off-by: Jaroslav Kysela]]>
tegra: shuffle Acer Iconia Tab A500 files BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/94 Signed-off-by: Jaroslav Kysela]]>
rt5640 / bytcr-rt5640: cleanups - merge HaveAif1 and HaveAif2 to HaveAif with values 1 and 2 - HaveSpeaker identifies stereo and mono (values 2 and 1) - HaveInternalMic identifies internal mic input (dmic, in1, in3) - rewrite (unify) bytcr-rt5640 components detection BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/92 Signed-off-by: Jaroslav Kysela]]>
tegra: Add UCM for ASUS Google Nexus 7 (2012) ASUS Google Nexus 7 tablet device is powered by NVIDIA Tegra30 SoC, it has Realtek ALC5642 audio CODEC, which is compatible with the RT5640 CODEC. Nexus 7 has a 2-channel built-in speaker, built-in 2-channel microphone, a 3-pin 3.5mm jack for headphones, and a custom external audio output for docking-station. The docking-station configuration isn't supported because it's unsupported by the upstream Linux kernel yet. Signed-off-by: Dmitry Osipenko]]>Signed-off-by: Jaroslav Kysela
tegra: Add UCM for Acer Iconia Tab A500 Acer Iconia Tab A500 is a tablet device which is powered by NVIDIA Tegra20 SoC, it has WM8903 audio CODEC. The device has built-in 2-channel speaker, built-in mono microphone and 4-pin 3.5mm jack for headphones and headset. Signed-off-by: Dmitry Osipenko]]>Signed-off-by: Jaroslav Kysela
tegra: Add symlinks to conf.d/tegra The old UCM names were matched only by the name of the kernel driver module. This means that built-in kernel drivers never matched. Tegra ASoC machine kernel drivers never specified the card's driver_name and long_name properly, which is required in order to have a proper 'ucm2/conf.d/tegra/' path being used for the matching of UCMs. This will be fixed in the kernel ASAP, the change will be backported to stable kernels. This patch adds symlinks for the PAZ00 netbook and NyanBig Chromebook to the new 'ucm2/conf.d/tegra/' directory that will match devices properly in conjunction with the updated Linux kernel regardless of whether sound driver is a loadable module or built-in. Signed-off-by: Dmitry Osipenko]]>Signed-off-by: Jaroslav Kysela
codecs/rt5640: Make headset optional Nexus 7 has a 3-pin 3.5mm headphones jack, it doesn't support headset microphone, and thus, it doesn't have headset microphone jack. Make headset device optional. Signed-off-by: Dmitry Osipenko]]>Signed-off-by: Jaroslav Kysela
codecs/rt5640: Fix restoring of playback volumes The playback volumes shall be initialized only during of the first enable sequence, not during the initialization of speaker/headphones devices. This fixes sound level restoring by pulseaudio when headphones are inserted/ejected. Previously sound level was always reset to the default level on insert/ejection, which is the incorrect behaviour. The correct behaviour is to restore volume the previous level, i.e. if sound level was 3% before headphones were ejected, then level should be restored to 3% when headphones are inserted back. Signed-off-by: Dmitry Osipenko]]>Signed-off-by: Jaroslav Kysela
codecs/rt5640: Turn off playback switches by default Previously RT5640 was turning off switches that are specific to the Intel BayTrail SoC. In a case of other SoCs we need to turn off the codec switches. This fixes audio playing from both speaker and headphones simultaneously on Nexus 7, until headphones are re-inserted. Signed-off-by: Dmitry Osipenko]]>Signed-off-by: Jaroslav Kysela
codecs/rt5640: Move out BayTrail-specific pin switches The UCM of RT5640 codec toggles switches that exists only in a case of the Intel BayTrail ASoC machine driver, RT5640 codec driver doesn't have them. Move these switches to the BayTrail UCM in order to make generic UCM rules reusable by other SoCs. Signed-off-by: Dmitry Osipenko]]>Signed-off-by: Jaroslav Kysela
fix ucm2/README.md - ALSA driver name has the precedence Signed-off-by: Jaroslav Kysela]]>
rt715: add the missing sof prefix to the hw control name Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67 Signed-off-by: Jaroslav Kysela]]>
rt715-scda (rt714) - add mic led support Signed-off-by: Jaroslav Kysela]]>
rt715: add mic led support Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67 Signed-off-by: Jaroslav Kysela]]>
rt715: don't initialize obsolete ADC controls Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67 Signed-off-by: Jaroslav Kysela]]>
sof-soundwire: rt715 - use the hw volume control Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67 Signed-off-by: Jaroslav Kysela]]>
bytcr-rt5640: Add support for controlling a speaker-mute LED Add support for controlling a speaker-mute LED using the new snd_ctl_led kernel module for generic mute LED control. Tested on a HP Pavilion X2 10-n000nd and a HP Pavilion X2 10-p002nd both of which have a detachable USB keyboard with a speaker mute LED embedded in the audio-mute button. Signed-off-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
cht-bsw-rt5672: Add support for controlling speaker- and mic-mute LEDs Add support for controlling speaker- and mic-mute LEDs using the new snd_ctl_led kernel module for generic mute LED control. Tested on a Thinkpad 10 tablet which has a detachable USB keyboard with a speaker mute LED embedded in the volume-mute button and a mic mute LED embedded in the mic-mute button. Signed-off-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
cht-bsw-rt5672: Add support for the components string Upcoming kernel versions will report which speaker and dmic config is used by the device in a components strings so that we don't need to duplicate the DMI quirks in both the kernel and the UCM profile. Add support for getting the speaker and dmic config from the components string. Note the old DMI matching is kept for support of older kernels, this means that on devices where the old DMI matching was used things like: Define.MonoSpeaker "" Will now be done twice, this is harmless as long as the kernel and UCM profile DMI quirks are in sync, which they are. Signed-off-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
remap mixer controls for rt5682 Suggested-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
remap mixer controls for rt5660 Suggested-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
remap mixer controls for rt5677 Suggested-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
remap mixer controls for rt5651 Suggested-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
remap mixer controls for rt5645 Suggested-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
remap mixer controls for rt5640 Suggested-by: Hans de Goede]]>Signed-off-by: Jaroslav Kysela
ucm2: add lib / ctl-remap.conf generic device Signed-off-by: Jaroslav Kysela]]>
ucm2: lib/generic - use standard (not substituted) config tree Signed-off-by: Jaroslav Kysela]]>
ucm2: remove the trailing slash from the rm command Link: https://github.com/alsa-project/alsa-ucm-conf/commit/548036b8ecc92d4e8e2070046551fb0b8acb7d96#commitcomment-50808354 Signed-off-by: Jaroslav Kysela]]>