Graf commitů

2042 Commity

Autor SHA1 Zpráva Datum
Sudheer Papothi
211f4896ce ASoC: wcd938x: Add dapm ignore suspend for DAIs
Add dapm ignore suspend for playback and capture DAIs to
avoid wakeup during power collapse.

Change-Id: If023597542423253a565dcf0f13ee9f08b357b93
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-06-05 10:29:32 +05:30
qctecmdr
1db5a7d432 Merge "asoc: remove asound.h from include list" 2020-06-01 10:27:02 -07:00
qctecmdr
6f1668b5ea Merge "ASoC: lahaina: Add soft dependencies for BT" 2020-06-01 10:27:01 -07:00
qctecmdr
df5af736ea Merge "asoc: swr-haptics: close SWR data channel after stoping playing" 2020-06-01 10:27:01 -07:00
qctecmdr
3938234bc8 Merge "asoc: codec: Add pre ssr up event for all macros" 2020-06-01 10:27:01 -07:00
qctecmdr
8bcb4e964a Merge "asoc: Add digital mute callback function for cdc dma" 2020-06-01 10:27:01 -07:00
qctecmdr
1cb613a506 Merge "asoc: enable TTP generator" 2020-06-01 10:27:01 -07:00
qctecmdr
080607622e Merge "asoc: codecs: Add support to dump rouleur swr slave regs" 2020-06-01 10:27:01 -07:00
qctecmdr
9255140167 Merge "asoc: bolero: Update rx dc droop register setting" 2020-06-01 10:27:00 -07:00
qctecmdr
623f781597 Merge "asoc: codecs: Update rouleur watchdog interrupt sequence" 2020-06-01 10:27:00 -07:00
qctecmdr
0e6beb74b4 Merge "asoc: Add a separate mbhc config for rouleur codec" 2020-06-01 10:27:00 -07:00
qctecmdr
178111f453 Merge "asoc: Add Rx swr master port config for scuba target" 2020-06-01 10:27:00 -07:00
qctecmdr
871c52cb54 Merge "soc:bengal: add proxy ports for call screening in machine driver" 2020-06-01 10:27:00 -07:00
qctecmdr
5481d131cf Merge "asoc: qcs405: add support to set clock drift" 2020-06-01 10:27:00 -07:00
qctecmdr
55f0ab64cd Merge "bolero: rx-macro: Resolve noise on ear path during hph ear concurrency" 2020-06-01 10:27:00 -07:00
qctecmdr
5b1a46b8ed Merge "asoc: qcs405: fix pop at end of DSD playback" 2020-06-01 10:27:00 -07:00
qctecmdr
ebc5c9c0d3 Merge "audio-kernel: Synchronize hw vote and unvote requests" 2020-06-01 10:27:00 -07:00
Prasad Kumpatla
515fc228ee asoc: codec: Add pre ssr up event for all macros
Add a pre ssr up event in all macros ,where GFMUX reset
to done before set the dev_up flag to true.

Change-Id: I77229ccd0ed68aac841146a89fe7f76961260aea
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-26 15:15:51 +05:30
Aditya Bavanari
bbf44eeba1 asoc: codecs: Update muxsel registers only when clock counts are not stale
During SSR/PDR use cases, core clock count in different
macros becomes stale and muxsel registers are accessed
leading to NOC errors. Update muxsel registers only after
clock counts are reset after SSR/PDR recovery.

Change-Id: I656f8e7ddc8a92a325c2ba644f1a945cbafb08a0
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-21 04:02:29 -07:00
Fenglin Wu
84d85e958f asoc: swr-haptics: close SWR data channel after stoping playing
Per HW recommendation, when stopping SWR playing, SWR_PLAY register need
to get deasserted before disconnecting SWR data channel. Hence adjust the
sequence.

Change-Id: I15f33fefc8b847c9a7f6abd627217f21f8ddee89
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-05-19 15:50:00 +08:00
Meng Wang
30fad2dc20 asoc: codec: update SOC_SINGLE_SX_TLV to SOC_SINGLE_S8_TLV
Update SOC_SINGLE_SX_TLV to SOC_SINGLE_S8_TLV to make codec
driver compatiable with upstream driver.

Change-Id: I4061b015d715978f3b294ad630f53b64bf66c2b7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-05-19 08:34:39 +08:00
Aditya Bavanari
31aa875405 audio-kernel: Synchronize hw vote and unvote requests
HW vote and unvote is currently called from multiple
clients leading to synchronization issues
during SSR/PDR scenarios. Synchronize all the vote requests
by using digital codec resource manager.

Change-Id: I7e63f69ab5d761a3bb4c7ce70bbef2e8bfd76cfb
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-18 09:04:25 -07:00
qctecmdr
934188e064 Merge "dsp: afe: add support for codec dma data alignment API" 2020-05-16 03:24:33 -07:00
qctecmdr
acc52d9076 Merge "asoc: lahaina: update and affine qos value" 2020-05-16 03:24:33 -07:00
Aditya Bavanari
f03085692d asoc: Add digital mute callback function for cdc dma
Add a new digital mute callback function for cdc
dma as it uses a different dai structure.

Change-Id: I8db4e9610aee0d519ccc50975a779b9d2d8c671e
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-15 03:10:18 -07:00
Surendar Karka
98a6eda631 asoc: qcs405: add support to set clock drift
AFE driver maintains the clk id for each port.
AFE driver has no clue of the master port in META I2S port.
Add support to set the clk id for META I2S port.

Change-Id: Ic531e94df5503f5ff95364830c5177e9cd86af6c
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2020-05-15 03:06:49 -07:00
Surendar Karka
a44c970466 asoc: add mixer control to set clock drift
Add mixer controls support in routing driver to
adjust the source PLL clock drift.

Change-Id: I211330793f8650902130905f308dc5d4b73e09fa
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2020-05-15 02:47:02 -07:00
qctecmdr
4bef843da5 Merge "asoc: wsa883x: Update init values of VAGC" 2020-05-14 22:04:37 -07:00
qctecmdr
a37afa76c0 Merge "ASoC: create wsa883x codec entry in proc fs" 2020-05-14 22:04:37 -07:00
qctecmdr
411fc736f9 Merge "ASoC: lahaina: Update sample rate for speaker protection" 2020-05-14 22:04:36 -07:00
qctecmdr
c3c4fd765e Merge "ASoC: update headers for upstream compliance" 2020-05-14 22:04:36 -07:00
qctecmdr
072e3e291c Merge "asoc: codecs: Add default case for switch." 2020-05-14 22:04:36 -07:00
qctecmdr
763894acd7 Merge "asoc: codecs: check the spkr status before access the wsa registers" 2020-05-14 22:04:36 -07:00
qctecmdr
55e8b9735a Merge "ASOC: Remove support for ANC headphones" 2020-05-14 22:04:36 -07:00
qctecmdr
564e35a030 Merge "asoc: msm-compress: Reset channel map flag during close." 2020-05-14 22:04:36 -07:00
qctecmdr
0b521bbfad Merge "asoc: add new fe for hearing aid" 2020-05-14 22:04:36 -07:00
qctecmdr
0b7eee39e7 Merge "asoc: lahaina: add fe proxy port for hearing aid" 2020-05-14 22:04:35 -07:00
Surendar Karka
c238fc0d74 asoc: enable TTP generator
Add support to enable TTP generator in AFE.

Change-Id: I0186dc18809b87a912a1c3ec9dd7fcd26aa726f5
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2020-05-12 23:50:02 -07:00
Aditya Bavanari
fbe5306c02 asoc: codecs: Add support to dump rouleur swr slave regs
Add support to dump rouleur swr slave regs.

Change-Id: I7bb3664ba4a81ab83dae12534dfe403ac1db6013
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-12 23:44:00 -07:00
Prasad Kumpatla
924c7d027c asoc: codecs: Add default case for switch.
Add default case for switch to avoid the
Null pointer dereference for the map and num_ports
variable in for loop.

Change-Id: I59c9dc6e5396bcb409876378c811143da1c81551
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-12 23:41:45 -07:00
Laxminath Kasam
06f7fcd942 asoc: bolero: Update rx dc droop register setting
For RX DC droop setting, ensure update proper
value during powerup/powerdown based on
sample rate.

Change-Id: I269d41452911e1999b2dbdf4fa22e383aa973848
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-12 22:59:08 -07:00
Aditya Bavanari
9f50810d7f asoc: codecs: Update rouleur watchdog interrupt sequence
Update PDM watchdog interrupt sequence for rouleur
codec. Add HPH PA gain registers in regmap and update
defaults. Update mic bias register bits and rouleur
version for ADIE RTC to work.

Change-Id: I1bbb41efcdd9a0a8b38fcd4beadbd5d639a4b858
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-12 22:57:48 -07:00
Aditya Bavanari
3382d06882 asoc: Add a separate mbhc config for rouleur codec
As rouleur codec supports only 5 buttons and headset
vref max value is 1.7V, use a separate mbhc config
structure to initizlize mbhc.

Change-Id: Icd78d8c10f3d4dd3585c76c407d2d323c20cbe3f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-12 22:57:21 -07:00
Prasad Kumpatla
521ea726c2 asoc: codecs: check the spkr status before access the wsa registers
Before access the wsa register check the spkr status bit in
power-down sequence.

Change-Id: I5e07ee56e17701275784fd4c413bc214c5893989
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-12 22:56:32 -07:00
Aditya Bavanari
19363f7321 asoc: Add Rx swr master port config for scuba target
Add port config for Rx swr master in order to
support the rouleur codec in scuba target.

Change-Id: Ic278d02f222686afc6ff976c4b1c3bb499ed903f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-12 22:56:22 -07:00
Samyak Jain
d46f27c4be soc:bengal: add proxy ports for call screening in machine driver
add machine driver changes for proxy port changes.

Change-Id: I95e269953fa482002d028c60165ba5ad95521f6f
Signed-off-by: Samyak Jain <samyjain@codeaurora.org>
2020-05-12 22:54:46 -07:00
Vatsal Bucha
ec8b554e4d bolero: rx-macro: Resolve noise on ear path during hph ear concurrency
There is noise on ear path during hph and ear concurrency.
Set proper HPH_V_PA voltage when both hph PA is in
class-H mode to resolve noise.

Change-Id: Ifbbfb5691687dcb2202358c1e387252954d58db2
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-05-12 22:52:06 -07:00
Sanjana
fa2b1d3089 asoc: qcs405: fix pop at end of DSD playback
Fix pop at end of DSD playback by muting
csra devices during hw_free.

Change-Id: Ie084ade6aeb310ee28e4478b4673075ca69153c9
Signed-off-by: Sanjana <sanjb@codeaurora.org>
2020-05-12 22:51:07 -07:00
Sanjana B
e497a31d29 asoc: csra: update mute register of csra66x0 codec
Update mute register of csra66x0 codec when
called from hw_free api.

Change-Id: I728d1ca3076899ad0e6dea4dcac28416b3e40b18
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
2020-05-12 22:50:35 -07:00
Zhou Song
f1f69780c0 asoc: lahaina: update and affine qos value
Fix qos value to 300 micro seconds to prevent core
from going into low power mode when low latency
session is active.
Also pin this qos to core 1 & core 2 where audio
and glink threads are running to let other cores
to go to low power modes if possible.

Change-Id: Ic97936303b5006c44ec2bb080e3558e54f6d8068
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2020-05-13 12:49:50 +08:00