Increase hpf corner cut off frequency call back time
to sustain 150Hz cut off for a longer time to avoid
DC noise coming to the decimators during a record
session.
Change-Id: I5aa4f4c38a5dfd84655995217fdfc1708713c178
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Delays in headphone power down path can be removed
and without any click and pop issues. This way it
reduces headphone power down time.
Change-Id: Iedfbbee7d2be27cc5dfc62c9def72e7be81d7eaf
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
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 <vbucha@codeaurora.org>
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 <kmani@codeaurora.org>
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 <kmani@codeaurora.org>
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 <spapothi@codeaurora.org>
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 <vbucha@codeaurora.org>
Add routings for SEC_MI2S_TX and Voicecall/VOIP to
reduce audio log during bootup.
Change-Id: I368ab9782f14ccf99114994fe6c2dd42fee5d59a
Signed-off-by: Meng Wang <mengw@codeaurora.org>
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 <abavanar@codeaurora.org>
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 <spapothi@codeaurora.org>
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 <kmani@codeaurora.org>
Add a dai to get capture data which can be used for
headphones equalizer purpose.
Change-Id: Idc29faa54810be8cb2564c5c771c59ccf981a458
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
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 <vbucha@codeaurora.org>
Add Quinary TDM TX 7 to RX 7 AFE loopback routing
support for SA8155.
Change-Id: I1e1858c9069277101ed6d826d0fca988dc4b276b
Signed-off-by: Han Lu <hanlu@codeaurora.org>
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 <chaithan@codeaurora.org>
Update makefiles to use TARGET_BOARD_AUTO instead
of TARGET_PRODUCT for automotive platform support.
Change-Id: Ic688e8b13ba9c4b6f100c1acec50940053895d3d
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Add audio support for sdmshrike on automotive platform.
Change-Id: I39c70fd7ed66124827f55b7a6e0a834cf735d301
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Add Quinary TDM TX 7 to RX 7 AFE loopback routing
support for SA6155.
Enable pinctrl configuration only for TERT/QUAT/
QUIN TDM interfaces. SEC TDM intf is not used.
Change-Id: Ia80436722a929ad7d072a97c7007683b528993d8
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Enable dynamic TDM pinctrl configuration based
on CPU DAI activity on auto 6155 machine drv.
Change-Id: I4550b0e098d450d3ac29c162630c2450d42ac384
Signed-off-by: Derek Chen <chenche@codeaurora.org>
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 <npaladug@codeaurora.org>
Signed-off-by: Derek Chen <chenche@codeaurora.org>
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 <guodhu@codeaurora.org>
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 <kingt@codeaurora.org>
Print device info message when sound card status change.
Change-Id: I0be73755f1ec0f71abf1fd5f99f129998ef79806
Signed-off-by: Derek Chen <chenche@codeaurora.org>
add marker in audio driver for start-up time measurement.
Change-Id: Ibb63f6b40651646a8f16ef0cf391899f37e67eaf
Signed-off-by: Xianbin Zhu <xianzhu@codeaurora.org>
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 <xinyey@codeaurora.org>
Switch to use SND event FWK for SSR handling
instead of audio notifier on automotive platform.
Change-Id: I8d0b1ac8f09417a8b33a8e8141f7ae06e1195f54
Signed-off-by: Derek Chen <chenche@codeaurora.org>