Add support for quinary mi2s/auxpcm/tdm for msmnile target.
Change-Id: I0cbfa98129e6181662f7555735173eded12a0bf7
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Fix return value in aqt_codec_info_create_codec_entry function
to return proper value and add target config to include files
Change-Id: I063e199b1bf0e672b5afc20ed7de8447eed35dd4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add ALSA dailinks for supporting various audio/voice
use cases for msmnile target.
Change-Id: If300b2c94e72414a657f30691cdfcb0d0a3b9a13
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Add stub function for msm pinctrl get function
when msm pinctrl configuration is not defined.
Change-Id: I5229dd804025e328471f0fd35cff33a69d47b2dd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
AQT1000 supports different headset detect pull up current source
values in MBHC. Add a callback function to handle new current
source values in MBHC driver.
Change-Id: I060af1aff3fe7c4dfd4aa4c480542efa54c2777c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
AQT1000 codec supports multiple micbias voltage settings. Add an
API to client modules to adjust the micbias voltage based on their
desire voltage requirements.
Change-Id: If89b836ab60b66e9ec1000fe6d07f4b1a8484b01
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Disable source tracking get functionality for sdm855 till
feature is completely enabled
Change-Id: Id644fa46d95bd1091502b1c5ae4cce3bb64d633e
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Add codec entry for AQT1000 codec to support ADIE calibration.
Add new hwdep node AQT1000_CODEC_HWDEP_NODE to store ANC/MBHC
calibration data.
Change-Id: I8b5ff9a2cfe2a0a8ac593b63b20b28697dc975bf
Signed-off-by: Meng Wang <mwang@codeaurora.org>
OUT_DIR folder doesn't point to the right out folder. It would
not delete the right Module.symvers for wcd9360.
Change OUT_DIR to PRODUCT_OUT to delete the right wcd9360 module
symbol.
Change-Id: I6ad376e1cad8416d8eefeefe41e0933813d64997
Signed-off-by: Meng Wang <mwang@codeaurora.org>
AQT1000 codec is a hifi headset that supports audio
playback and recording on headset. It also supports
playback of fractional sampling rates. Audio playback
and recording is transferred through I2S interface.
Add driver for AQT1000 codec
Change-Id: Iba163e9203d67216cdbf87727b06801356a001e3
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Change OUT to PRODUCT_OUT in Android.mk to fit new Android.
Change-Id: Idf64784eb2ab2b350872efbe04305bee2a47dd86
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Add support for querying ION flags for dma_buf and for cache ops
on dma_buf with CACHED Flag on.
Change-Id: I219e564c477af8ba3b8676db1c9555a2b5b9ebab
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Between Linux-4.9 and Linux-4.14, upstream has updated the
ION APIs significantly to make ION ready to bring out of
staging folder. This has changed the way ION and dma_buf
APIs used to work together for allocating, mapping and
deallocating ION buffers.
Update MSM Audio ION wrapper functions used by audio drivers
to reflect these ION API changes as per upstream ION.
Change-Id: I63097e147a397aa3a538f69ac88b6fb10871c3dc
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Add changes to support wcd9360 audio codec driver in
wcd9xxx common files.
Change-Id: I5b9f9d592b6843d7887eb3954d079776ddf15764
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
snd_pcm_ops copy interface used by msm platform drivers is replaced
with copy_user in msm-4.14. Unit of two input variables is changed
from frame count to byte.
Update all the related msm platform drivers to adapt to this change.
Change-Id: Icecd0454c7a80e5ee90407c64aaf1ca76d2d9815
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Add support for wdsp communication over rpmsg to enable
inter process communication between application processor
and codec DSP.
Change-Id: I6679e9d8b104bbd41e19bbf788a41129dc97da88
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Re-factor audio clock driver to register one clock at a time
and remove duplicate lpass clocks.
Change-Id: I63ddf4b65ec7e9cda0dcad4e0167cd8636e89e1a
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
ADM calibration is not sent in audio recording
use case which leads to low volume issue.
Since the LSM port ID is same as audio recording
port ID in case of internal codec, driver tries to
send LSM calibration for non LSM use case in which case
no calibration will be sent.
Instead of using port ID, use the pass_thr mode to
differentiate between LSM and non LSM use cases.
CRs-Fixed: 2167317
Change-Id: I1b6ea51d83330f6439791cf1bb6170306f6895b0
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Audio driver requires that exported header files should
be placed in uapi folder. Change adds the audio header
files to uapi folder.
Change-Id: Ifb47492507a482b1b2f5caa00af4268e08e64803
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Add support for apr communication over rpmsg to enable
inter processor comuunication b/w APPS and ADSP for
audio usecases.
Change-Id: I834ded7f1dd709e1d9e835b852c2edc25e8607e0
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
update softlink for internal.h, core.h and pinctrl-utils.h for sdm855
Change-Id: I3e92e8da1ab1bbfce7fbb92c6997af22777925dc
Signed-off-by: Meng Wang <mwang@codeaurora.org>