コミットグラフ

554 コミット

作成者 SHA1 メッセージ 日付
Laxminath Kasam
21c8b22849 asoc: bolero: Add codec entry for bolero for rtac support
Add codec entry for bolero codec under proc codecs list.
Update the names of wsa-macro gain offset and mode for
wsa8810 variant to avoid conflict with wcd9335.

Change-Id: Icaa2ef7c2f7253060cd7cccd44130b0b12dc0713
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-21 18:52:24 +05:30
Linux Build Service Account
8fbad90eb9 Merge "asoc: msm-lsm-client: add __user attribute for IOCTL" into audio-drivers.lnx.3.0 2018-06-14 23:47:15 -07:00
Linux Build Service Account
01b512d58e Merge "asoc: Add Makefile.am for audio modules compilation" into audio-drivers.lnx.3.0 2018-06-14 23:47:14 -07:00
Linux Build Service Account
620343727b Merge "asoc: qcs405: Add machine driver changes for new swr master" into audio-drivers.lnx.3.0 2018-06-14 22:44:45 -07:00
Sachin Mohan Gadag
0ebe6b8637 asoc: Add Makefile.am for audio modules compilation
Add Makefile to compile audio modules for LE build
compilation.

Change-Id: I60710bd786d60dd29d1133acffdf098f0de5a6a2
Signed-off-by: Sachin Mohan Gadag <sgadag@codeaurora.org>
2018-06-14 14:53:48 +05:30
Ramprasad Katkam
e38aed40db Asoc: swr: Bus Driver changes to support new master driver
soundwire bus driver changes to support new soundwire
master driver for Talos/vipertooth.

Change-Id: I70e52a72edd80abc72ccb99b29b1a642debec257
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-06-14 00:39:50 +05:30
Ramprasad Katkam
a1f21ebf06 asoc: qcs405: Add machine driver changes for new swr master
Send additional port types information from machine driver
to wsa required for new soundwire driver.

Change-Id: Ia3188cfe6e33dd5b219a12900cb0d04ca03fd02c
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-06-13 02:38:34 -07:00
Xiaoyu Ye
97f76efc86 asoc: msm-lsm-client: add __user attribute for IOCTL
Add __user attribute for msm_lsm_ioctl's input parameter
"*arg" to explicitly identify it as user space pointer.

Change-Id: I33e8a23cdef9eee9a55b77bb017716ccf2ba5f81
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-06-12 15:50:01 -07:00
Mangesh Kunchamwar
0bf1f57c59 asoc: config: configuration update for QCS405 machine driver
Add configuration updates for enabling QCS405 machine driver

Change-Id: I5a426730388aeafcdd6fb2e7c6d4cc7a0af78e1c
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-12 19:20:17 +05:30
Mangesh Kunchamwar
d4a064213f asoc: qcs405: Add support for VAD in QCS405 machine driver
Update QCS405 machine driver to create HW dependent node for AFE
to hold VAD core calibration.

Change-Id: Ied9c11af87df0fb2b419f1e4a9c1e5cc67d84c00
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-12 19:19:49 +05:30
Mangesh Kunchamwar
0c794ae9f4 asoc: Add support for VAD in DAI driver
Update DAI driver to include VAD configuration related mixer
controls for the supported DAIs.

Change-Id: I7c1ff9a30c3afcf9bb66e40283e6909631df9aa6
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-12 19:19:37 +05:30
Mangesh Kunchamwar
4e1e71885e dsp: afe: Add support for VAD in AFE native driver
Update to AFE native driver to send VAD calibration
to DSP. Add support for per service API version query
in q6core driver.

Change-Id: I6234879054e7b5622a40912da16072fd8dbd83fe
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-12 19:18:35 +05:30
Mangesh Kunchamwar
cd74176d75 asoc: qcs405: Add machine driver support for qcs405
Add DAI(Digital Audio Interface) links, internal codec macros &
external codec configuration to support audio functionality on
qcs405

Change-Id: Ibe88f6e670d300bf18a7d07c3575991bcc686389
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-12 19:18:07 +05:30
Mangesh Kunchamwar
d191c5fe13 asoc: Add support for codec dma interface
New codec dma interfaces have been introduced to connect LPASS and
Codec macros. This change is to add codec dma interface dai driver
and corresponding dais.

Change-Id: I307950ff3cbfe80c966bd9de21803655bb46e05c
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-11 14:09:54 +05:30
Mangesh Kunchamwar
a21bef610b asoc: msm: routing: Add support for codec dma interfaces in routing driver
New codec dma interfaces have been introduced to connect LPASS and
Codec macros. This change is to add support routing for codec dma
interface backends and their corresponding front ends.

Change-Id: I8145921559457c50408d35c90b13d018e1c32c8a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-11 14:09:28 +05:30
Mangesh Kunchamwar
8c706aba34 dsp: afe: Add support for codec dma interface
New codec dma interfaces have been introduced to connect LPASS and
Codec macros. This change is to add codec dma interface related
updates to Q6 AFE native driver.

Change-Id: Ia3d1e5e80c694c8c4a7f904151adfcb504964b08
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-10 22:46:57 -07:00
Karthikeyan Mani
e964a75f32 asoc: codecs: cancel all delayed work during SSR/PDR
Cancel any pending delayed work in device down call
to ensure no work is scheduled during or after a
SSR/PDR sequence.

Change-Id: I4cc89cb1a9d8be732c978044d4eea3cf6644ec30
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-06-09 11:26:06 -07:00
Linux Build Service Account
4ea1aaec01 Merge "ASoC: codecs: fix inconsistency of boost state register value" into audio-drivers.lnx.3.0 2018-06-08 21:04:03 -07:00
Linux Build Service Account
21a3728025 Merge "dsp: Add platform driver support for q6core" into audio-drivers.lnx.3.0 2018-06-08 18:42:55 -07:00
Xiaojun Sang
e0c3f3f39d ASoC: codecs: fix inconsistency of boost state register value
Use hardware default value for boost state in regmap.
Use correct mask for initial value of boost state.

Change-Id: Ia8b707ba0128662d47059d25325693bc8eaff723
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-06-08 15:04:09 -07:00
Linux Build Service Account
253f1479c8 Merge changes Ifa9c5454,I3c5ae045 into audio-drivers.lnx.3.0
* changes:
  asoc: Add compile rules for bolero codec and macro drivers
  asoc: bolero: Add support for VA macro driver
2018-06-08 11:59:26 -07:00
Linux Build Service Account
568741884f Merge "asoc: bolero: Add support for WSA macro driver" into audio-drivers.lnx.3.0 2018-06-08 11:59:25 -07:00
Linux Build Service Account
99fcc918d8 Merge "dsp: Fix AFE RTC set parameter" into audio-drivers.lnx.3.0 2018-06-08 03:17:12 -07:00
Linux Build Service Account
8fe64bdfd0 Merge "ipc: apr: add qcom,subsys-name for apr" into audio-drivers.lnx.3.0 2018-06-07 22:17:06 -07:00
Linux Build Service Account
efc78a4e1b Merge "asoc: codecs: Update file names of bolero" into audio-drivers.lnx.3.0 2018-06-07 22:17:05 -07:00
Laxminath Kasam
4cb7b2354d dsp: Add platform driver support for q6core
To add child devices under q6core, update
q6core to support as platform driver.

Change-Id: I5a923d1a16899c03428c8e54701ea1c07653f486
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-08 10:43:42 +05:30
Vignesh Kulothungan
b01240a15a dsp: Fix AFE RTC set parameter
Fix offset address to use set parameter structure while
copying data from user instead of get parameter structure
for AFE_PORT_CMD_SET_PARAM_V3 case.

CRs-Fixed: 2256728
Change-Id: I61e41f366f365734a47080b79179fbe3021ee8a7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-06-07 18:33:49 -07:00
Linux Build Service Account
f194272a82 Merge "ASoC: wcd934x: Reset power_active_ref to 0 when it is negative" into audio-drivers.lnx.3.0 2018-06-07 18:12:41 -07:00
Vignesh Kulothungan
c3f3898770 dsp: add support to send uevent on dc detection
On receiving DC detection notification, send an uevent to notify
the userspace.

CRs-Fixed: 2244131
Change-Id: I42b0bb2287d7f1edf5e7c344302a7ea97408ab13
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-06-07 09:01:29 -07:00
Vignesh Kulothungan
cf6a1215b9 dsp: add support to send uevents
Add a common function handle to send uevents from q6 layer.
Add functions to initialize and cleanup the kernel object required
to send uevents.

CRs-Fixed: 2211324
Change-Id: I9dceb4eb16d6941600455602f78f4f1498171d19
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-06-07 09:01:13 -07:00
Vignesh Kulothungan
9ca8dc327c soc: soundwire: Add support to listen for DC detection
Add support to listen for DC detection event.
Shutdown WSA on receiving DC detection event.

CRs-Fixed: 2244131
Change-Id: Ifecab8bb9862976a647a161bad4c202b6e6459c7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-06-07 09:00:56 -07:00
Vidyakumar Athota
94bd8731ae dsp: add support for DC detection event in afe
Add support to register with ADSP for DC detection event
in speaker protection module.
Add support to notify audio driver clients when DC detection occurs.

CRs-Fixed: 2244131
Change-Id: Ieb467f62207546a785eac2e9b96ca677e0b10565
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-06-07 08:53:00 -07:00
Laxminath Kasam
a0f8408a67 asoc: Add compile rules for bolero codec and macro drivers
Add compile support for bolero codec driver and other
interface files along with macro drivers.

Change-Id: Ifa9c5454eebab1dbebb53d60a7a67458d1e6c8f6
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-07 19:35:24 +05:30
Laxminath Kasam
3d70a35213 asoc: bolero: Add support for VA macro driver
Add support for VA digital portion to register
as macro to bolero codec. ASoC dapm and dai
functionality of VA macro is associated to
bolero codec itself.

Change-Id: I3c5ae045c0e061bd9aa1281231cf2418093d1169
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-07 19:35:12 +05:30
Laxminath Kasam
243e2754eb asoc: bolero: Add support for WSA macro driver
Add support for WSA digital portion to register
as macro to bolero codec. ASoC dapm and dai
functionality of WSA macro is associated
to bolero codec itself.

Change-Id: Ida9647274e6a0aa392e131a9b08f83b2520802e5
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-07 19:35:04 +05:30
Laxminath Kasam
89438f3ee8 asoc: codecs: Update file names of bolero
Update file names of bolero to be compliance
to driver file name convention.

Change-Id: I138d0211803f93152ae7fb01eae68050dada082f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-07 19:33:44 +05:30
Meng Wang
da08f2f315 ASoC: wcd934x: Reset power_active_ref to 0 when it is negative
Reset power_active_ref counter to 0 when it is negative to
take digital core out of reset during next session.

Change-Id: I724ffe6e3547655424238ca02a9bf8ac24b101fe
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-06-06 23:49:40 -07:00
Linux Build Service Account
4cc52a2bed Merge "dsp: add audio event notifier support" into audio-drivers.lnx.3.0 2018-06-06 21:05:04 -07:00
Meng Wang
f71f3504b7 ipc: apr: add qcom,subsys-name for apr
Add qcom,subsys-name for apr driver. Based on the property,
registration of notifier is done for the right co-processor,
from which notification needs to be received.

Change-Id: Id492c8b24d1a4cf0bcab37700a1e9c61c9067041
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-06-07 10:11:44 +08:00
Linux Build Service Account
bfef6ec17f Merge changes I2a570ec9,I563c59eb into audio-drivers.lnx.3.0
* changes:
  asoc: sm8150: Add MultiMedia17 FE with capture support
  dsp: Add support for custom encoder
2018-06-06 15:43:43 -07:00
Linux Build Service Account
deb6842fb9 Merge "asoc: bolero: Add bolero clock changes" into audio-drivers.lnx.3.0 2018-06-06 15:43:41 -07:00
Linux Build Service Account
184c49be26 Merge "asoc: bolero: Add support for bolero codec" into audio-drivers.lnx.3.0 2018-06-06 15:43:40 -07:00
Linux Build Service Account
bfe7780775 Merge "ipc: apr: remove unused dsp-wait waitqueue" into audio-drivers.lnx.3.0 2018-06-06 15:43:39 -07:00
Linux Build Service Account
8af506f8d2 Merge "dsp: msm_audio_ion: store device pointer locally for all cases" into audio-drivers.lnx.3.0 2018-06-05 21:58:28 -07:00
Vikram Panduranga
3f030f19f9 asoc: sm8150: Add MultiMedia17 FE with capture support
Add MultiMedia17 FE to support compress capture usecase.
This can be used to enable recording on compress offload path.

Change-Id: I2a570ec9f4950128aba77a257e98569c714c778c
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-06-05 12:57:49 -07:00
Vikram Panduranga
c712c17ab0 dsp: Add support for custom encoder
Add support to set custom encoder in ASM which
can be enabled through compress capture path.

Change-Id: I563c59eb3a0213c26ce69d3c2f8d650cf3c7d32d
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-06-05 12:57:23 -07:00
Laxminath Kasam
2df2d61851 asoc: bolero: Add bolero clock changes
Add support for bolero clock changes for
all macros.

Change-Id: Ib7b238ffd9595b6fd2236f4a3d2bcfe545b3c5fb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-04 22:01:54 +05:30
Laxminath Kasam
e562a364d1 asoc: bolero: Add support for bolero codec
Add bolero driver to provide interface to all
macros and represent as a single codec to ASoC
framework.

Change-Id: Ie4cd3b9422ff9691dd37b40fc243573d7536860c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-04 22:00:16 +05:30
Meng Wang
a6092aff59 ipc: apr: remove unused dsp-wait waitqueue
waitqueue dsp_wait is not used anymore.
Remove it from apr driver.

Change-Id: Iab16d37cdc8dd495e2289acec3ee5625421465e4
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-06-04 15:32:11 +08:00
Vidyakumar Athota
f1cba4d4b2 dsp: add audio event notifier support
Add support for audio event notifier framework to
send/receive events across audio drivers.

CRs-Fixed: 2244131
Change-Id: I1e36703a91625cd52333596d66dc21a0e8876738
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-06-01 16:09:22 -07:00