Commit Graph

1811 Commits

Author SHA1 Message Date
Vangala, Amarnath
feb0a0bbc4 asoc: codecs: bt-swr: Implement driver for BT Soundwire
Implement driver module for BT Soundwire master.
Implement support for SSR and PDR handling for BT Soundwire use case.

Change-Id: Ibc7818a08a2f65fe47311daffc03a017fbac77e3
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2024-03-01 18:22:08 +05:30
qctecmdr
bf838c54f7 Merge "asoc: reset scp1_val and scp2_val after ssr" 2024-02-28 08:26:04 -08:00
Yuhui Zhao
82eaa39165 asoc: reset scp1_val and scp2_val after ssr
Move scp1_val and scp2_val into swr_device struct and
reset this two value after ssr.

Change-Id: I549f7438f034a2de0e556bd749594fbe5db2a21e
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-02-28 05:55:38 -08:00
Prasad Kumpatla
34a815fea3 aosc: codec: wcd9378: call swr disconnect in PMD
Clk vote is present after teardown the usecase. which
is impacting the power, in SND_PMD call swr disconnect
to avoid clk votes.

Change-Id: I94d1ab9dc19a62132033a5715d4212dbcb7d2b0b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-22 22:40:38 +05:30
qctecmdr
c67c5539fa Merge "audio-kernel-ar: Set audio limit to 32ch/96kHz" 2024-02-18 21:48:15 -08:00
qctecmdr
a51f1e5dc7 Merge "asoc: codec: wcd937x: update the codec RX clk" 2024-02-18 21:48:15 -08:00
qctecmdr
4ac0b26319 Merge "asoc: codec: wcd9378: defer the probe if msm cdc pinctrl is not probed" 2024-02-18 21:48:15 -08:00
Prasad Kumpatla
b8b3fca8aa asoc: codec: wcd937x: update the codec RX clk
update the codec digital RX clk rate to 9P6MHZ or
11P2896MHz depends on usecase.

Change-Id: I1c7167c10ef8bcdba876be265ef90d980f822d03
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-12 15:01:22 +05:30
peizhong
190b3f5e48 audio-kernel-ar: Set audio limit to 32ch/96kHz
Increase TDM interface max ch to 32 and max rate to 96kHz.

Change-Id: Icaabacff20bc08d98e0f4a6b47feaf8c09aee585
Signed-off-by: peizhong <quic_peizhong@quicinc.com>
2024-02-07 08:23:43 -08:00
qctecmdr
b561c6e890 Merge "asoc: codec: Enable RX1 mix path" 2024-02-06 04:54:40 -08:00
qctecmdr
1014d7de9a Merge "asoc: codec: defer the probe if msm cdc pinctrl is not probed" 2024-02-06 04:54:40 -08:00
qctecmdr
2d956849c5 Merge "asoc: optimize the power down logic of hph playback widget" 2024-02-06 04:54:40 -08:00
Prasad Kumpatla
e2327f08c3 asoc: codec: wcd9378: defer the probe if msm cdc pinctrl is not probed
Defer the probe when the msm cdc pinctrl driver is not prode.

Change-Id: I3ace42632601a8ef010363f23534471e99c0f827
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-05 01:19:37 -08:00
Yuhui Zhao
0b1954374d asoc: optimize the power down logic of hph playback widget
Optimize the power down logic of hph playback widget.

Change-Id: Ic6d085e70cb36cdc99bcbceddbce3aff2bc54ad6
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-02-04 10:25:02 +08:00
qctecmdr
231c051c05 Merge "asoc: lpass-cdc-rx-macro: DRE return for SWR PCM and PDM data transport cases" 2024-02-02 23:49:11 -08:00
Yuhui Zhao
d5b009ed51 asoc: remove swr clk set from analog side
Remove swr clk set from analog side.
Optimize the debug log.

Change-Id: I8c3a946f1c64fd5d71fd5151c4c464d370b4ae8c
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-02-01 15:57:33 +08:00
Prasad Kumpatla
3dd1953f31 asoc: codec: defer the probe if msm cdc pinctrl is not probed
Defer the probe when the msm cdc pinctrl driver is not
proded.

Change-Id: Ia6aaaca7c55b60b53008ffda0fc40e5db407cd2a
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-01 12:46:33 +05:30
sarath varma ganapathiraju
86102f43f6 asoc: codec: Enable RX1 mix path
Enable WSA RX1 mix path to ensure DMA is enabled
properly and data is consumed to drive right channel
using wsa mix path.

Change-Id: I2b0bc92eeaa82734254ceda96de39f20a761dc75
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
2024-01-31 10:50:52 -08:00
Ravulapati Vishnu Vardhan Rao
f27ffc6243 asoc: lpass-cdc-rx-macro: DRE return for SWR PCM and PDM data transport cases
DRE is not disabled properly on targets where kcontrols are not exposed.
Add separate check for both SWR PCM and PDM data transport cases to
avoid having dependency on kcontrol.

Change-Id: Ifbd9aaa8213540c9cc19690ef70b30336580116a
Signed-off-by: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
2024-01-23 16:09:18 +05:30
Yuhui Zhao
3a0c47b2f4 asoc:add micbias widget to enable micbias for msm_dmic
Add micbias widget to enable micbias for msm_dmic.

Change-Id: I2d4a39644369e7db4fd3e513b152b54693db7358
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-22 20:06:12 +08:00
Prasad Kumpatla
372beca218 asoc: codec: remove unwanted modules for pitti
remove unwanted modules for pitti.

Change-Id: I29def6096841d0d9dfcccd81ec9761b7ef6ff1be
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-09 21:59:51 +05:30
qctecmdr
465958d84d Merge "asoc: codec: lpass: add support bolero v2p1" 2024-01-07 02:11:24 -08:00
qctecmdr
0549c98fff Merge "asoc: add version flag to enable LPASS 2P6" 2024-01-07 02:11:24 -08:00
qctecmdr
a30841251b Merge "asoc: codec: wcd9378: optimize the micbias usage set logic" 2024-01-07 02:11:24 -08:00
Prasad Kumpatla
e8c72f5698 asoc: codec: lpass: add support bolero v2p1
add support bolero v2p1 in lpass rsc driver.

Change-Id: I6441a20e824dd61670ec7020ae17eb5bc93c5ea1
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-03 07:44:47 -08:00
Vangala, Amarnath
2792b38785 asoc: lpass-cdc: changes for bolero v2.2
Implement changes to make the driver compatible with bolero V2.2.

Change-Id: If2797a80f775c685ff2a6912de189b1d9b4906d0
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2024-01-02 19:49:30 +05:30
Yuhui Zhao
0a61628b76 asoc: codec: wcd9378: optimize the micbias usage set logic
Optimize the micbias usage set logic in tambora driver.

Change-Id: I77224f66f12e129f00708a531c1aab137aee7000
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 03:47:28 -08:00
Yuhui Zhao
ec9b4ac42a asoc: update config file to support tambora in Kalpeni
Update config file to support tambora in Kalpeni.

Change-Id: I2190823f0b4cb9724080d92619a540f2b7bab9b2
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 18:05:21 +08:00
Yuhui Zhao
296d36f931 asoc: add the initial tambora driver files
Add the initial tambora driver files.

Change-Id: Ic6bebd953f031549e7cf72874cebd4fae05deae3
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 13:15:13 +08:00
Prasad Kumpatla
d36fc5c57f asoc: add audio kernel config files for pitti
add audio kernel config files for pitti.

Change-Id: I2ef71e7ce42b6083c099558bd0d14f49800d3e3a
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-29 14:52:53 +08:00
qctecmdr
a87cbe35c4 Merge "swr-haptics: request and release swr device wakeup votes properly" 2023-12-28 06:44:54 -08:00
Phani Kumar Uppalapati
1104a060e4 swr-haptics: request and release swr device wakeup votes properly
Request and release swr device wakeup votes in PRE/POST PMU and
PRE/POST PMD events to allow system enter low power states.

Change-Id: I8acd648bcc8e11cadda7254d7e5369155d9597c9
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 16:26:00 +05:30
Prasad Kumpatla
27110b4fb5 asoc: add support for both fsa and wcd usb AATC
add support for both fsa and wcd usb AATC.

Change-Id: I0253faad734a433f5da93c34adfc4f9c2e37fa14
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 16:04:46 +05:30
yuayang
568d8d0822 asoc: audio-kernel: Remove trace_printk
Remove trace_printk point.

Change-Id: I76b53eda77bc41c75e06a885084022d74c248188
Signed-off-by: yuayang <quic_yuayang@quicinc.com>
2023-12-21 16:26:31 +08:00
Jiazai Wu
60687055d2 asoc: add support for 7255 monaco
1. Add config for 7255 monaco.
2. Add kernel build rule for 7255 monaco dlkms.

Change-Id: I0b697856907d6bbc7e78a421cde75d6cdf4ee2b4
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-09 10:38:43 +05:30
qctecmdr
db5e3d22a0 Merge "asoc: wcd939x: Add conditional check before calling wcd usb api" 2023-11-08 20:45:05 -08:00
qctecmdr
945fe83da3 Merge "asoc: codecs: wcd937x: Handle PDM watchdog interrupt" 2023-11-08 20:45:04 -08:00
qctecmdr
f0ed0a4c43 Merge "asoc: Improve msm-cdc-supply vote checks and messages" 2023-11-02 06:39:11 -07:00
qctecmdr
3613355177 Merge "asoc: wcd939x: Change OVP threshold" 2023-11-02 06:39:11 -07:00
Faiz Nabi Kuchay
522dfd9219 asoc: codecs: wcd937x: Handle PDM watchdog interrupt
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.

Change-Id: Ife131d5d64d2ad2b8f7aad50af3aa07238bbbda9
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-11-01 21:36:39 -07:00
qctecmdr
119e420617 Merge "asoc: lpass-cdc-va-macro: revert reset Sampling rate" 2023-10-30 06:45:17 -07:00
qctecmdr
d31237b183 Merge "pitti: Add compilation support for target pitti" 2023-10-30 06:45:17 -07:00
Sarath Varma Ganapathiraju
18b9c62542 asoc: wcd939x: Add conditional check before calling wcd usb api
Add conditional check before calling wcd usb api

Change-Id: I9046ece531ea009e8b8cd5db98675960d928c1c6
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2023-10-30 12:04:38 +05:30
Sam Rainey
556c4befcd asoc: wcd939x: Change OVP threshold
Change default OVP threshold to 4.2V, but set
to 4.0V during CODEC reset.

Change-Id: I4aa8accf7466e144902a2f6a250c1aad91084e95
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-10-26 16:25:00 -07:00
sarath varma ganapathiraju
9bb0f01c5d pitti: Add compilation support for target pitti
Add Compilation support for target pitti.

Change-Id: Ibb06ace7332aa87eb5f8082db95f0c0f8b3deb66
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
2023-10-19 22:01:23 -07:00
Ganapathiraju Sarath Varma
374374a0c4 asoc: codec: wsa884x: check for spkr status before enabling PA
added condition to check for spkr status before enabling
GLOBAL_PA to make sure PA is enabled only when Speaker
is in Enabled state.

Change-Id: Ifa4eeb7d8561bb68193abae16221dd8b2464029c
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2023-10-17 23:41:24 -07:00
qctecmdr
966a448ec3 Merge "asoc: codecs: lpass-cdc: remove pre ssr notifier call" 2023-10-13 05:48:48 -07:00
qctecmdr
f28495fb99 Merge "asoc: wcd939x: Support xtalk for high voltage mics" 2023-10-13 05:48:47 -07:00
qctecmdr
8266d7edb3 Merge "asoc: mbhc: update the usbss switches once the removal is done" 2023-10-13 05:48:47 -07:00
qctecmdr
b2b013a2b6 Merge "asoc: codecs: wsa883x: remove handling for pre ssr event" 2023-10-13 05:48:47 -07:00