conf/ucm: Rearrange Makefile.am
PATCH 1/3 conf/ucm: Rearrange Makefile.am
Just rearrange and split to multiple lines to make future patches cleaner. No actual code change.
--- configure.ac | 16 ++++++++-------- src/conf/ucm/Makefile.am | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 9 deletions(-)
configure.ac +8 -8
@@ -691,19 +691,20 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ src/conf/cards/Makefile \ src/conf/pcm/Makefile \ src/conf/ucm/Makefile \ + src/conf/ucm/broadwell-rt286/Makefile \ + src/conf/ucm/broxton-rt298/Makefile \ + src/conf/ucm/bytcr-rt5651/Makefile \ + src/conf/ucm/chtrt5645/Makefile \ src/conf/ucm/DAISY-I2S/Makefile \ + src/conf/ucm/DB410c/Makefile \ + src/conf/ucm/GoogleNyan/Makefile \ src/conf/ucm/PandaBoard/Makefile \ src/conf/ucm/PandaBoardES/Makefile \ - src/conf/ucm/SDP4430/Makefile \ - src/conf/ucm/tegraalc5632/Makefile \ src/conf/ucm/PAZ00/Makefile \ - src/conf/ucm/GoogleNyan/Makefile \ - src/conf/ucm/broadwell-rt286/Makefile \ + src/conf/ucm/SDP4430/Makefile \ src/conf/ucm/skylake-rt286/Makefile \ + src/conf/ucm/tegraalc5632/Makefile \ src/conf/ucm/VEYRON-I2S/Makefile \ - src/conf/ucm/chtrt5645/Makefile \ - src/conf/ucm/DB410c/Makefile \ - src/conf/ucm/bytcr-rt5651/Makefile \ src/conf/topology/Makefile \ src/conf/topology/broadwell/Makefile \ modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile \
@@ -711,7 +712,6 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ src/conf/topology/bxtrt298/Makefile \ alsalisp/Makefile aserver/Makefile \ test/Makefile test/lsb/Makefile \ - src/conf/ucm/broxton-rt298/Makefile \ utils/Makefile utils/alsa-lib.spec utils/alsa.pc) dnl Create asoundlib.h dynamically according to configure options
src/conf/ucm/Makefile.am +15 -1
@@ -1 +1,15 @@ -SUBDIRS=DAISY-I2S PandaBoard PandaBoardES SDP4430 tegraalc5632 PAZ00 GoogleNyan broadwell-rt286 skylake-rt286 VEYRON-I2S chtrt5645 DB410c broxton-rt298 bytcr-rt5651 +SUBDIRS=\ +broadwell-rt286 \ +broxton-rt298 \ +bytcr-rt5651 \ +chtrt5645 \ +DAISY-I2S \ +DB410c \ +GoogleNyan \ +PandaBoard \ +PandaBoardES \ +PAZ00 \ +SDP4430 \ +skylake-rt286 \ +tegraalc5632 \ +VEYRON-I2S
Signature · 1 line
2.15.0
PATCH 2/3 conf/ucm: Add dual HD-audio codecs config for Lenovo
Some recent Lenovo laptops have dual codecs and we need to switch them accordingly. The kernel side already contains a fix and gives the unique longname string for identifying the board, and here we hook up the corresponding UCM profile.
The profile was corrected and tested by Hui Wang on Lenovo p520.
--- configure.ac | 1 + .../HDAudio-Lenovo-DualCodecs.conf | 5 + src/conf/ucm/HDAudio-Lenovo-DualCodecs/HiFi.conf | 145 +++++++++++++++++++++ src/conf/ucm/HDAudio-Lenovo-DualCodecs/Makefile.am | 4 + src/conf/ucm/Makefile.am | 1 + 5 files changed, 156 insertions(+) create mode 100644 src/conf/ucm/HDAudio-Lenovo-DualCodecs/HDAudio-Lenovo-DualCodecs.conf create mode 100644 src/conf/ucm/HDAudio-Lenovo-DualCodecs/HiFi.conf create mode 100644 src/conf/ucm/HDAudio-Lenovo-DualCodecs/Makefile.am
configure.ac +1 -0
@@ -698,6 +698,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ src/conf/ucm/DAISY-I2S/Makefile \ src/conf/ucm/DB410c/Makefile \ src/conf/ucm/GoogleNyan/Makefile \ + src/conf/ucm/HDAudio-Lenovo-DualCodecs/Makefile \ src/conf/ucm/PandaBoard/Makefile \ src/conf/ucm/PandaBoardES/Makefile \ src/conf/ucm/PAZ00/Makefile \
src/conf/ucm/HDAudio-Lenovo-DualCodecs/HDAudio-Lenovo-DualCodecs.conf new file +5 -0
@@ -0,0 +1,5 @@ +Comment "Lenovo laptop with dual HD-audio codecs" +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +}
src/conf/ucm/HDAudio-Lenovo-DualCodecs/HiFi.conf new file +145 -0
145 lines not on this page · raw message
src/conf/ucm/HDAudio-Lenovo-DualCodecs/Makefile.am new file +4 -0
@@ -0,0 +1,4 @@ +alsaconfigdir = @ALSA_CONFIG_DIR@ +ucmdir = $(alsaconfigdir)/ucm/HDAudio-Lenovo-DualCodecs +ucm_DATA = HDAudio-Lenovo-DualCodecs.conf HiFi.conf +EXTRA_DIST = $(ucm_DATA)
src/conf/ucm/Makefile.am +1 -0
@@ -6,6 +6,7 @@ chtrt5645 \ DAISY-I2S \ DB410c \ GoogleNyan \ +HDAudio-Lenovo-DualCodecs \ PandaBoard \ PandaBoardES \ PAZ00 \
Signature · 1 line
2.15.0
PATCH 3/3 conf/ucm: Add Gigabyte mobo UCM profile with dual HD-audio codecs
In reply to Takashi IwaiLike the previous Lenovo laptops, some Gigabyte mobos have dual HD-audio codecs and need to switch dynamically via UCM profile. Reuse the same profile as Lenovo dual codecs, so far.
--- configure.ac | 1 + .../HDAudio-Gigabyte-ALC1220DualCodecs.conf | 5 + .../HDAudio-Gigabyte-ALC1220DualCodecs/HiFi.conf | 145 +++++++++++++++++++++ .../HDAudio-Gigabyte-ALC1220DualCodecs/Makefile.am | 4 + src/conf/ucm/Makefile.am | 1 + 5 files changed, 156 insertions(+) create mode 100644 src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/HDAudio-Gigabyte-ALC1220DualCodecs.conf create mode 100644 src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/HiFi.conf create mode 100644 src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/Makefile.am
configure.ac +1 -0
@@ -698,6 +698,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ src/conf/ucm/DAISY-I2S/Makefile \ src/conf/ucm/DB410c/Makefile \ src/conf/ucm/GoogleNyan/Makefile \ + src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/Makefile \ src/conf/ucm/HDAudio-Lenovo-DualCodecs/Makefile \ src/conf/ucm/PandaBoard/Makefile \ src/conf/ucm/PandaBoardES/Makefile \
src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/HDAudio-Gigabyte-ALC1220DualCodecs.conf new file +5 -0
@@ -0,0 +1,5 @@ +Comment "Gigabyte mobo with dual HD-audio codecs" +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "Default" +}
src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/HiFi.conf new file +145 -0
145 lines not on this page · raw message
src/conf/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/Makefile.am new file +4 -0
@@ -0,0 +1,4 @@ +alsaconfigdir = @ALSA_CONFIG_DIR@ +ucmdir = $(alsaconfigdir)/ucm/HDAudio-Gigabyte-ALC1220DualCodecs +ucm_DATA = HDAudio-Gigabyte-ALC1220DualCodecs.conf HiFi.conf +EXTRA_DIST = $(ucm_DATA)
src/conf/ucm/Makefile.am +1 -0
@@ -6,6 +6,7 @@ chtrt5645 \ DAISY-I2S \ DB410c \ GoogleNyan \ +HDAudio-Gigabyte-ALC1220DualCodecs \ HDAudio-Lenovo-DualCodecs \ PandaBoard \ PandaBoardES \
Signature · 1 line
2.15.0