Commit graph

887 commits

Author SHA1 Message Date
Linux Build Service Account
024c3ca40e Merge "asoc: bolero: fix pop issue at start of record" 2018-09-04 12:48:36 -07:00
Linux Build Service Account
c9d7f26700 Merge "ASoC: wcd937x: Add fix to enable button detection" 2018-09-04 09:41:55 -07:00
Linux Build Service Account
a69dbed411 Merge "asoc: wcd937x: fix wcd9375 widgets override issue" 2018-09-04 06:17:53 -07:00
Gerrit - the friendly Code Review server
254a9b9d27 Merge changes into audio-drivers.lnx.3.0 2018-09-04 03:42:50 -07:00
Linux Build Service Account
56f65ecca2 Merge "asoc: mbhc: fix for fake ins irq" 2018-09-04 03:35:19 -07:00
Vatsal Bucha
302075bb10 ASoC: wcd937x: Add fix to enable button detection
Add notifier call chain to enable button detection.

Change-Id: Ibd432691e4b820b8b2e86ebc8e8c2015bb26d2b1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-09-04 14:59:19 +05:30
Linux Build Service Account
c523b34cc0 Merge "soc: swr-mstr: Add wakeup irq support from afe using event notifier" 2018-09-03 23:29:30 -07:00
Linux Build Service Account
de663528f9 Merge "soc: swr-mstr: Add support to listen for DC detection" 2018-09-03 23:29:29 -07:00
Linux Build Service Account
15792dadb8 Merge "dsp: afe: add support for swr wakeup irq events" 2018-09-03 23:29:29 -07:00
Linux Build Service Account
1d3c2ad249 Merge "dsp: add blocking call support in event notifier" 2018-09-03 16:11:52 -07:00
Linux Build Service Account
8e9f1b03cb Merge "soc: swr-mstr: fix noise issue with mono speaker" 2018-09-03 12:15:15 -07:00
Linux Build Service Account
c21a9d0318 Merge "soc: swr-mstr-ctrl: porting fix from wcd controller to mstr controller" 2018-09-03 11:06:48 -07:00
Laxminath Kasam
f0128ef169 soc: swr-mstr: Add wakeup irq support from afe using event notifier
Register and handle swr wakeup irq from afe, using aud event
notifier codec interrupts during clock stop mode.

Change-Id: I76d250adcaa8af4a413f6274482beb5a3469601d
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:18:47 -07:00
Ramprasad Katkam
68765abe11 soc: swr-mstr: Add support to listen for DC detection
Add support to listen for DC detection event.
Shutdown WSA on receiving DC detection event.
Porting the changes from old master driver to new driver.

Change-Id: I4d323bb8074d447b2969dd01c7129e57160b6c04
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:18:36 -07:00
Ramprasad Katkam
250075f808 dsp: afe: add support for swr wakeup irq events
Add support for soundwire wakeup irq registration and event
notification from afe.

Change-Id: I97abe0a8bb571b997a52f90e0a0f57a26c714251
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:18:26 -07:00
Ramprasad Katkam
b5528d39f2 dsp: add blocking call support in event notifier
Add support for blocking call events in event notifier
to support functions which require waiting for events.

Change-Id: I255c19bc956506ea5076bb5fb1f09327141611a6
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 10:06:31 -07:00
Linux Build Service Account
37e3245375 Merge "ASoC: bolero: Change params for vi feedback" 2018-09-03 07:25:00 -07:00
Ramprasad Katkam
201911d93e asoc: wcd937x: fix wcd9375 widgets override issue
wcd9375 widgets addition override wcd9370 widgets
registered already in dapm. Need to call
snd_soc_dapm_sync only after adding new widgets/routes.

Change-Id: I285d2f971ca2daae865156e050904fdcc9ea8c3c
signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 18:37:52 +05:30
Laxminath Kasam
9eb80226a0 asoc: bolero: fix pop issue at start of record
Observe pop at start of recording. Change the
order of HPF setting in decimator enable path
and update freq_change bit for HPF corner frequency change.

Change-Id: I6257671224a792a2afd71209fdc4e0102a83ced8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-03 16:41:43 +05:30
Ramprasad Katkam
c8d52a1f56 soc: swr-mstr: fix noise issue with mono speaker
Fix noise issue with mono speaker by properly disabling
the previous port config.

Change-Id: I55fde87fcea5c8a7f05ff82a0d8967bc7688882b
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-03 15:08:38 +05:30
Laxminath Kasam
4721b16381 soc: swr-mstr-ctrl: porting fix from wcd controller to mstr controller
When temperature on a single wsa881x device is being read,
then soundwire master wakes up both wsa881x devices but
regcache_sync is happening only for one wsa881x device on
which the temperature is being read. This results in
audio playback mute after temperature read. Fix the
regcache sync during temperature read and playback usecase.

Change-Id: Icee46d5105bb449f14855d33bdcb00cf5c77cb91
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-03 14:13:00 +05:30
Linux Build Service Account
d76f8f3a4f Merge "asoc: swr-mstr: add rx and tx master frame configuration" 2018-09-03 00:54:49 -07:00
Linux Build Service Account
0832e80718 Merge "asoc: sm6150: Add hostless DAIs to support fm/hfp usecases" 2018-09-03 00:54:45 -07:00
Linux Build Service Account
66fc905ff5 Merge "asoc: routing: Fix routing entries of Multimedia20 mixer" 2018-09-03 00:54:38 -07:00
Linux Build Service Account
e295162711 Merge "asoc: add routing for FM playback on sm6150" 2018-09-03 00:54:36 -07:00
Gerrit - the friendly Code Review server
d4fda3db58 Merge changes into audio-drivers.lnx.3.0 2018-09-02 23:48:59 -07:00
Linux Build Service Account
889bf17c53 Merge "ASoC: sm6150: Add vi_feed_tx channels to common controls" 2018-09-02 23:47:20 -07:00
Linux Build Service Account
64576e7a33 Merge "ASoC: Update params for CDC_DMA to fix speaker protection" 2018-09-02 23:47:20 -07:00
Linux Build Service Account
b764c33cef Merge "asoc: Add codec entry node for wcd937x to support ADIE RTAC" 2018-09-02 23:12:17 -07:00
Linux Build Service Account
4427c8b0a8 Merge "dsp: rate limit read/write error logs" 2018-09-02 23:12:16 -07:00
Linux Build Service Account
584f8171af Merge "ASoC: sm6150: Add logic to parse micbias from dt" 2018-09-02 23:12:15 -07:00
Linux Build Service Account
752c2f87d6 Merge "dsp: Add macro for packed 16B format" 2018-08-31 12:34:13 -07:00
Linux Build Service Account
6d180092fd Merge "asoc: wcd937x: enable headset detection" 2018-08-31 04:21:28 -07:00
Aditya Bavanari
4ae32fc38e asoc: Add codec entry node for wcd937x to support ADIE RTAC
Add changes to create codec entry node for wcd937x to support
ADIE RTC calibration.

CRs-Fixed: 2281591
Change-Id: I87f3c94995a8ec0c8c5e056891cb293946683885
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-31 04:12:56 -07:00
Vatsal Bucha
89262e64f9 ASoC: sm6150: Add vi_feed_tx channels to common controls
VI_Feed_TX Channels is common for both internal and
external codec. Add it in common controls.

Change-Id: I9354adebc3238a4d332e244d9dedccf02ddd9604
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 12:48:05 +05:30
Vatsal Bucha
680384aad1 ASoC: Update params for CDC_DMA to fix speaker protection
Update channels_max and dai_format for cdc dma hostless,
cdc dma playback and capture to fix speaker protection.
Also, use correct struct i.e. msm_dai_q6_cdc_dma_dai_data
in get/put functions.

Change-Id: I8f37a0c9411054830fdec2b4c072315c882ffc7c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 12:44:18 +05:30
Vatsal Bucha
e003f502de dsp: Add macro for packed 16B format
CDC DMA TX uses PACKED_16B format if speaker prot
is enabled. Add macro AFE_LINEAR_PCM_DATA_PACKED_16BIT
for proper value of format.

Change-Id: I1070e00d26a18c77e26ff2518ef4a1256a674e20
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 12:38:57 +05:30
Vatsal Bucha
d1b694d0bb ASoC: bolero: Change params for vi feedback
Change max no of channels supported, format and rates
for wsa macro vi feedback.

CRs-Fixed: 2281591
Change-Id: Ie54ce4f63a02d661939ed732b388a3c26dd8ea2f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-31 11:49:38 +05:30
Linux Build Service Account
fe11def3f2 Merge "asoc: wcd937x: fix compilation issue in mbhc" 2018-08-30 21:01:03 -07:00
Linux Build Service Account
adf08dfb4f Merge "asoc: bolero: Add wsa macro sidetone and loopback routes" 2018-08-30 20:27:49 -07:00
Linux Build Service Account
15f0661a6b Merge "asoc: swr: master controller fixes for tanggu" 2018-08-30 20:10:10 -07:00
Linux Build Service Account
4a4336c1f3 Merge "asoc: Talos-tanggu bringup fixes" 2018-08-30 20:10:10 -07:00
Linux Build Service Account
55d2545daa Merge "asoc: bolero: Add codec version info to support ADIE RTC" 2018-08-30 14:14:49 -07:00
Linux Build Service Account
8bc6a255aa Merge "asoc: routing: update routing to support sound tracking" 2018-08-30 13:05:52 -07:00
Ramprasad Katkam
14f47cc8a6 asoc: swr-mstr: add rx and tx master frame configuration
Add Rx and TX master frame configuration.

Change-Id: I067931565270e7390d9c5311e0869dfdb6685999
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-30 07:48:49 -07:00
Ramprasad Katkam
997da40118 asoc: wcd937x: enable headset detection
Enable mbhc on wcd937x for headset insertion and
removal detection.

Change-Id: I0b2ae7ea061a99ad89f9adea00c898dac4442ca6
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-30 20:13:47 +05:30
Vatsal Bucha
477f211b8a ASoC: sm6150: Add logic to parse micbias from dt
Add logic to parse micbias info if it is
specified in dt.

CRs-Fixed: 2281591
Change-Id: I943cedcadeceaa4a7da3422cf427d5679fe703b6
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-30 14:57:51 +05:30
Karthikeyan Mani
dd50371847 asoc: mbhc: fix for fake ins irq
Check for in2p clamp state in insertion irq
and ignore the interrupt if the clamp is already
set, which means the mechanical removal is about
to happen next.

Change-Id: I55691d427cf07d5b61862b6dbd39f3ec34d873e5
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-08-30 01:05:53 -07:00
Linux Build Service Account
aa9c44a396 Merge "ASoC: wsa881x: Update temperature value during device down" 2018-08-29 23:28:46 -07:00
Aditya Bavanari
8ef5a483e8 asoc: routing: Fix routing entries of Multimedia20 mixer
Add routing entries for Multimedia20 Tx mixer in
order to fix boot up warnings in routing driver.

CRs-Fixed: 2281591
Change-Id: I9ac35dab53811bd6ede64d69d221cdc6fbd622f4
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-29 16:18:58 +05:30