Commit Graph

4600 Commits

Author SHA1 Message Date
Yuhui Zhao
ec2a5e8fe6 asoc: mbhc: change the mbhc reg width from 16bit to 32bit
Update the mbhc reg width from 16bit to 32bit for tambora
target.

Change-Id: Ibf474ffcadce2dfd13202ece1119b9974591acdb
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 13:09:59 +08:00
Yuhui Zhao
2476775b9b asoc: regmap: add support for 32bit reg_address regmap_write/read
The regmap write/read can only support 16bit reg_address. but
the reg_address of tambora is 32bit_address. need add support for
it.

Change-Id: I2374b3672bc4b652ef5ed00921a0e3beed0c6231
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 13:06:48 +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
Prasad Kumpatla
d565fe8113 asoc: pineapple: add bt fm slimbus BE support
add bt fm slimbus BackEnd support.

Change-Id: I0a2631a32530e9d089095caf50d2435c647781ff
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 20:16:20 +05:30
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
1ffe08fc12 asoc: pineapple: add fsa node handle
add fsa node handle in machine driver to
differentiate between fsa and wcd_usbss.

Change-Id: I3604f77440c8265306ace910ed37c2757f299665
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 16:10:53 +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
qctecmdr
641fe28ac7 Merge "asoc: audio-kernel: Remove trace_printk" 2023-12-26 21:47:36 -08:00
qctecmdr
b9d37cb885 Merge "asoc: dynamically set mclk for monaco based on interface" 2023-12-26 21:47:36 -08:00
qctecmdr
dc5fc099b2 Merge "audio-kernel-ar: Use virt_sndcard_ctl node for sndcard status update" 2023-12-26 21:47:35 -08:00
qctecmdr
58cd56ebf3 Merge "asoc: Enable Audio module compilation for volcano" 2023-12-21 06:14:59 -08:00
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
qingyuec
b01c95cb8f asoc: dynamically set mclk for monaco based on interface
Set MCLK1 for interface HS0 used by monaco.

Signed-off-by: qingyuec <quic_qingyuec@quicinc.com>
2023-12-20 18:56:22 -08:00
Deepak Agrawal
97e05f2e77 audio-kernel-ar: Use virt_sndcard_ctl node for sndcard status update
Created an API for registering device node in audio-kernel for SSR

Change-Id: Icc9508e6977b17503711c9983dd52c367c6fff0c
Signed-off-by: Deepak Agrawal <quic_deeagr@quicinc.com>
2023-12-19 10:50:31 +05:30
Mohit Sharma
59bb598391 asoc: Enable Audio module compilation for volcano
Enable Audio module compilation for volcano

Change-Id: I584550e624ce15215e90d38ae0b84211d8c6a8d6
Signed-off-by: Mohit Sharma <quic_smohit@quicinc.com>
2023-12-11 04:43:54 -08:00
Sarath Varma Ganapathiraju
e5a753acaf dsp: spf-core: update add child devices timeout to 10000 ms
update add child devices timeout to 10000 ms

Change-Id: Ieee7333561df87112ff9f37102ab1a6237d55d6f
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2023-12-06 23:09:17 -08:00
Linux Build Service Account
c32a805c82 Merge "asoc: get hw params for auto target" into audio-kernel.lnx.6.0 2023-11-21 20:31:15 -08:00
Linux Build Service Account
abb843d268 Merge "asoc: add support for 7255 monaco" into audio-kernel.lnx.6.0 2023-11-21 20:31:15 -08:00
Linux Build Service Account
98845e5019 Merge "asoc: add sound card sa7255 support in auto machine driver" into audio-kernel.lnx.6.0 2023-11-21 20:31:14 -08:00
qctecmdr
ccb952555b Merge "asoc: msm_common: use logical CPU cores for qos request" 2023-11-15 21:29:19 -08:00
qctecmdr
c3de8cfaa8 Merge "ipc : gpr-lite: set dsp state to GPR_SUBSYS_LOADED" 2023-11-15 21:29:18 -08:00
Vangala, Amarnath
75a32c24e9 asoc: msm_common: use logical CPU cores for qos request
Use logical CPU core IDs, for requesting affinity for silver CPU cores.

Change-Id: I8ec81d6c21dc038e6233cc1ffd020a4ba81aadf2
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-11-10 13:18:54 +05:30
qctecmdr
c80f70ffd4 Merge "build: niobe: enable module compilation" 2023-11-09 22:19:06 -08:00
Jiazai Wu
08a0be98ec asoc: get hw params for auto target
soc-util no longer sets hw params for snd-soc-dummy components.
pcm_open() is blocked by snd_pcm_hw_constraints_complete() function.
read hw params from dts and set it during dailink startup.

Change-Id: I0d0c6ae581c5fb72091ec6c2cadb85e93e475deb
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-08 21:19:16 -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
Jiazai Wu
e74df686cd asoc: add sound card sa7255 support in auto machine driver
add sa7255 match compatible in auto machine driver.

Change-Id: I3e0908671b43a8d08278b780c97a42963c55180b
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-09 10:37:56 +05:30
qctecmdr
db5e3d22a0 Merge "asoc: wcd939x: Add conditional check before calling wcd usb api" 2023-11-08 20:45:05 -08:00
qctecmdr
0a2ea50758 Merge "asoc: msm-cdc-pinctrl: fix compile error" 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
Jiazai Wu
b8ddf2f61f asoc: add machine driver for auto target
Integrate machine driver for auto target from kernel 5.15.
Propagated from fd35f8a09932174844ce93c065b0f5597324556a.

Change-Id: I5a9026beea2954409e69b02f7955e7c9d09eef12
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-08 01:00:13 -08:00
Jiazai Wu
9ce7dace9f ipc : gpr-lite: set dsp state to GPR_SUBSYS_LOADED
Dsp can get online before gpr ssr callback registering.
Dsp state is never changed in this case.
Set dsp state by default GPR_SUBSYS_LOADED at the tail of gpr probe.

Change-Id: I3cc4087e0433f6d827042244f91f3110d234669d
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-02 21:46:11 -07:00
qctecmdr
960ba2a87f Merge "dsp: adsp_loader: load proper dtb image" 2023-11-02 06:39:11 -07: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
qctecmdr
c46accabd4 Merge "asoc: msm_common: Update in aud_dev_sysfs_store to fix out of bound error" 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
Anirudh Mahto
96f060f1d8 build: niobe: enable module compilation
Add changes to compile audio kernel modules for niobe.

Change-Id: I07429fa08ab78f157bdc2d487aeba6b09017c58c
Signed-off-by: Anirudh Mahto <quic_amahto@quicinc.com>
2023-10-31 20:37:00 +05:30
qctecmdr
119e420617 Merge "asoc: lpass-cdc-va-macro: revert reset Sampling rate" 2023-10-30 06:45:17 -07:00
qctecmdr
c4a89a1cda Merge "dsp : Update timeout for spf_apm_ready_check" 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
qctecmdr
4fd35922ec Merge "asoc: codec: wsa884x: check for spkr status before enabling PA" 2023-10-30 06:45:16 -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
Erin Yan
5679261df3 asoc: msm-cdc-pinctrl: fix compile error
The modifier - static - request the function to be used within the file.
Remove static modifier to fix the build break.

Change-Id: I46da9dbeb7c3945f8a1bbfa55998e75b5cbdc70b
Signed-off-by: Erin Yan <quic_xinyey@quicinc.com>
2023-10-26 22:43:32 -07:00
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
Faiz Nabi Kuchay
9d97bbe631 dsp: adsp_loader: load proper dtb image
Load proper dtb image when fuse is not supported.

Change-Id: If87fcc715954b1526fa6718a3453357cbb8957e3
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-10-25 19:34:31 +05:30
Deepali Jindal
f47fcf26ee asoc: msm_common: Update in aud_dev_sysfs_store to fix out of bound error
Update change to have proper input validation of pcm_id in
aud_dev_sysfs_store to avoid out of bound issue.

Change-Id: Ia95a8dff8db84d95b4b02a5674f64a85f67e4be0
Signed-off-by: Deepali Jindal <quic_deepjind@quicinc.com>
2023-10-25 18:17:20 +05:30
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
Faiz Nabi Kuchay
82df798b83 asoc: pineapple: fix two times calling of wcd939x_mbhc_hs_detect
Fix two times calling of  wcd939x_mbhc_hs_detect.

Change-Id: Id3d42a4ede8c8ac226e91506d6c69f9dcb2cd401
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-10-17 22:43:34 -07:00