soundwire bus driver changes to support new soundwire
master driver for Talos/vipertooth.
Change-Id: I70e52a72edd80abc72ccb99b29b1a642debec257
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
This change is to add support routing for codec dma
interface backends and LSM front ends.
Change-Id: Ia0d6a5a5969ca1a18ceed2b55b634146ecc3f956
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Update file names of bolero to be compliance
to driver file name convention.
Change-Id: I138d0211803f93152ae7fb01eae68050dada082f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
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>
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>
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>
Add support for bolero clock changes for
all macros.
Change-Id: Ib7b238ffd9595b6fd2236f4a3d2bcfe545b3c5fb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
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>
Use workqueue in machine driver to handle sending AFE
configuration to DSP during SSR/PDR UP notification,
so that the response to the notification is not delayed
because of AVS not up or sound card not up.
Change-Id: If537d214cfbbe7f85b66425cbd6a762f383c05ab
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
wcd9360 also has to be compiled if kernel build option is
true for the case where modules are in y option.
Change-Id: Ie3cea21d65ccc7e680cac675720bab52411ac492
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
ADSP detection engine module can raise Generic Detection Event to
provide variable payload data based on the information requested by
userspace. Adding new API/interface to provide support for Generic
Detection Event in LSM drivers.
Change-Id: Id5541f959ecdcf862dcfa1de1c1a1b3a796f260c
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
If wcd9360 config is removed, need to stub out the
APIs to load any dependent audio modules and enumerate
sound card.
Change-Id: I821938c68849984ee04565167488abe5fe15af40
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Runtime suspend in slimbus driver makes QMI call which takes
wakelock and result in first system suspend to fail. As a result
of first suspend fail, POST_PM_SUSPEND event is dispatched to
thermal core which registered to pm notifier. WSA being one
of registered thermal zone gets query for temperature, and makes
slimbus reads/writes which will result in runtime resume of
slimbus driver to happen. System suspend fails again continuously
in this endless loop as slimbus runtime suspend will make QMI call
again.
Update wsa temp sensor to handle suspend event by registering to
pm notifier and ignore the temperature request from thermal core
at resume. This will avoid slimbus reads/writes during suspend in
progress and allow XO shutdown to happen.
Change-Id: Id13a9701cffb1231ef7d563cbc30756fd71d5868
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
If wcd934x config is removed, need to stub out the
APIs to load any dependent audio modules and enumerate
sound card.
Change-Id: If885d4d1f0ee83448ac41ed66b51f078978cb7d1
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Add dai link with the newly added BE codec dai and
the same AFE CPU dai to support another stream for
dp audio.
Change-Id: I747107441a310e5e768dc9757093c7bba424a0d7
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add audio routes to support Display Port audio MST.
Each end device controller stream adds a route.
Change-Id: Ifb2ea38ad38efaff17e0a9502e03b5b6a0c2de45
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add DP codec DAIs to support multiple streams that
audio can be routed to dp controllers with
multiple streams in them.
Change-Id: Id28e6b8cc2989797dd07252cdc8913bc3b403f19
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add mixer control to update ctl index and stream index
to set to display port audio AFE port. Use the index to
set AFE params for the same.
Change-Id: If83b5b0802bb82a0e01fb01c7175472d2b1bb94e
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Use CONFIG_ARCH_SM6150 for Talos to enable
proper compilation.
Change-Id: I14e06122116c431bf4b99da3a061d165f68e0d4f
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
IOCTL command "SNDRV_LSM_EVENT_STATUS_V3_32" in msm_lsm_ioctl_compat
has an incorrect error handling logic which can cause mutex deadlock.
Change this logic to avoid potential mutex deadlock.
Change-Id: I19b3509b5d40cff555536e4615132ea8c477d451
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Add hostless front end DAI to trigger backend
configuration of BT backend dai required for
configuring BT ABR statistics. Add mixer ctrls
to independently configure TX and RX sample
rates to allow BT RX and TX backends.
Change-Id: Iba274253bca510e3899658306787e2ba15324bf2
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>