Commit gráf

36 Commit-ok

Szerző SHA1 Üzenet Dátum
Sarath Varma Ganapathiraju
23a60902bc asoc: codecs: Enable LPM for power supplies
Enable Low Power Mode for the power supplies while
going to suspend mode on wsa883x and wcd9378.

Change-Id: I133c1b791bcd8b53cf79650d7347d5889da29491
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2024-05-26 11:14:26 -07:00
qctecmdr
b13450e06d Merge "asoc: Fix the amic4 mute issue" 2024-04-30 00:22:09 -07:00
qctecmdr
2dbc4b93df Merge "asoc: disconnect comp_l port when hph widget power down" 2024-04-30 00:22:09 -07:00
Yuhui Zhao
6f212f3573 asoc: disconnect comp_l port when hph widget power down
when we enable compander for headphones, the quality
of hph playback is bad, since we have not disconnect
the right port, correct it.

Change-Id: I63ab0734870027109a7f032c47f8865083374a5b
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-24 10:39:37 +08:00
Yuhui Zhao
f9b2f2cd8a asoc: Fix the amic4 mute issue
when amic4 recording start, sys_usage_bit get failed,
since the mask of read val is incorrect.

Change-Id: I4c6bdaf6cafdd133e272bcacfd2faea5f176f9ab
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-22 10:55:12 +08:00
qctecmdr
9729e275b2 Merge "asoc: mbhc: disable unnecessary irq for pitti" 2024-04-15 23:37:39 -07:00
qctecmdr
c51b6bbc50 Merge "asoc: codec: wcd9378: clear the interrupt once served" 2024-04-15 23:37:39 -07:00
Prasad Kumpatla
13c59f248e asoc: codec: wcd9378: clear the interrupt once served
clear the interrupt once served.

Change-Id: I1cbd79d7fe080a52cd08063010dd9aec25117f26
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-04-15 15:41:55 +05:30
Yuhui Zhao
d5420cefee asoc: mbhc: disable unnecessary irq for pitti
Disable unnecessary irq for pitti.

Change-Id: I17d5c35eb0aae2d3ff754fd04deaec346846e489
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-12 19:49:28 +08:00
Yuhui Zhao
18c89c9b5f asoc: optimize the init sequence for tambora
Optimize the init sequence for tambora, enable TXSCBIAS_CLK
and set IBIAS_LDO_DRIVER as 5ua.

Change-Id: I639b7051d03d167972f592b155072260d4e02aec
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-11 18:09:41 +08:00
qctecmdr
055c2ae6fd Merge "asoc: optimize the logic of aux/ear gain pa set" 2024-04-09 10:57:09 -07:00
qctecmdr
a6a4fedd44 Merge "asoc: codec: wcd9378: disconnect swr port in PMD" 2024-04-09 10:57:09 -07:00
Yuhui Zhao
5a30d22311 asoc: enable pdm_wd irq when needed
Enable pdm_wd irq to report rx status.

Change-Id: I8427b136b29e87b653d4f506bae519b91752ad29
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-09 14:24:37 +08:00
Yuhui Zhao
21e0bfcedd asoc: Update the hph/ear/aux playback sequence
Update the hph/ear/aux playback sequence, disable the reg
which should be disable.

Change-Id: Ib1353e686a49222f5084722cced7687815f76ab2
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-08 10:34:26 +08:00
Prasad Kumpatla
da793e1de7 asoc: codec: wcd9378: disconnect swr port in PMD
disconnect swr port on PMD.

Change-Id: I784cb37cf11c8ba22b5bf36fa2ea23602ddb44ab
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-04-05 11:29:57 +05:30
qctecmdr
5c9937f7ac Merge "asoc: tear down the correct REQ_PS when widget power down" 2024-04-03 22:10:13 -07:00
Yuhui Zhao
c10a5615b3 asoc: optimize the logic of aux/ear gain pa set
Optimize the logic of aux/ear pa gain set.

Change-Id: I2a13d1790173b60e4de808ab27a0128833c47221
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-03 16:55:31 +08:00
Yuhui Zhao
a3553d6c26 asoc: tear down the correct REQ_PS when widget power down
Tear down the correct REQ_PS when widget power down,
that can fix the amic3 mute after ssr issue.

Change-Id: I7b5c958e79eb23184bd11375bae11dbcd51e961a
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-04-01 14:52:23 +08:00
qctecmdr
eb89e5b186 Merge "asoc: remove test reg configuration from init_reg func" 2024-03-28 10:21:29 -07:00
Yuhui Zhao
1624212a65 asoc: add sys_usage automatically update function for tambora
Add sys_usage automatically update function for tambora,
and remove sys_usage set kcontrol,
optimize ear/aux path check logic.

Change-Id: I06a4676e22f73156f7e2f394c98ab3879aa00cad
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-03-26 18:10:08 +08:00
Yuhui Zhao
3778114c15 asoc: update the micbias enable logic
Update the micbias enable logic for tambora,
and add some widgets to switch between amic and
va amic.

Change-Id: I2c9a7658d79a7c9d255884df7b81aa8062185d72
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-03-25 15:07:38 +08:00
Yuhui Zhao
4a24d4ded3 asoc: remove test reg configuration from init_reg func
Remove test reg configuration from init_reg func to
avoid pop noise in hph playback with comp enable.

Change-Id: I7c49d224e92c28cfdd2e971095ac5e6fa6db14c9
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-03-20 10:26:02 +08:00
Yuhui Zhao
030abb38d9 asoc: update MBHC ZDET logic for tambora
Update MBHC ZDET logic for tambora,
Set TSMC/SMIC mode in init_reg function.

Change-Id: I9b916d606ced5dc4ad691a6a53cc3fc27f860180
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-03-18 17:00:26 +08:00
Prasad Kumpatla
b924e85900 asoc: codec: wcd9378: call swr slave datapath control in hph seq
To enable datapath control for both HPH_L and HPH_R in
HPH sequencer. Which is used to fix the single channel
mute issues.

Change-Id: I1d9fb22255a2895fc2543ef5c3de02f0bdb9999d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-03-11 15:39:20 +05:30
Yuhui Zhao
ddbe2ef0da asoc: remove dev_up check in micbias_control function
remove dev_up check in micbias_control function.

Change-Id: Ia008bf45aeb231e85e99034115d3d90415bc259c
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-03-01 13:43:34 +08:00
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
4ac0b26319 Merge "asoc: codec: wcd9378: defer the probe if msm cdc pinctrl is not probed" 2024-02-18 21:48:15 -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
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
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
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
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