Commit graph

2,212 commits

Author SHA1 Message Date
qctecmdr
1f4c07b7a0 Merge "ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6" 2019-08-25 03:22:19 -07:00
qctecmdr
e275ee034a Merge "ASoC: wcd938x: add support to retrieve codec variant" 2019-08-25 03:20:21 -07:00
qctecmdr
474e2a0b08 Merge "asoc: codecs: wcd934x: Add NULL checks for mbhc" 2019-08-25 03:19:13 -07:00
qctecmdr
61d0187e35 Merge "asoc: msm: Add machine qtiquingvm" 2019-08-25 03:17:05 -07:00
qctecmdr
efdfdf2782 Merge "ASoC: bolero: check for port validation before configuration" 2019-08-25 03:14:53 -07:00
qctecmdr
a8878c531d Merge "audio-kernel: Update Kbuild support for bengal" 2019-08-25 03:13:29 -07:00
Ralf Herz
43c0abd0c0 dsp: Add support for META MI2S ports
QCS405 can group data lines of several MI2S interfaces.
This feature is used with new META MI2S ports.

Change-Id: I0d8c2de742e04d7348e40e1026b1640c3f987479
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-23 20:12:48 +02:00
qctecmdr
0abec34f70 Merge "ASoC: Kona: Disable wakeup capability for DMIC45 clock gpio" 2019-08-23 00:24:53 -07:00
qctecmdr
928fd5f421 Merge "ASoC: msm-cdc-pinctrl: Add support to control wakeup capable gpios" 2019-08-23 00:19:25 -07:00
Karthikeyan Mani
1dcd5a3ab4 asoc: codec: bolero: add adc mode control
Add enum mixer control to support changing
adc mode bits for different power modes in
recording use case.

Change-Id: I9a0287b7b32285d39e65f98b5518dedd3a24af94
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-08-22 15:09:56 -07:00
Karthikeyan Mani
75ea1b8ade asoc: codecs: bolero: load hph filter coefficients
On hph playback usecase with compander enabled, load
hph filter coefficients to better center gain errors.

Change-Id: I3ce50d6e7b9a10255df8084adb0566d8bf9b47c7
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-08-22 15:09:49 -07:00
Aditya Bavanari
18129b1c6d asoc: Update the senary MI2S interface port id index
Update the senary MI2S interface port id index to 5 as
it uses this device ID.

Change-Id: I7fc3040b35e1f3250b519b8c74fbbece5a2866bc
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-08-21 05:22:34 -07:00
Vignesh Kulothungan
757b754489 ASoC: routing: update echo reference index for dp
Add display port 1 to the end of echo reference rx array. This avoids
shifting the existing ports and their index mapping.
Add a new switch case to return the echo reference port id for
display port 1.

CRs-Fixed: 2511612
Change-Id: I2ba9cf5e9c9fc687d429a04f40a32231c0913f5e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-08-20 10:12:15 -07:00
Surendar Karka
b06682d3e5 dsp: increase maximum active streams count
DSP supports maximum fifteen active streams.
Increase active stream count to fifteen.

Change-Id: I1312ece8cc8bf8040b728718edfb9b5c7ad48b33
2019-08-20 00:14:44 -07:00
qctecmdr
ab0a45b0db Merge "soc: swr: avoid SSR state when switching between 44.1 and 48k family" 2019-08-20 00:02:12 -07:00
qctecmdr
611b033dd9 Merge "audiodlkm: support target SA8195 from audio side" 2019-08-20 00:00:05 -07:00
qctecmdr
4a362cedcb Merge "asoc: add support for custom channel map" 2019-08-19 23:58:20 -07:00
qctecmdr
06c59655b0 Merge "soc: swr-mstr: Fix headset detection after pdr" 2019-08-19 23:54:49 -07:00
qctecmdr
25d3fc415b Merge "dsp: update DOA param id values" 2019-08-19 23:52:57 -07:00
Sudheer Papothi
c0f75b7727 ASoC: bolero: check for port validation before configuration
Check for valid port before mux configuration.

Change-Id: Iaa32925f0c23305a2a3cedd0e476372aac380e0c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-08-19 22:52:56 +05:30
Derek Chen
fa73f15146 ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6
To support up to 6 audio paths activated with different
devices, increase RTAC_MAX_ACTIVE_DEVICES from 4 to 6.

Change-Id: I16c1247b2b2bafdc646d412a75192494bf0e2b95
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-08-19 20:10:35 +08:00
Laxminath Kasam
5d8f357649 asoc: codecs: wcd937x: Update amic4 over adc3 recording
Update AMIC4 over adc3 for wcd9375 as per HW sequences.

Change-Id: Ie7c3713bee67d32cb7fba042848f52bcded8f4b0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-08-19 14:08:57 +05:30
Aditya Bavanari
d5ab1f48b2 asoc: codecs: wcd934x: Add NULL checks for mbhc
Add NULL checks for mbhc in tavil driver to avoid
NULL pointer dereferences when MBHC is not supported.

Change-Id: I43bfd062af6048486256f744bd028b27fedc7f53
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-08-16 02:39:43 -07:00
Karthikeyan Mani
5d52dd8613 soc: swr-mstr: Reduce swr register write sleep timings
Reduce swr bulk write and swr command fifo write sleeps
to reach coldstart latency numbers.

Change-Id: I52f2868a488e167b0a0f617b6af3e79cbf6f7eea
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-08-15 17:11:34 -07:00
Vignesh Kulothungan
406c2bf91d ASoC: Kona: limit sample rate and format support based on codec
Add support to limit sample rate and format support based on
codec variant. Register mixer controls based on the codec
limitation.

Change-Id: I8055d2862798e183669e99b472ffc03b6cedd8ca
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-08-15 10:14:07 -07:00
Vignesh Kulothungan
c001b153fc ASoC: wcd938x: add support to retrieve codec variant
Machine driver requires a mechanism to know the codec variant
to limit supported configurations respective to that codec.
Add a function to return the wcd938x codec variant.

CRs-Fixed: 2488322
Change-Id: I16631cccb3abd32c933389e110e5b5a6b762a0e2
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-08-15 10:05:14 -07:00
Sudheer Papothi
88c75963a4 ASoC: wcd938x: Update mibias configuration on WCD938x
Apply micbias configuration from device tree for WCD938x for
Kona target.

Change-Id: I45a47eb54f9fffb88259ba7e69633e3d3ebcb6a4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-08-15 15:07:42 +05:30
Han Lu
a1670ee8bd asoc: msm: Add machine qtiquingvm
Add qtiquingvm as sa8155 LV GVM machine type.

Change-Id: Ica72a568a317763da5114d7ce1b92b776c7d6588
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2019-08-15 00:44:37 -07:00
Guodong Hu
12d0268952 audiodlkm: support target SA8195 from audio side
Make SA8195 utilize the same build option as SA8155.

Change-Id: Id1e0f889b907d234c31c31f8730617ea2038b7a7
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-08-15 00:43:38 -07:00
qctecmdr
1fc4ce6795 Merge "asoc: codecs: Fix LPI TLMM GPIO invalid access issue" 2019-08-14 08:27:00 -07:00
qctecmdr
a1500ee450 Merge "audiodlkm: make sa8155 and sa6155 utilize the same obj-option" 2019-08-14 08:22:18 -07:00
Chaithanya Krishna Bacharaju
a442b0e3a2 dsp: update DOA param id values
Direction of Arrival  param ids are modified in ADSP Fluence Version9
as currently used params overlap with CVD range values.
Update DOA param id values to avoid mismatch.

Change-Id: I70c779c5a7fc3da3ccdf3ddcd988a20a4908ca81
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-08-12 21:30:24 -07:00
Ramprasad Katkam
2e85a54634 soc: swr: avoid SSR state when switching between 44.1 and 48k family
Avoid SSR state, and do only clock-stop-resume to reset master  when
switching between 44.1 and 48k to avoid redundant re-enumeration.

Change-Id: Iaa955c4ceb75f30c68106468676ddb2551537de4
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2019-08-12 01:31:48 -07:00
Vatsal Bucha
63b193fcd0 soc: swr-mstr: Fix headset detection after pdr
Sometimes, headset is not detected after pdr during music playback.
This is because enable_irq does not get called as master remains
in suspend state. Decrease auto suspend timer to 1 to fix the issue.

Change-Id: I8cea3e74487977af801dccac7e4f873831c26264
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-08-12 13:22:45 +05:30
qctecmdr
5803bf11fe Merge "ASoC: wcd938x: Fix micbias droop on WCD938x codec" 2019-08-11 03:24:33 -07:00
qctecmdr
732d9e0c13 Merge "ASoC: Add place markers to machine driver" 2019-08-11 03:24:05 -07:00
qctecmdr
0cd68d99c2 Merge "ASoC: wcd-mbhc: Fix high impedance lineout detected as headphone issue" 2019-08-11 03:22:46 -07:00
qctecmdr
601c683652 Merge "ASoC: Add delay before impedance detection for wcd937x and wcd938x" 2019-08-11 03:21:46 -07:00
qctecmdr
b4da9df7a9 Merge "ASoC: msm: add multimedia22 frontend in dai link" 2019-08-11 03:20:50 -07:00
qctecmdr
d22f82195c Merge "asoc: msm: add support for compress-voip in routing driver" 2019-08-11 03:19:49 -07:00
qctecmdr
e1bc433261 Merge "ASoC: add multimedia22 frontend and routing" 2019-08-11 03:19:29 -07:00
qctecmdr
7f8cef00df Merge "asoc: Add xt logging disable mixer control" 2019-08-11 03:17:03 -07:00
qctecmdr
0dc1d1134f Merge "ASoC: Preliminary Android target definition for sdmshrike" 2019-08-11 03:16:10 -07:00
qctecmdr
5467317e15 Merge "dsp: q6afe: add tws mono switch for aptx adaptive encoder" 2019-08-11 03:14:55 -07:00
qctecmdr
2a6d4e5424 Merge "asoc: Add support for MultiMedia2 TX" 2019-08-11 03:13:27 -07:00
Aditya Bavanari
50ef13eca6 asoc: codecs: Fix LPI TLMM GPIO invalid access issue
Runtime suspend gets called multiple times during SSR
scenarios leading to clock count mismatch. Add logic
to prevent this in all macros and pinctrl lpi driver.

Change-Id: I380631c1db8cd7d94a8909affd8c96c87f24817c
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-08-09 15:14:43 +05:30
Guodong Hu
1fc900df43 audiodlkm: modify makefile to generate header files
Modify the makefile to generate header files in the work-shared dir,
which are needed by acdbrtac.bb.

Change-Id: I69a94f0e5913855add4fc9ff79aa1849218e5b8e
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-08-08 01:49:25 -07:00
Guodong Hu
a5b505aa6d audiodlkm: make sa8155 and sa6155 utilize the same obj-option
Make the sa8155 sa8155ivi and sa6155 utilize
the same obj-option. But distinguish the kbuild-option.

Change-Id: I7ff7c7d30670cb4abb42d46f3632136539a9b82e
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-08-08 01:47:50 -07:00
Sudheer Papothi
06a4c648f0 ASoC: Add support for event listener from the codec
During low power island mode, register to event listener
to process soundwire inband interrupts from the soundwire
master driver.

Change-Id: Ib15f5ec59ea19010dbb8f9744de76bfc2ca7eebb
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-08-08 05:22:11 +05:30
Sudheer Papothi
72ee264c0c SoC: soundwire: Add support to register for event listener
Add support to register/deregister for event listener to listen to
headset interrupt events during low power island mode.

Change-Id: I9d05261003ef9e4783e03b3acb529c864c07cbec
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-08-08 05:22:06 +05:30