Графік комітів

874 Коміти

Автор SHA1 Повідомлення Дата
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
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
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
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
Xiaojun Sang
2a9a3fe071 asoc: add routing for FM playback on sm6150
Add routes to support FM playback over speaker and headphones.

Change-Id: I36b992a38602a460319551ba473cbaac604021c0
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-08-29 16:40:02 +08:00
Aditya Bavanari
5c1f1aada7 asoc: bolero: Add codec version info to support ADIE RTC
In order to differentiate between targets, codec version info
is used. Assign codec version based on number of macros
registered in bolero.

CRs-Fixed: 2281591
Change-Id: I0f4cf0e49645d3acf0c413ea93d9c0261ac98848
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-29 11:41:21 +05:30
Ramprasad Katkam
1f22126590 asoc: swr: master controller fixes for tanggu
Add locking for soundwire fifo operation as same
function call can be used at a time by a different thread
like mbhc, and fix register definitions in header.
Add soundwire slave interrupt clear registers as part of
slave interrupt event in master interrupt handler.

Change-Id: I94d9b7ac09192dbf8aa3248d35956b380430ee0b
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-28 22:52:07 -07:00
Ramprasad Katkam
a72eb7843a asoc: swr: Fix logic to retrieve swr slave device handle
Fix issue in the loop logic of retrieving swr slave device handle
by passing device node.

Change-Id: I5c31259b1257de730748b8522537afa9870f24e4
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-29 11:21:11 +05:30
Ramprasad Katkam
9c2394a6e4 asoc: Talos-tanggu bringup fixes
Bringup fixes to enumerate tanggu codec on talos.

Change-Id: Ic9c43ec0b870f6fec3c6d21fd4d77606c7ed94b1
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-29 11:04:43 +05:30
Ramprasad Katkam
f747677234 asoc: wcd937x: fix compilation issue in mbhc
Fix compilation issue in wcd937x mbhc file.

Change-Id: I49057cdf108268f60795f568cc7efb43d53d01a3
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-29 10:41:08 +05:30
Karthikeyan Mani
0c1f938992 dsp: rate limit read/write error logs
Rate limit dsp read/write error logs to reduce log
prints during SSR scenario for read/write failures.

Change-Id: I031be5ebd39bdd11dc8e1eb92c77ed782f1dc149
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-08-28 14:32:37 -07:00
Linux Build Service Account
4e3fcbf103 Merge "ipc: fix error message to reflect the correct error" 2018-08-28 04:54:00 -07:00
Aditya Bavanari
c5c7d44d96 asoc: routing: update routing to support sound tracking
Add support for TX codec dma interface to support source
tracking and sound focus mixer controls.

Change-Id: I11dc36a2f86164c7dc3a24357e68a04a8099cb4a
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-27 11:02:28 -07:00
Aditya Bavanari
e9454c6269 asoc: Add LSM routing changes for TX_CDC_DMA_TX_3
Add LSM mixer and function related routing changes
for TX_CDC_DMA_TX_3 interface to support SVA.

CRs-Fixed: 2281591
Change-Id: I9ff7e9d51069ec0467c464ddb5c640e533e81d90
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-27 18:28:49 +05:30
Laxminath Kasam
6fc2e746e7 asoc: bolero: Add wsa macro sidetone and loopback routes
Add support for wsa macro sidetone and adie loopback
widgets and route connections.

Change-Id: I5d830bc868e6fa0f0a56474f11867e6dd55ae535
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-08-27 15:06:18 +05:30
Linux Build Service Account
3712485b8f Merge "ASoC: wcd937x-mbhc: Add support for headset moisture detection" 2018-08-25 04:00:44 -07:00
Linux Build Service Account
9970fc4999 Merge "ASoC: wcd934x-dsp-cntl: add debugfs node to perform debug dumps" 2018-08-25 04:00:44 -07:00