Grafico dei commit

1238 Commit

Autore SHA1 Messaggio Data
qctecmdr
9c3cdfae73 Merge "asoc: bolero: Update bolero version 2.0 entry" 2020-09-01 18:11:51 -07:00
qctecmdr
46eb852298 Merge "ASoC: rouleur: Reduce PA Gain for low state of charge based on dt node" 2020-08-29 00:30:36 -07:00
Laxminath Kasam
1cd5f3fe0b asoc: bolero: Update bolero version 2.0 entry
For get version info of bolero, update
bolero 2.0 entry.

Change-Id: I8f21b67eb6532c9b1c1ef6ab15015a29a4737db3
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-08-27 22:27:31 -07:00
qctecmdr
4761f68bd2 Merge "asoc: wcd937x: Update slvdevpath after connect_port in powerup" 2020-08-25 11:21:18 -07:00
qctecmdr
911447121d Merge "asoc: swr-dmic: select correct port type for swr-dmic" 2020-08-25 11:21:17 -07:00
qctecmdr
5caa78db45 Merge "dsp: add support for SVA to use afe topology deregister" 2020-08-25 11:21:17 -07:00
Vatsal Bucha
7bc77136ad ASoC: rouleur: Reduce PA Gain for low state of charge based on dt node
Configure low PA Gain for low state of charge based on dt node.

Change-Id: I7f36cf4b17d9794a2763edc3c2fd5cec53a3521f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-25 15:57:02 +05:30
qctecmdr
be8dfac3bf Merge "ASoC: wsa883x: enable vbat adc filter" 2020-08-24 20:25:19 -07:00
qctecmdr
48a6f44ed8 Merge "ASoC: mbhc: Call impedance detection routine before get impedance" 2020-08-24 20:25:19 -07:00
qctecmdr
db001f9b98 Merge "asoc: wsa883x: remove default value setting for WSA883X_OVERRIDE2" 2020-08-24 20:25:19 -07:00
Laxminath Kasam
070b18585e asoc: wcd937x: Update slvdevpath after connect_port in powerup
As ADC and MIXER dapm widgets powerup sequence in soc-dapm
got re-ordered, need update same in codec driver to handle
calls to soundwire.

Change-Id: Ibc99d21e29f9e9d7195b4ba8d4c995c46d6aef6f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-08-20 20:25:41 +05:30
Vatsal Bucha
892efe8d09 ASoC: mbhc: Call impedance detection routine before get impedance
Call impedance detection routine as part of callback to get impedance
before printing value of impedance.

Change-Id: I8b7174e4f7fd9c7715a2c12a0628c8f7849a93e6
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-20 19:33:33 +05:30
Meng Wang
23ee77a6d7 asoc: swr-dmic: select correct port type for swr-dmic
When same swr dmic is first enabled as HIFI, secondly as LP
and closed HIFI, it would disable LP port by mistake. Update
the logic to select correct port for swr-dmic.

Change-Id: I5d4d1461d8cd7db7bc7f37fc91ee1c9324413980
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-20 14:11:24 +08:00
Vignesh Kulothungan
4b36a5da7b ASoC: wsa883x: enable vbat adc filter
Enable vbat adc filter inorder to read vbat and
temperature values for cps speaker protection.

Change-Id: I31c50bdd6ed0becae355600ba3cf48e761406d87
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-08-17 11:23:21 -07:00
qctecmdr
3a424302d9 Merge "ASoC: wcd938x: Update the soundwire clock rate based on the tx paths" 2020-08-17 01:44:20 -07:00
qctecmdr
b05b19a4d7 Merge "ASoC: rouleur-mbhc: Fix impedance detection issue on rouleur" 2020-08-17 01:44:20 -07:00
qctecmdr
b22340a058 Merge "ASoC: tx-macro: Allow regcache sync during clock enablement" 2020-08-17 01:44:19 -07:00
qctecmdr
f5c694ecab Merge "ASoC: lahaina: add support for CPS speaker protection" 2020-08-17 01:44:19 -07:00
qctecmdr
afeef6357c Merge "asoc: bolero: add SWR MIC registers as volatile" 2020-08-17 01:44:19 -07:00
Meng Wang
9ebe2c724a asoc: wsa883x: remove default value setting for WSA883X_OVERRIDE2
Updating WSA883X_OVERRIDE2 default value to 0x02 breaks
speaker protection. Revert the default value update.

Change-Id: I064157a718d87b2903c10dc78e0ce99ce400b6d8
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-17 09:21:45 +08:00
Sudheer Papothi
e2abf6fc7a ASoC: wcd938x: Update the soundwire clock rate based on the tx paths
Update the soundwire clock rate based on the number of TX paths enable
to avoid noise issue.

Change-Id: I8c73bfd73751d4b79de30f3347081929501a877e
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-08-13 12:06:52 +05:30
qctecmdr
72ca37fcba Merge "asoc: wsa881x: Fix wsa881x name prefix property read" 2020-08-11 05:57:23 -07:00
qctecmdr
4adf93dd63 Merge "ASoC: swr-dmic: Update sequence for voice activation usecase" 2020-08-11 05:57:23 -07:00
Laxminath Kasam
214f88cc12 asoc: wcd938x: Update SWR clock rate based on modes
Update SWR clock rate based on active ADC modes
for concurrency during powerup and teardown.

Change-Id: I610aa205a857a5fac2163a248de4800f3c8042f7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-08-11 08:54:31 +08:00
Vatsal Bucha
560fe2bc62 ASoC: rouleur-mbhc: Fix impedance detection issue on rouleur
Impedance values are not correct sometimes due to ramp
being controlled by hw. Run detection routine for sometime
and take final value as impedance value to resolve issue.

Change-Id: I3a34813657751aa304e150cfa294a42f556d06c4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-10 18:50:58 +05:30
Vignesh Kulothungan
912fd67d6c ASoC: wsa883x: add function to get swr device number
Add a function in wsa883x which returns the sound wire
device number for a given wsa883x codec slave instance.

Change-Id: Ie3d0e309870f488b1643a853bcddcf93314d94b5
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-08-07 11:37:27 -07:00
qctecmdr
70b35a5320 Merge "asoc: wcd937x: Add support to clear ack registers" 2020-08-07 03:46:12 -07:00
Sudheer Papothi
379cb0cfb5 ASoC: swr-dmic: Update sequence for voice activation usecase
Update soundwire dmic sequence for voice activation usecase.

Change-Id: I1a170fe3be17b1d44abb707b550aa2972d01047b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-08-06 22:05:09 -07:00
Vangala, Amarnath
7e364887e9 asoc: wsa881x: Fix wsa881x name prefix property read
Fix for reading wsa881x name prefix from dtsi
and update in proper structure.

Change-Id: If80e9c26192e7918204c36849ca5cc19875e7084
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-06 16:27:25 +05:30
Nirav Khatri
d4422e276e ASoC: ep92: Add external mclk support
Add support for external mclk configuration based on input sample clock.

Change-Id: I90b40636e6c3877c5ab9d2c2a60c4d61a83b149e
Signed-off-by: Nirav Khatri <khatri@codeaurora.org>
2020-08-06 06:11:06 +05:30
qctecmdr
8b28c314d0 Merge "ASoC: wsa883x: Update register sequence to reduce CnP" 2020-08-05 09:48:32 -07:00
qctecmdr
3238629396 Merge "ASoC: swr-dmic: Update soundwire mic probe sequence" 2020-08-05 09:48:32 -07:00
Sudheer Papothi
65b24ebabc ASoC: tx-macro: Allow regcache sync during clock enablement
Allow regcache sync during clock enable to make sure the registers
are in proper state before the usecase.

Change-Id: I8a9214e460c7f77759d1956e0e7e2d6b2f5b3d3a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-08-04 17:02:00 -07:00
Vangala, Amarnath
60eaa6b160 asoc: wcd937x: Add support to clear ack registers
WCD937x codec requires clear registers to be written '1' and
'0' for clearing interrupts. Enable clear_ack flag in regmap
irq chip structure for wcd937x.

Change-Id: I0a2e4fc85fe6dca75885b5300840669afeabc80c
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-04 16:14:51 +05:30
Meng Wang
5487799a92 asoc: bolero: add SWR MIC registers as volatile
Add SWR MIC registers BOLERO_CDC_TX_TOP_CSR_SWR_MIC0_CTL
and BOLERO_CDC_TX_TOP_CSR_SWR_MIC1_CTL as volatile to
resolve SWR TX1 port mute issue.

Change-Id: I66e0d8e63ebabaca6f4aa562f18d7b58592a1d74
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-03 23:52:57 -07:00
qctecmdr
d6f802b1cb Merge "asoc: wsa881x: correction to codec name." 2020-07-31 03:41:23 -07:00
qctecmdr
6d8a12d43b Merge "asoc: wcd937x: add dummy widgets to codec input and outputs" 2020-07-31 03:41:23 -07:00
qctecmdr
5f61bf8378 Merge "ASoC: add null check for component prefix" 2020-07-30 01:29:54 -07:00
qctecmdr
d0dcd129ba Merge "asoc: wcd938x: reverse datapath_control and connect_port for teardown" 2020-07-30 01:29:53 -07:00
Sudheer Papothi
ea214d5c91 ASoC: wsa883x: Update register sequence to reduce CnP
Update register sequence of WSA883x codec to reduce CnP
during bringup and teardown of speaker path.

Change-Id: I348a55e1324b5c26a36b8d7c78edf52a66e40381
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-07-28 23:10:01 -07:00
qctecmdr
f887c3029e Merge "ASoC: va-macro: Do not register for event listener for shima" 2020-07-28 22:40:06 -07:00
qctecmdr
8a4d49de4c Merge "ASoC: rouleur: Update hph registers based on foundry id" 2020-07-28 22:40:06 -07:00
Vangala, Amarnath
8b88a0f8a8 asoc: wsa881x: correction to codec name.
Minor correction to the codec name.

Change-Id: I6007ac716e12ec2fc2e66d805ced8f77529174dd
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 18:35:48 +05:30
Vangala, Amarnath
83efb2ee63 asoc: wcd937x: add dummy widgets to codec input and outputs
With multicodec approach, codec widgets are added much earlier during sound
card registration than aux codec approach. The connections between bolero and wcd938x
are done via device tree at a later point. DAPM does power checkup for codec widgets
before the codec-codec path is connected. This results in wcd937x dapm inputs/output
to be considered as endpoints, which results in playback/record failure once after
bootup. Hence, add dummy output/input widgets to wcd937x dapm inputs/output which are not
codec endpoints.

Change-Id: I8589f9a33261531eaad74e8f12ef1825fa90a014
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 18:26:56 +05:30
Meng Wang
94bb2f8fb6 asoc: wcd938x: reverse datapath_control and connect_port for teardown
swr_slvdev_datapath_control should be called after
wcd938x_tx_connect_port to cleanup disconnected ports.

Change-Id: I53e6e9140ed0be5a0a0704358e3e7f600ab62863
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-28 09:36:55 +08:00
qctecmdr
ca5e93ad66 Merge "asoc: machine driver and bring up changes for holi." 2020-07-27 05:45:14 -07:00
qctecmdr
7a1646e344 Merge "ASoC: codecs: rate limit error msg in hdmi codec" 2020-07-27 05:45:11 -07:00
qctecmdr
b0fed904c1 Merge "ASoC: bolero: Add LPI mode for VoLTE usecase" 2020-07-27 05:45:11 -07:00
qctecmdr
a15eb28837 Merge "ASoC: swr-haptics: Remove disable regulator during system suspend" 2020-07-27 05:45:11 -07:00
Vignesh Kulothungan
91ba27cac5 ASoC: add null check for component prefix
Check if component prefix is set before use.
Add component prefix for dai widgets before calling
ignore suspend.

Change-Id: Ifa0c727bf46af661cd19b6018bfc25af9a7e3753
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-07-24 09:10:16 -07:00