Graf commitů

2285 Commity

Autor SHA1 Zpráva Datum
Laxminath Kasam
f1623021b1 asoc: bolero: Update version query for bolero 2.1
Expose API from bolero driver to retrieve version
info by macro drivers. Update bolero driver to
get version from dtsi.

Change-Id: Idc3735721de90ee4f74319537b17a530d3c125a6
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-22 15:20:01 +05:30
qctecmdr
1543085859 Merge "asoc: codecs: Vote for codec core and NPL clocks before regcache_sync" 2019-10-18 08:29:51 -07:00
qctecmdr
b41cd7716e Merge "ASoc: Fix for dtmf tone play issue" 2019-10-18 08:25:54 -07:00
qctecmdr
fd0384557a Merge "soc: pinctrl-lpi: Add support for audio HM voting for bengal" 2019-10-18 08:23:05 -07:00
qctecmdr
fd60ba91e4 Merge "bengal: enable compile of required modules" 2019-10-18 08:20:09 -07:00
qctecmdr
360a45bad1 Merge "ASoC: wsa883x: Add support for wsa883x speaker amplifer" 2019-10-16 23:52:29 -07:00
qctecmdr
15e89245c3 Merge "dsp: afe: call get params with afe cmd lock held" 2019-10-16 23:46:59 -07:00
qctecmdr
bda988eed1 Merge "asoc: msm-pcm: Add mutex lock to protect prvt data" 2019-10-16 23:42:54 -07:00
qctecmdr
da0caa48e2 Merge "asoc: dsp: move ctl "SLIM_7_RX APTX_AD Enc Cfg" to the bottom" 2019-10-16 23:35:30 -07:00
qctecmdr
26247b9b1c Merge "asoc: wcd937x: Fix compile error in wcd937x codec driver" 2019-10-16 23:32:44 -07:00
qctecmdr
731807e0a2 Merge "asoc: codecs: restore wsa analog driver files" 2019-10-15 01:13:13 -07:00
qctecmdr
73d4531d52 Merge "asoc: codecs: wcd938x: Add support for setting ear gain ctl" 2019-10-15 01:12:28 -07:00
qctecmdr
bf7e1c0567 Merge "asoc: bengal: Add new machine driver for bengal target" 2019-10-15 00:51:27 -07:00
qctecmdr
f4ad6ff187 Merge "asoc: codecs: bolero: audio HM voting only supported on bengal" 2019-10-15 00:47:21 -07:00
qctecmdr
18fe524741 Merge "soc: soundwire: Update hctl gate setting for SWR version 1.6" 2019-10-15 00:42:55 -07:00
qctecmdr
565f0218db Merge "asoc: codecs: Make compander write coefficients as volatile" 2019-10-15 00:36:09 -07:00
qctecmdr
e5a9a64b36 Merge "asoc: add routing for RX_CDC_DMA_RX_1 to connect for hostless FE" 2019-10-15 00:26:14 -07:00
qctecmdr
0f6392dc14 Merge "asoc: codecs: Check for core votes count before accessing registers" 2019-10-15 00:22:20 -07:00
qctecmdr
e59a8a66f5 Merge "dsp: lsm: don't print physical address of invalid lsm client pointer" 2019-10-15 00:18:43 -07:00
qctecmdr
6a164b940d Merge "asoc: codecs: bolero: ignore children for pm suspend" 2019-10-15 00:15:16 -07:00
Prasad Kumpatla
2ef0c88aec asoc: msm-pcm: Add mutex lock to protect prvt data
Add mutex lock to protect private data in _put() and
_get() calls

Change-Id: I92f5a6515b6d1c4ad650a7dcf22a0a231a84dd30
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-10-14 12:38:58 -07:00
Laxminath Kasam
00f60bae1e bengal: enable compile of required modules
Update compile of required modules for bengal target.

Change-Id: If4d512b7270cc811a05524caac5292234a0ac437
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-12 23:40:48 +05:30
Laxminath Kasam
57e66c0251 asoc: wcd937x: Fix compile error in wcd937x codec driver
Update codec to component param for 4.19 kernel compatible.

Change-Id: Ia08283de4b01b45a6cd96c7f488f55bb0d4a5a53
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-12 23:31:17 +05:30
qctecmdr
f138524159 Merge "asoc: codecs: bolero: Add support to disable aux hpf" 2019-10-12 09:01:00 -07:00
qctecmdr
75b962681c Merge "asoc: codecs: bolero: Do not return error for unused gpio" 2019-10-12 08:58:56 -07:00
qctecmdr
d9328bec09 Merge "asoc: codecs: wcd938x: Fix HPHL mute when ear path teardown" 2019-10-12 08:57:06 -07:00
qctecmdr
d20a882baf Merge "dsp: Reset core hw vote client handle in SSR" 2019-10-12 08:55:27 -07:00
qctecmdr
21b6b95462 Merge "asoc: kona: vote audio dcodec for mi2s fractional sample rate" 2019-10-12 08:53:33 -07:00
qctecmdr
18b8880076 Merge "asoc: codecs: wcd937x: restore clear_ack setting for wcd937x" 2019-10-12 08:51:14 -07:00
qctecmdr
55603d0cb0 Merge "asoc: codecs: Add HPH and EAR concurrency state in class-h driver" 2019-10-12 08:49:13 -07:00
Aditya Bavanari
cfc65e8257 asoc: codecs: Vote for codec core and NPL clocks before regcache_sync
Vote for codec core and NPL clocks before regcache_sync
to avoid unclocked access of bolero registers.
Unvote once the regcache sync is done.

Change-Id: Iae45f487113c55318f33cd1950e2d6b64bcd945a
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-10-11 20:11:10 +05:30
Aditya Bavanari
f8be8bdcf1 asoc: codecs: Make compander write coefficients as volatile
Make HPHL and HPHR compander write coefficients as volatile
registers in order to avoid cache operations on these registers
to fix audio glitch issues in headset playback.

Change-Id: If5a2019debdda3c50cc5cf1135dff2ad0e5a49a2
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-10-11 11:24:52 +05:30
Sudheer Papothi
af0a66b78a ASoC: wsa883x: Add support for wsa883x speaker amplifer
WSA883x is a speaker amplifier with soundwire interface and
enumerates as soundwire slave. WSA883x supports audio playback
on speakers and has temperature sensors for better speaker
protection and enhanced boost control support. Add software
driver support to enable WSA883x speaker amplifier.

Change-Id: Ib9cf2eebdda5ce331154bc786f059c5757f34fa2
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-10-11 02:00:27 +05:30
Aditya Bavanari
d577af909c asoc: codecs: Check for core votes count before accessing registers
Check for core votes count before accessing swrm registers
to avoid NOC errors.

Change-Id: I5689d6a6db0886ed4cc791738a28290f3d953412
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-10-10 20:29:49 +05:30
Xiaoyu Ye
56c0d0927d dsp: lsm: don't print physical address of invalid lsm client pointer
Function q6lsm_get_session_id_from_lsm_client will print out the
physical address of a lsm client pointer in error message when it
fails to find the matching lsm client. This is not needed because
the address information is redundant and might cause potential
issue when a lsm client is already invalid.

Change-Id: If8c38b566c839c4b45d98e79802d0fd6efb5bdb9
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-10-09 21:57:42 -07:00
Laxminath Kasam
c7bfab9706 soc: soundwire: Update hctl gate setting for SWR version 1.6
In soundwire version 1.6, hw_ctl gating is required to address
HW limitation as SW workaround to get SWR functionality working.

Change-Id: Ia0939b1271f5400319217433de658a55a05ca404
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-09 22:38:45 +05:30
Laxminath Kasam
9e78ef8743 asoc: codecs: restore wsa analog driver files
Add support back for wsa analog codec driver files.

Change-Id: I7ef6ad050b068ec8c0f0275089d670c92234686d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-09 14:57:18 +05:30
Laxminath Kasam
ae52c99252 asoc: bengal: Add new machine driver for bengal target
Add support for new machine driver for bengal target.

Change-Id: Iffb189136e0ec0ae42d375d112227d4237e4b502
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-09 14:27:00 +05:30
Jhansi Konathala
29a4c3c9d0 ASoc: Fix for dtmf tone play issue
Fix the data corruption happening because of
misaligned datatypes so that DTMF can be played
for more than 32767 seconds.

Change-Id: I199d6d10e9f184665d8f03a2265d0bcd8ae16590
Signed-off-by: Jhansi Konathala <cjkonat@codeaurora.org>
2019-10-09 12:10:44 +05:30
Zhou Song
768fe50c7e asoc: dsp: move ctl "SLIM_7_RX APTX_AD Enc Cfg" to the bottom
Move this control definition to the bottom of the array, this
is to avoid changing the index of existing controls.

Change-Id: Id42dd908370b671cc7293f6c0af4adf3c025e1cc
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2019-10-07 22:27:40 -07:00
Karthikeyan Mani
1a9d750c9b asoc: kona: vote audio dcodec for mi2s fractional sample rate
To enable clock for mi2s running over fractional
sample rate, vote for audio dcodec lpass clock.

Change-Id: Ib8cff3ee0c61f23a4d8d163debea78dfb3a367a9
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-10-07 15:04:33 -07:00
Karthikeyan Mani
daf7d7af99 dsp: afe: call get params with afe cmd lock held
If get params is called without afe cmd lock, it
leads to race conditions with other callers calling
afe_apr_send_pkt and the status values read back
are getting overwritten wrongly by the callers that
call without lock.

Change-Id: I5af4d7bbbe01357dd9b6ae8efbe1831401003508
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-10-06 23:06:40 -07:00
Karthikeyan Mani
3d209514a9 asoc: codecs: bolero: ignore children for pm suspend
Allow bolero macro's child  devices to pm enable
irrespective of state of their parents.

Change-Id: Ie615ea2db097760de75682b5881f71a37a735fa2
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-10-06 23:06:32 -07:00
qctecmdr
ae5dca4830 Merge "asoc: codecs: wcd938x: limit buffer copy to max buffer size" 2019-10-06 11:49:21 -07:00
Laxminath Kasam
4ccd4b4e74 soc: pinctrl-lpi: Add support for audio HM voting for bengal
On bengal target, audio core voting is not applicable.
Add support for audio HM voting in pinctrl-lpi driver.

Change-Id: I8661c981896c14899ca4d85f77507b417700b987
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-04 16:14:52 +05:30
Aditya Bavanari
81a54a220e dsp: Reset core hw vote client handle in SSR
Reset core hw vote client handle in SSR use cases
and do not unvote when the client handle is 0.
This is to clean up the client ids in SSR in
order to avoid unusual client deregistrations.

Change-Id: Id0cee50f7ca27e29db6134b7a70ae75334e0d765
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-10-04 01:08:58 -07:00
Vatsal Bucha
135b9f0b0c asoc: codecs: wcd938x: Add support for setting ear gain ctl
Add support for setting EAR PA gain directly using
mixer control.

Change-Id: I3667d8f26dc648e44d12c42be0940210763e08d5
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-10-03 22:00:16 -07:00
qctecmdr
9781513741 Merge "asoc: Add support for Hifi resampler check with bitwidth and sample_rate" 2019-10-03 20:07:55 -07:00
qctecmdr
4b5cc9dcbe Merge "soc: pinctrl-lpi: Enable gpio for swr tx data3 for lito v2" 2019-10-03 20:07:55 -07:00
qctecmdr
46c1ee44b8 Merge "dsp: adsp-loader: Support dynamic size for array priv->adsp_fw_name." 2019-10-03 20:07:55 -07:00