1ms delay is needed for impedance detection after disabling hph
surge. Add delay for wcd937x and wcd938x.
Change-Id: I515fa0ca66562c91cb4aacb87cb7394122aa1c10
Signed-off-by: Vatsal Bucha <[email protected]>
Enable button click suppression port to send mbhc
events over the port to reduce glitches caused
by button events or plug removal events on the
record path.
Change-Id: I3f913ab1287f06afe6b5fc95da626f7c78ab448f
Signed-off-by: Karthikeyan Mani <[email protected]>
Enable bcs block for recording use cases to
reduce glitches caused by button events or
plug removal events on the record path.
Change-Id: I7a8556178a196c03009cdc487aff5424d5e1787a
Signed-off-by: Karthikeyan Mani <[email protected]>
Fix soundwire clock sequence for headset SVA usecase to avoid
tx clock voting during low power SVA usecase.
Change-Id: I9613eee6a0b66560fa1108b4887af71507d345e7
Signed-off-by: Sudheer Papothi <[email protected]>
During playback if lineout is inserted it is detected
as lineout then changed to headphone. This is because
we do not compute impedance again as pa is on. Force
jack to be detected as lineout based on initial detection
to resolve the issue.
Change-Id: I243c324dcd251596db97aeef07b8535986550650
Signed-off-by: Vatsal Bucha <[email protected]>
Add routings for SEC_MI2S_TX and Voicecall/VOIP to
reduce audio log during bootup.
Change-Id: I368ab9782f14ccf99114994fe6c2dd42fee5d59a
Signed-off-by: Meng Wang <[email protected]>
Load different adsp images based on nvmem property
of sku variants. Read fw image name mapped to
nvmem property's value and load it based on sku
variant.
Change-Id: I99ffe171ec8c42c0ee9e148f171c557353d72910
Signed-off-by: Aditya Bavanari <[email protected]>
Unlock mutex for soundwire bank switch to process the
interrupt before clock pause and request for clock switch
to switch the soundwire clock source.
Change-Id: Idea4306a0e326864431e7cf956044383bf1790db
Signed-off-by: Sudheer Papothi <[email protected]>
Add a dai link to get capture data from codec which can
be used for headphones equalizer purpose.
Change-Id: I65181e2991a14cf7bccbe8c738b0d782f6b185b2
Signed-off-by: Karthikeyan Mani <[email protected]>
Add a dai to get capture data which can be used for
headphones equalizer purpose.
Change-Id: Idc29faa54810be8cb2564c5c771c59ccf981a458
Signed-off-by: Karthikeyan Mani <[email protected]>
Enabling watchdog interrupt during bind causes spurious
interrupts. Disable interrupts during bind and enable
during path setup to fix this. Also enable and
disable interrupt for ear pa for wcd938x.
Change-Id: I4a9526d7b0a63f5325cec6dfe7a4e302ae76fc40
Signed-off-by: Vatsal Bucha <[email protected]>
Add Quinary TDM TX 7 to RX 7 AFE loopback routing
support for SA8155.
Change-Id: I1e1858c9069277101ed6d826d0fca988dc4b276b
Signed-off-by: Han Lu <[email protected]>
In programable channel mixer, path type is derived based on
afe port id. Due to this, wrong path type is obtained in case
of loopback usecase where Rx port is used to capture ec ref
signals. This leads to wrong channel map being set in channel
mixer. Instead use session type to obtain path type.
Change-Id: I5292ed5eed1366ac28d72e4ca0815ab62e91fa60
Signed-off-by: Chaithanya Krishna Bacharaju <[email protected]>
Update makefiles to use TARGET_BOARD_AUTO instead
of TARGET_PRODUCT for automotive platform support.
Change-Id: Ic688e8b13ba9c4b6f100c1acec50940053895d3d
Signed-off-by: Derek Chen <[email protected]>
Add audio support for sdmshrike on automotive platform.
Change-Id: I39c70fd7ed66124827f55b7a6e0a834cf735d301
Signed-off-by: Derek Chen <[email protected]>
Enable dynamic TDM pinctrl configuration based
on CPU DAI activity on auto 6155 machine drv.
Change-Id: I4550b0e098d450d3ac29c162630c2450d42ac384
Signed-off-by: Derek Chen <[email protected]>
Change QUAT_TDM slot config to take effect of the
proper clock rate.
Update the TDM DAI links with SEC/TERT/QUAT hostless
frontends and backends.
Change-Id: I210d3ee7c5032f59bb0799f6a3bfbcd5dc773e4d
Signed-off-by: Nagarjuna Paladugu <[email protected]>
Signed-off-by: Derek Chen <[email protected]>
0xFFFFFFFF will be parsed as -1.
But as the fourth parameter of SOC_SINGLE_MULTI_EXT(), it denotes 'xmax'
and should be larger than the sixth parameter.
0x7FFFFFFF works fine in this function.
Change-Id: Ie20437f5e1993dac337f52026343383a98db7f5e
Signed-off-by: Guodong Hu <[email protected]>
Add new interfaces stub functions for Dolby security change,
since ion_vm share the same header file with ion.
Change-Id: Iaac5931a9c97eafe1a8cc5980ac70b9a62288faa
Signed-off-by: King Tam <[email protected]>
Use SND event FWK for SSR handling. Change snd card
status upon SERVICE_DOWN and SERVICE_UP callback
when adsp subsystem restart happen.
Change-Id: I333e2343e0670f53d40764ce86094c73c836c5c4
Signed-off-by: Erin Yan <[email protected]>
Switch to use SND event FWK for SSR handling
instead of audio notifier on automotive platform.
Change-Id: I8d0b1ac8f09417a8b33a8e8141f7ae06e1195f54
Signed-off-by: Derek Chen <[email protected]>
Add multi input support such that display audio
mixer controls can update both control ID and
stream ID to support display audio multi streaming.
Change-Id: Ief8fe852585a31fbe5871ce8ecc1057d6891e2b7
Signed-off-by: Karthikeyan Mani <[email protected]>
Signed-off-by: Vignesh Kulothungan <[email protected]>
As DMIC2 is muxed on same channel with MBHC
on soundwire port3 of WCD938x codec, need to set
selection bit for DMIC2 during recording usecase
over it.
Change-Id: Ice9b92eb964af25e47db4b3d8d25db07a82a9bf2
Signed-off-by: Laxminath Kasam <[email protected]>
WCD938x codec can support upto 8 DMICs.
Fix driver to enable support for these DMICs
over soundwire.
Change-Id: I82b9c7c6f56271c03acee3a966dbaa4fefb62102
Signed-off-by: Laxminath Kasam <[email protected]>