Update audio capture sequence to avoid multiple bank switches
during multi mic usecase that helps in reducing the latency
for path setup.
Change-Id: Idac8bca97b3503cdbf82bb482e8a297a1fd20893
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Update offset1 of soundwire slave devices in a multi mic usecase
for proper audio capture from the soundwire mics.
Change-Id: If81ab1c2defeacb87b917fb6e3645c6df866f679
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add variable bit rate mode support for aac codec.
Change-Id: Iedd9fe0df2d3a12e3d4e6c2916305399da10873f
Signed-off-by: Manisha Agarwal <maniagar@codeaurora.org>
Add support to disable dynamic port map via device tree
property.
Do not update master clock when dynamic port map
is disabled for a sound wire master.
Change-Id: I9f9344866faa4d1c342787e014102d9182ed56ae
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
After playback on speaker, remove from soundwire group to
properly close the soundwire port configuration.
Change-Id: I278e7510869200bc1236eb45968bc8d986a93a96
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
From kernel 5.4, device node properties with
-gpio/-gpios suffix in the name is expected to define
gpio node properities like "#gpio-cells".
Update non-gpio property names to not have -gpio/-gpios
suffix.
Change-Id: I63fc81ce16c4e9705a08a3762aa91c7cacd174b5
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Add external display dai links to sound card only when
CONFIG_AUDIO_QGKI is enabled.
Change-Id: Ic67def877cddeb08aebcfc00ab4886826905b7c2
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Compile hdmi_dlkm kernel module only when both
CONFIG_SND_SOC_MSM_HDMI_CODEC_RX and CONFIG_AUDIO_QGKI configs
are enabled.
Change-Id: I31864e8b764dbcb40e0b96ac3a98f626dab315d2
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Update speaker playback sequence on wsa883x codec to
avoid click and pop and loss of VI sense data on speaker.
Change-Id: I8ec7072b63bef6c2e7bd64c96df4d98852c4f40d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Since clock stop mode is supported, disable mic bias supply
after a successful dmic probe.
Change-Id: I1a545969601367cc22844d1ab8467fb3722d882f
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Update sequence to enable temperature sensor in wsa883x to
read proper temperature measurement.
Change-Id: I7db16344a92b82539929511bd0de322ed086beb7
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Because of a HW limitation in DSP, while switching
RCG from TX MCLK to VA MCLK for SVA use cases
a glitch is seen on AHB bus leading to data
corruption in registers.
So, while doing a mux switch for VA RCG clock selection,
do not configure the muxsel register in HLOS as it is
taken care in DSP itself as a workaround for HW limitation.
Change-Id: Iccbe714397796259fa55f9852ece387e949b12e8
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Remove sound wire dmic device from master device list only during
critical error and not for probe defer.
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Soundwire DMICs provide the same quality as regular DMICs but
the interface is soundwire. This reduces the number of pins
on the MSM. Enable soundwire DMICs on lahaina.
Change-Id: I4245369fdcb29cf96f315ebc1d2e9a83a0fbc14b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add micbias control API to enable SWR DMICs on lahaina target.
Change-Id: I48152971e1af8dedc98ada20e4e808cf18720869
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Some usecases need soundwire bus clock frequency to run at
lower clock rate for better power and performance. Update
soundwire bus clock frequency based on usecase.
Change-Id: I2e786d9f5d5d2ec3841daa934802eeafa79a8f6c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Update the codec dai name for slimbus_7 backend dailink used for BT use
cases.
Change-Id: I7330f95a106a7c5b3b9d8c588f93342d466d2d2c
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
POWER_SUPPLY_TYPEC_SINK_AUDIO_ADAPTER is not supported on new
kernel-5.4. Update mode to TYPEC_ACCESSORY_AUDIO for analog
type-c headset.
Change-Id: Id46ea2eebea8257a48134431f07a81b6ed7e6c7d
Signed-off-by: Meng Wang <mengw@codeaurora.org>