tinno16
0bd5ad5e36
hawaii OLED: hawao audio bringup
...
hawao audio driver bringup
smartpa calibration add
Change-Id: Ic7b61ea858abeeaff5c4c482740b29f6f0db87d3
Reviewed-on: https://gerrit.mot.com/2136276
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: Yunfei Guo <guoyf2@motorola.com >
(cherry picked from commit f20f799cccbcedface54a69fdeae35bd5f97ef36)
Reviewed-on: https://gerrit.mot.com/2144882
Reviewed-by: <tinno16@motorola.com >
Reviewed-by: Hujun Liao <liaohj@motorola.com >
2023-06-01 00:35:13 -03:00
tinno16
55e843eee5
hawaii OLED: hawao audio bringup
...
hawao audio driver bringup audio-kernel
add hawao audio kernel config for aw88261 driver
Change-Id: If2042ac150d89495a756baaa6ae744d540179eab
Reviewed-on: https://gerrit.mot.com/2135169
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: <tinno16@motorola.com >
Reviewed-by: Shengchun Li <lisc2@motorola.com >
(cherry picked from commit 4e3e26abb5bdc395797ec7b3680d8e500ed66a0c)
Reviewed-on: https://gerrit.mot.com/2144807
Reviewed-by: Yunfei Guo <guoyf2@motorola.com >
Reviewed-by: Hujun Liao <liaohj@motorola.com >
2023-06-01 00:35:13 -03:00
yaozm1
f6c4ec73dc
asoc:upgrade aw88261 driver to v1.9.0.2
...
release v1.9.0.2,
add ramp support.
Change-Id: I0b13202e458c6c9fdd732edcedbdb78c4db8f826
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2143963
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
yaozm1
3390566b8c
asoc:upgrade aw88261 driver to v1.9 debug version
...
add profile control;
v1.9 debug version.
Change-Id: I2964cb83649917af1cdcd97bf53c0e1fb05411b1
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2130885
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
huaqin95
2ea4212fc3
rhode:mbhc:enable moisture detect for rhode
...
update mbhc for rhode;
enable moisture detect.
Change-Id: I5b82baca51ee62511419076e8cf025b4b1e020f6
Signed-off-by: huaqin95 <huaqin95@motorola.com >
Reviewed-on: https://gerrit.mot.com/2125940
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@lenovo.com >
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
huaqin95
5129944586
rhode: audio: update awinic smartpa driver to V1.8.0.1
...
update awinic smartpa driver to V1.8.0.1
test playback, smartpa cali, cqa test pass
Change-Id: I95d757065de1de1e5b6ef50ba55cea79c8883b84
Signed-off-by: huaqin95 <huaqin95@motorola.com >
Reviewed-on: https://gerrit.mot.com/2127502
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@lenovo.com >
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
huaqin95
249139754c
rhode: audio: enable aw882xx algo param store in aw_skt.bin
...
update the lib to store the params to aw_skt.bin,
enable algo_prof switch.
Change-Id: I34e10cc27d60f6fd2bb40500f90e916f93de7e5f
Signed-off-by: huaqin95 <huaqin95@motorola.com >
Reviewed-on: https://gerrit.mot.com/2124816
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: wangzhe <huaqin96@motorola.com >
Reviewed-by: Zhengming Yao <yaozm1@lenovo.com >
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
yaozm1
7a40ed55b7
asoc:update audio config for rhode
...
update awinic codec config;
for rhode evt.
Change-Id: I8ab0f2b1239c74510894463fc46607997cfaee17
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2113385
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
yaozm1
50680956a7
mbhc:disable moisture detect for rhode
...
update mbhc for rhode;
disable moisture detect.
Change-Id: I9f563b4007c9e9fc9064856bcf27e9c97c174be9
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2108749
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
yaozm1
ebb8a240e5
asoc:init rhode audio
...
Change-Id: Ia605774ce9438516dea037f2e2538e3b8037560c
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2107467
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
yaozm1
b3e58b6d6c
asoc:add aw88261 codec driver
...
add aw88261 driver;
for rhode evb bringup.
Change-Id: I1d70441f873a5177b7209cb3e46283a57ceaeb7d
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2099634
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
yaozm1
793f3936a6
asoc: Add fs1818 support for guamp/guamna
...
Propagation of the https://gerrit.mot.com/#/c/1510671/
in order to enable fs1818 as audio PA for
guamp and guamna EVT sample devices.
Change-Id: I772278e04a98bd4c95443e911d228d746797a263
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/1510671
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1914385
Reviewed-by: Monica Mabuchi <monicam@motorola.com >
Reviewed-by: Nelson Guedes Paulo Junior <npaulo@motorola.com >
Reviewed-by: Jian Luan <jamesluan@motorola.com >
2023-06-01 00:35:13 -03:00
guoyf2
39d96b8ecc
ASoC: update aw882xx driver to v0.1.17
...
Volume fade in/out feature doesn't depend on afe-profile,
ues a new property fade-flag to control it.
Change-Id: Ifc14f98538710c8fcf0ba669ad2daa81c59ca52f
Signed-off-by: guoyf2 <guoyf2@lenovo.com >
Reviewed-on: https://gerrit.mot.com/1784580
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com >
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
guoyf2
9a6f021a1c
update aw882xx driver to v0.1.16
...
- Modify the setting of gain initial value, set it according to
temperature and voltage, and modify the setting of volume when
fade in.
- Problems solved:
When the battery power is high and low-temperature and
low-pressure protection is not triggered, the initial GAIN will
be set to -6dB. After the low-temperature and low-pressure trigger,
the sound will become louder.
Change-Id: Ib3f4eddd3117f148d1b3e1242c36621882346574
Signed-off-by: guoyf2 <guoyf2@lenovo.com >
Reviewed-on: https://gerrit.mot.com/1758919
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yunfei Guo <guoyf2@motorola.com >
Reviewed-by: Wang Wang <wangwang1@lenovo.com >
Submit-Approved: Jira Key
2023-06-01 00:35:13 -03:00
Laxminath Kasam
b660be1d97
soc: soundwire: Update hw_ctl on HCLK at bootup
...
Propogate changes from (CR).
Merge qcom patch:
case number: 04629828
soc: soundwire: Update hw_ctl on HCLK at bootup
For soundwire version 1.6, HCLK remove HW controlled
at bootup before soundwire frame generation status check.
Change-Id: Idc2420d086261766ea4e79f69320f12c4d6b2259
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org >
Reviewed-on: https://gerrit.mot.com/1592905
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yunfei Guo <guoyf2@motorola.com >
Reviewed-by: Zhengming Yao <yaozm1@lenovo.com >
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1745677
Reviewed-by: Wen Xie <xiewen3@motorola.com >
2023-06-01 00:35:13 -03:00
yaozm1
81c4cb937b
asoc:Enable necessary log for mbhc
...
Propogate changes from (CR).
For headset debug purpose;
Enable necessary log.
Change-Id: Ib34f66978a7659ca396ef6db4d0a8e5f18363bd4
Signed-off-by: yaozm1 <yaozm1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/1581555
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com >
Submit-Approved: Jira Key
(cherry picked from commit 08300c96a3e1454a6c8e2de9df5a3df69ecc1776)
Reviewed-on: https://gerrit.mot.com/1744665
Reviewed-by: Yunfei Guo <guoyf2@motorola.com >
Reviewed-by: Wang Wang <wangwang1@lenovo.com >
2023-06-01 00:35:13 -03:00
guoyf2
feb238febf
Audio bringup: asoc: add aw882xx support
...
Change-Id: Ia5781b73ecaceba7393379da5c38c63112e7f894
Signed-off-by: guoyf2 <guoyf2@lenovo.com >
Reviewed-on: https://gerrit.mot.com/1732545
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: Yunfei Guo <guoyf2@motorola.com >
Reviewed-by: Xianhong Li <lixh8@lenovo.com >
2023-06-01 00:35:13 -03:00
Linux Build Service Account
66b9d28370
Merge fa03eae637 on remote branch
...
Change-Id: I9473edbe13f26f250784aa399eb009a94a7d9721
2023-02-20 04:02:38 -08:00
qctecmdr
fa03eae637
Merge "ASoC: rouleur-mbhc: Enhance impedance calculation logic"
2023-01-22 06:56:30 -08:00
qctecmdr
e7371e7285
Merge "ASoC: rouleur-mbhc: Fix pop noise heard when headset insertion"
2023-01-22 06:51:23 -08:00
Soumya Managoli
28658bc2a0
ASoC: msm-pcm-q6-v2: Add dsp buf check
...
Current logic copies user buf size of data
from the avail dsp buf at a given offset.
If this offset returned from DSP in READ_DONE event
goes out of bounds or is corrupted, then it can lead to
out of bounds DSP buffer access, resulting in memory fault.
Fix is to add check for this buf offset, if it is within
the buf size range.
Change-Id: I7753cc6db394704dbb959477150141d42b836bef
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com >
2023-01-11 17:53:21 +05:30
Vijay Kumar Maddula
c03164c8a2
ASoC: rouleur-mbhc: Enhance impedance calculation logic
...
When headset insert, calculate impedance for multiple times
and stop calculating if the result is within the threshold.
Modify register write sequence as per rouleur software sequence.
Change-Id: Id035304963d0822f758d7a527a712aca500a8a78
Signed-off-by: Vijay Kumar Maddula <quic_vmaddula@quicinc.com >
2023-01-10 02:18:24 -08:00
Vijay Kumar Maddula
b99e002ebb
ASoC: rouleur-mbhc: Fix pop noise heard when headset insertion
...
Observed pop noise during impedance discharge after
headset/headphone plugged in.
Adding 40ms delay while discharge to complete ramp down properly.
Change-Id: I7eb4ba3423660454990722579b7c7b57156c8067
Signed-off-by: Vijay Kumar Maddula <quic_vmaddula@quicinc.com >
2023-01-05 21:42:14 -08:00
Vaibhav Raut
5fd49711c9
asoc: wsa881x: Fix to set the correct volume level
...
Equality operator was used instead of assignment.
Updated the same.
Change-Id: I6f49dc8801669ae1734b9b3f31b57a6a8dfdfbde
Signed-off-by: Vaibhav Raut <quic_vraut@quicinc.com >
2022-12-22 11:34:42 +05:30
Shalini Manjunatha
03feca0991
soc: swr-mstr-ctrl: remove FIFO_Flush for overflow
...
FIFO_Flush should only be for SWRM_INTERRUPT_STATUS_CMD_ERROR.
For other usecase, it should not be flushed otherwise it would
cause register write mismatch and cause some sideeffect.
Change-Id: I3316f0fefa10b58ceabd57990db0782e0654a580
2022-11-24 17:32:42 +05:30
ronghuiz
3789f88189
asoc: Add routing control for qrb5165 BT HFP usecase
...
Add entry in snd_soc_dapm_route array for hfp client rx mixer
control path.
Add entry in iwsa_cdc_rx_0_port_mixer_controls for
slimbus7 interface
Change-Id: I782cfbc56344fec9454a8317fbab828cab0e6fde
2022-11-07 12:58:50 +08:00
Shalini Manjunatha
09aa948bc6
soc: swr-mstr: Store and compare dev_addr along with dev_num
...
-> If enumeration is changed runtime, dev_num gets changed
-> so it might result in different dev_num for same device
-> between swrm_connect_port and swr_disconnect_port while powering
up and down of widget
-> This results in not emptying the port_req list, hence swrm not
going to suspend state
-> This results into adsp not going to sleep state
Change-Id: I80326a35f0cac7f7be30cbbee119a8ba247a0f76
2022-09-14 10:51:38 +05:30
Linux Build Service Account
c098c04955
Merge 38e81d823d on remote branch
...
Change-Id: I9f051db786269969ec94ec0ef2560e1117cd93ab
2022-08-15 02:14:07 -07:00
Vaibhav Raut
54fca86eb6
Asoc: fix integer overflow for long duration offload playback
...
update runtime total bytes transferred and received
in compress driver.
Change-Id: I1bd129e18681fcf10a27efaa061594081114c1fb
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org >
2022-07-27 17:15:15 +05:30
qctecmdr
38e81d823d
Merge "asoc: Correct the range of dev_token for usb headset."
2022-07-22 08:07:41 -07:00
Fudong Zhang
99b672de4e
asoc: Correct the range of dev_token for usb headset.
...
The range shows 0->-1 which is not right.
Change-Id: Icb319271795826aa49b80f354ee8d3507febc8ae
Signed-off-by: Fudong Zhang <quic_fudozhan@quicinc.com >
2022-07-14 20:34:35 +08:00
Meng Wang
d212c829f3
asoc: pcm-noirq: set substream state to disconnect when ssr happens
...
When SSR happens, set substream state to SNDRV_PCM_STATE_DISCONNECTED
to avoid userspace keeping waiting for substream state and causing
deadlock.
Change-Id: Iaa4d76101204652742c55d13da5c770c418a16bc
Signed-off-by: Meng Wang <mengw@codeaurora.org >
2022-07-11 22:32:10 -07:00
Linux Build Service Account
9d63d445e1
Merge ec3ecad742 on remote branch
...
Change-Id: I76c911b1d7164991c74b7d0604e6346f911071bc
2022-07-09 00:12:56 -07:00
Sunil Yellamelli
ec3ecad742
soc: pinctrl-lpi-legacy : Add nullptr check
...
fix for nullptr dereference issue
Change-Id: I245094107fe6a57ea5139604d244a03be3e63fcd
Signed-off-by: Sunil Yellamelli <quic_syellame@quicinc.com >
2022-06-22 16:07:33 +05:30
Linux Build Service Account
d054ad857c
Merge b03e6b4f97 on remote branch
...
Change-Id: I67e3ed788ccd3527d0b0116cc7cf25776fb9b404
2022-05-16 05:41:47 -07:00
Arungopal Kondaveeti
93ff782147
asoc: msm-pcm-routing: Assign default topology when app_type is zero
...
In normal cases audio hal will sent proper ACDB and APP type values
but in some cases if app type becomes zero.Assign default topology
when app_type is zero.
Change-Id: Id588308650f823f7d94ffb1fd2d7656d4bcf9cb2
Signed-off-by: Arungopal Kondaveeti <quic_kondavee@quicinc.com >
2022-04-27 00:26:33 -07:00
qctecmdr
b03e6b4f97
Merge "asoc: codecs: fix race condition of core vote and reg access"
2022-04-26 02:26:15 -07:00
qctecmdr
580a6ea284
Merge "asoc: notify dp driver after disp codec probe"
2022-04-26 02:26:14 -07:00
ronghuiz
358438b502
asoc: notify dp driver after disp codec probe
...
Since dp driver load faster than audio driver,
Dp driver can't get ext codec ops, we need to notify
Dp driver after audio disp codec driver probe.
Change-Id: I159faefad06e04a1727c71240c7cf90d48522504
2022-04-20 00:10:14 -07:00
Vangala, Amarnath
affa5ed6fb
asoc: codecs: fix race condition of core vote and reg access
...
Auto suspend timer for core vote is triggering before read write complete.
Move the auto suspend of core vote to post read write operation.
Change-Id: Ib0f6b026fe0e7fd3fbe052691db492915e436a78
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org >
2022-04-12 20:20:38 -07:00
Linux Build Service Account
74bdcb6310
Merge deab6661d2 on remote branch
...
Change-Id: I45b6e9ab6a48d99ad6fe339aef2b83f58a103c02
2022-04-06 05:29:49 -07:00
Faiz Nabi Kuchay
df752383fc
ASoC: wcd937x: Add check for ULP irrespective of the Class
...
Add check for ULP mode irrespective of the Class to update
QCRG sequence.
Change-Id: Ie314aec147083df2b7db3e2769e3ff652d13c7de
2022-04-05 23:08:59 -07:00
Shazmaan Ali
7ce05e2df9
asoc: codecs: Add nullptr check
...
fix for nullptr deref issue
Change-Id: I26acf2c5c696038c6d5c64d858174b2f2c58a7d3
Signed-off-by: Shazmaan Ali <quic_shazmaan@quicinc.com >
2022-03-25 13:59:41 -07:00
Faiz Nabi Kuchay
deab6661d2
ASoC: wcd937x: Update QCRG sequence for wcd937x
...
Update QCRG sequence for wcd937x.
Change-Id: I039a8b2dc74c34722b6c81bab429dee6326ec362
2022-03-21 23:48:38 -07:00
Linux Build Service Account
a99182ff0d
Merge 695fc8b6d6 on remote branch
...
Change-Id: Ia6f91a801228557d57159742c8d592800d01cc16
2022-03-08 23:02:45 -08:00
Lakshman Chaluvaraju
b050316e86
asoc: changes to fix KW errors.
...
Add changes to fix KW errors.
Change-Id: I87fc8bf5b2753cef6af881713637e9521389708d
Signed-off-by: Lakshman Chaluvaraju <quic_lchalu@quicinc.com >
2022-02-15 20:56:21 -08:00
Lakshman Chaluvaraju
695fc8b6d6
asoc: changes to fix KW errors.
...
Add changes to fix KW errors.
Change-Id: I87fc8bf5b2753cef6af881713637e9521389708d
Signed-off-by: Lakshman Chaluvaraju <quic_lchalu@quicinc.com >
2022-01-27 11:31:16 +05:30
Linux Build Service Account
8d18f19138
Merge 691eeafacf on remote branch
...
Change-Id: I63ba7573692fc55d34ac5a2eca5e013229cd6cd0
2022-01-10 04:42:57 -08:00
Sudheer Papothi
691eeafacf
ASoC: pcm-routing: Add WSA VI sense macro to support capture
...
Add WSA VI sense macro to support VI sense capture.
Change-Id: I704aa6fbcb3908c0b76c82c941818b64e1d4598b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org >
2021-12-09 14:48:10 +05:30
Linux Build Service Account
b133b2c47e
Merge d8b7b3eda7 on remote branch
...
Change-Id: I4f7242170e44a2d7f45b4dd3b13f0054c44d4de4
2021-11-16 22:23:15 -08:00