Commit Graph

1037 次程式碼提交

作者 SHA1 備註 提交日期
qctecmdr
1cd62679d5 Merge "ASoC: wsa883x: Enable WSA883x codec driver compilation." 2020-04-29 22:27:54 -07:00
qctecmdr
42292dc0cd Merge "asoc: codecs: Update va_macro fix for SVA for bolero 2.1" 2020-04-29 22:27:54 -07:00
qctecmdr
8310f644b9 Merge "asoc: codecs: fix incorrect micbias value set at rouleur" 2020-04-29 22:27:54 -07:00
qctecmdr
e63542d6b7 Merge "asoc: codecs: Set EAR compander if mixer ctl set" 2020-04-26 23:42:50 -07:00
qctecmdr
b221915dc1 Merge "ASoC: wcd938x: Enable digital clk for tx0 if micbias enabled" 2020-04-26 23:42:49 -07:00
qctecmdr
7078690c22 Merge "asoc: codecs: Update sequence for HPH path in rouleur" 2020-04-26 23:42:49 -07:00
qctecmdr
8206d768b1 Merge "asoc: wcd937x: Update retry logic for SWR logical addr" 2020-04-26 23:42:49 -07:00
qctecmdr
57705d7be4 Merge "asoc: wsa881x-analog: remove warnings result in CPU log" 2020-04-26 23:42:49 -07:00
qctecmdr
dbc98f568b Merge "ASOC: wcd938x: Handle button press before release interrupt" 2020-04-26 23:42:49 -07:00
qctecmdr
ec24d856d7 Merge "ASoC: wcd-mbhc: Disable moisture detect threshold if duty cycle disabled" 2020-04-26 23:42:49 -07:00
qctecmdr
7378260dd1 Merge "ASoC: codecs: wsa883x: fix swr probe error handling" 2020-04-26 23:42:49 -07:00
qctecmdr
0fa13e4ada Merge "asoc: haptics: update port config to match devicetree" 2020-04-26 23:42:49 -07:00
qctecmdr
2811ce0144 Merge "asoc: bolero: add channel map for AIF6_PB" 2020-04-26 23:42:49 -07:00
Xiaojun Sang
27b6c75029 asoc: codecs: fix incorrect micbias value set at rouleur
Micbias value set does not take effect on rouleur.
Shift micbias value to correct bits.

Change-Id: Ice083e3bc30f6e8e3fe7132c633a4043329ccfa5
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2020-04-25 20:01:22 -07:00
Aditya Bavanari
b4364f47ec asoc: codecs: Update sequence for HPH path in rouleur
Update HPHL and HPHR sequence to avoid clicks and pops
by setting the LDIV and RDIV values in HD2
coefficients and increasing ramp time.

Change-Id: Ib47d14255a098511393b4b75392854c8b34dc0d3
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-20 11:32:47 -07:00
Laxminath Kasam
101e71693d asoc: wcd937x: Update retry logic for SWR logical addr
Update retry logic for SWR logical address during SSR.

Change-Id: Ifa5cdec751a271c09a8b6340009ec0e862ffb326
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-20 11:32:20 -07:00
Ramlal Karra
52be60c41f ASoC: wsa883x: Enable WSA883x codec driver compilation.
Enable WSA883x codec driver compilation support.

Change-Id: I263e4eb0e2446c345b250df9e484f380164e77e2
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
2020-04-20 10:18:30 -07:00
Aditya Bavanari
236ff485d2 codecs: Enable clock voting logs to debug AHB/NOC issues
Enable clock voting logs to debug stability issues.

Change-Id: Ie1f995ab004778a81ea42baad15ea36858407e9a
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-20 10:17:02 -07:00
Vatsal Bucha
fb63ca16cc ASoC: wcd938x: Enable digital clk for tx0 if micbias enabled
Mute is observed in amic record sometimes in concurrency with
sva. This is because if record is over tx0 then digital clk
is not enabled. Enable clk after enabling micbias to resolve mute.

Change-Id: Iba3aa4fade0ac5889218eaee2c5d2c4bd4431d50
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-19 08:25:30 -07:00
Laxminath Kasam
2e025248a2 asoc: codecs: Set EAR compander if mixer ctl set
Enable compander based on mixer ctl set for ear path.

Change-Id: Ie6287469f1baa9dba239d369bd5a29ed8e44522f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-19 08:11:52 -07:00
Vignesh Kulothungan
575148c5a7 ASoC: codecs: wsa883x: fix swr probe error handling
Remove wsa soundwire device from master device list only during
critical error and not for probe defer.

Change-Id: I5c4f71a4735de4bb459094043d41a6b5c560a6fd
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-17 15:31:53 -07:00
Laxminath Kasam
e0eb71e186 asoc: codecs: Update va_macro fix for SVA for bolero 2.1
For bolero 2.1 with SWR_TX in va macro, update SVA fixes.

Change-Id: I250df0fe476bc2c0439ab491a17dea2e7ac18707
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-16 23:44:58 -07:00
Laxminath Kasam
33bd3daaa6 asoc: wsa881x-analog: remove warnings result in CPU log
Avoid warnings causing RT throttling during SSR.

Change-Id: I814da52c9777f42faa3f2b5dc793fc177a85c635
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-16 03:12:38 -07:00
Vatsal Bucha
b073ec7258 ASOC: wcd938x: Handle button press before release interrupt
If button press and release interrupts occur at same time
processing button release first would treat the button event
as fake, as it is not preceeded with press event. Hence
process button press before button release in irq driver.

Change-Id: I36d5ad8a3571f4bd32d309a060a6988f29ff27ad
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-16 03:12:12 -07:00
Vatsal Bucha
7544634ca6 ASoC: wcd-mbhc: Disable moisture detect threshold if duty cycle disabled
Moisture detection is not disabled properly if threshold
remains set as 24k even if duty cycle is disabled.
This is leading into headset not getting detected
sometimes. Disable threshold as well if duty cycle disabled.

Change-Id: Ic90c65d8bbaa965cf147f95edf5add8980889e1f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-16 03:11:42 -07:00
Linux Build Service Account
ad679b60a1 Merge "asoc: bolero: check if va is enabled when register/deregister wakeup irq" into audio-drivers.lnx.5.0 2020-04-16 02:11:08 -07:00
Linux Build Service Account
a74e363d47 Merge "asoc: Add support for rouleur codec in machine driver" into audio-drivers.lnx.5.0 2020-04-16 02:11:00 -07:00
Meng Wang
5e7cf016e2 asoc: bolero: check if va is enabled when register/deregister wakeup irq
When LPI SVA is enabled, start recording and stop LPI SVA, wakeup irq
is not deregistered as tx_swr_clk_cnt is not 0. Add new check for
va_swr_clk_cnt to resolve the issue.

Change-Id: I441394f26b42f554169400194d021309ef70af9e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-04-16 01:21:21 -07:00
Aditya Bavanari
ee6367c560 asoc: Add support for rouleur codec in machine driver
Add rouleur codec support in bengal machine driver
to create codec entry and invoke mbhc hs detect
functions for respective codecs. Correct the logic
for headset detection pull up current and
volatile registers for digital part of rouleur codec.

Change-Id: I22545dc796c215c1501e883796546c97d8ca8698
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-16 01:17:00 -07:00
Vatsal Bucha
93f005b878 ASoC: wcd938x: Enable surge protection at bootup
Enable surge protection at bootup for traverso.

Change-Id: I443c576e6fdfc640b8e67c2d3f9622e8c3366d45
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-16 01:15:21 -07:00
Linux Build Service Account
29eea04338 Merge "ASoC: swr-haptics: Update playback sequence" into audio-drivers.lnx.5.0 2020-04-16 01:08:46 -07:00
Linux Build Service Account
a2531a80df Merge "asoc: bolero: Update mask of wsa macro" into audio-drivers.lnx.5.0 2020-04-16 01:08:39 -07:00
Linux Build Service Account
65af65b19d Merge "asoc: bolero: Update fs_clk gen for va macro" into audio-drivers.lnx.5.0 2020-04-16 01:07:52 -07:00
Laxminath Kasam
b4d55c7149 asoc: bolero: Update mask of wsa macro
Update mask of wsa macro to apply sample rate
as per config send during hw_params at powerup.

Change-Id: Icf9b40fecf655c06cc60d56ac31808e886f8a49d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-10 10:50:00 -07:00
Sudheer Papothi
caee8e2f5a ASoC: swr-haptics: Update playback sequence
Update haptics playback sequence to properly disable the soundwire
ports during the teardown path.

Change-Id: Ic6f23c8dae172104f8ae4659293b5ec6ce4ffa1f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-10 02:27:26 +05:30
Vatsal Bucha
e76174a384 va-macro: Add autosuspend after pm_runtime_get_sync
If va_macro_tx_va_mclk_enable returns error,
va macro autosuspend will not be called.
Add autosuspend before return.

Change-Id: Iea3728fab2d240514ca4a7e02ef535edce977ee8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-09 03:59:28 -07:00
Laxminath Kasam
9daf376ebb asoc: bolero: Update fs_clk gen for va macro
Enable and disable FS_CLK gen at every
mclk enable and disable call to handle
fs_clk gen count.

Change-Id: I87e1cf112a48029cf0d6e7227fcc5167e973fdad
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-09 03:57:10 -07:00
qctecmdr
d5de97eac9 Merge "ASoC: codecs: remove swr dmic driver ops" 2020-04-08 21:02:10 -07:00
qctecmdr
32b258e75c Merge "asoc: codecs: Add support for rouleur codec" 2020-04-08 21:02:09 -07:00
qctecmdr
747b3bd81b Merge "asoc: wcd937x: Fix compile error in wcd937x codec driver" 2020-04-08 21:02:09 -07:00
qctecmdr
e076f26b13 Merge "asoc: bolero: Update dmic clk_div for bolero 2.x" 2020-04-08 21:02:09 -07:00
qctecmdr
e09440edd9 Merge "asoc: wsa881x-analog: Disable MCLK if clk enabled state" 2020-04-08 21:02:09 -07:00
qctecmdr
79a655928a Merge "ASoC: Remove glitch during amic record" 2020-04-08 21:02:08 -07:00
qctecmdr
595a926d4f Merge "ASoC: wcd938x: Update hardware sequence for LDOL voltage" 2020-04-08 21:02:08 -07:00
qctecmdr
26cced1678 Merge "ASoC: bolero: Fix higher btn press noise issue" 2020-04-08 21:02:07 -07:00
qctecmdr
001e75d77d Merge "ASoC: wcd-mbhc: Disable micbias internal pull-up after headphone detected" 2020-04-08 21:02:07 -07:00
qctecmdr
621a087b4e Merge "ASoC: bolero: check clock source before clock switch" 2020-04-08 21:02:07 -07:00
qctecmdr
ada8071b43 Merge "ASoC: bolero: Resolve handset record not resuming after PDR" 2020-04-08 21:02:07 -07:00
qctecmdr
db7ff12b0c Merge "ASoC: wcd938x: Fix headset detection during SSR/PDR" 2020-04-08 21:02:07 -07:00
Laxminath Kasam
43fd112a6b asoc: wsa883x: Fix SSR mute on speaker
During SSR/PDR, bring down wsa at down
event and restore after SSR up event.

Change-Id: I9a8d3c109144cb0a911cd7597bffc220b0ce95b7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-06 19:39:09 -07:00