QCS405 can group data lines of several MI2S interfaces.
Add backend dai links for new META MI2S ports.
Change-Id: I9fc5ff06b61ffc2e085c5f05a75111b63ceeeb68
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
Provide pre-emphasis status in sysfs node that was received in spdif
channel status bits.
Change-Id: Ie25dd67920e2d73f74328d6ce96180d392f3d771
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
Add support to switch tws channel mode for aptx adaptive
encoder.
Change-Id: Ife4170be56b152d34758a1cfd20fa4ec203742db
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Add xt logging disable mixer control in order
to differentiate whether excursion logging data
needs to be sent or not for the use case.
This is required for the cases where same backend
is used for multiple devices and xt logging data
needs to be logged only for a particular device.
Change-Id: I2cec67ddc18cbd63c5bc678eba77ea96b9a13963
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Configuration added to support stereo DSD over PCM
for csra66x0 codec via I2S interface.
Change-Id: Ibed333e44961a9eb87ef69bfb1e302f5837357d9
Signed-off-by: Romed Schur <rschur@codeaurora.org>
Update max channels supported for TDM ports from 8 to 16.
Change-Id: I3d3b42983fff22e0102b9eb2aaca1a5698820605
Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
Enable digital_mute for SLIMBUS_0_RX to support
excursion logging feature.
Change-Id: Icc64f5fdf245c4239683872ff65a1f2fa6dc88e2
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
'TWS Channel Mode' is missed due to afe_enc_config_controls
size changed.
Change-Id: Id6a08a7b360364bc94a6786f967ccc191666cefe
Signed-off-by: Zhou Song <zhous@codeaurora.org>
During suspend on new kernel, FE/BE path would tear down and
pinctrl for related component would be deactived. On kona, FM
is connected to TERT MI2S and during suepend, pinctrl for TERT
MI2S would be sleep state and FM has no sound.
Add ignore_suspend for all BEs, BE_OUT and BE_IN to avoid tearing
FE/BE path during device suspend.
Change-Id: I8868f35d6c418987ffe287d64a3f5ae3d1abf1c1
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Exposure of driver bind/unbind to userspace via sysfs may
lead to unexpected behavior.
Hide bind and unbind by driver attribute.
Change-Id: I20d6ee653bcc16af15d6368664aaf240c6645cd0
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Extend the encoder configuration to support aptx
adaptive R2.
Change-Id: I17d7adb62539d9f59222fd0c992424ba98395383
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Add support for dais and routing for Senary MI2S, AUXPCM and TDM
interfaces.
Change-Id: Ifa4a9c7163330a18d22d3a5c7d75fe99d189ba49
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add support for speech codec which is similar to a2dp aptx adaptive.
Change-Id: Ibfbcf086f009fdb561e26aaf92cefc92f1bd16ca
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Updates to send VAD enable or disable to AFE port.
Send VAD and island configuration based on the ports
on which these features are supported in Vipertooth
machine.
Change-Id: Ib3e6d46fed3bf9e822f350c9ec0dc629cd82547e
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Support group tdm multi lane configuration for TDM interface.
With valid lane mask tdm interface support delivery audio channels
through different data lines.
Change-Id: I63e8ba1106b89c6bcaca0a8359a1def696c334ad
Signed-off-by: Cong Tang <congt@codeaurora.org>
Trigger xt logging getparam at every playback close
and store data. When app queries sys/class node, return
stored values and reset to 0 for some params as per
app requirement.
Change-Id: Ice1a3e9a7e03062390f1c36184a971635e55d450
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
SLIMbus device ID can be different for SLIMbus ports on different
targets. Add support for dynamically assigning SLIMbus device ID
at bootup time from device tree.
Change-Id: I5a3b0812085ee53e8cd3bfac96eaaa939fda4106
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Add support for Aptx Adaptive decoder. Introduce new
get and put for ABR feedback decoder controls since
same decoder config format is required to be passed
by client in regular and feedback decoder configuration.
Change-Id: I96d9daef2a0967788640c2efb5478119eeae48ab
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
VA macro in Kona has three DMA TX ports. Add a new VA
DMA TX CPU DAI in the DSP DAI driver to use it on Kona.
Change-Id: Ic144dbed1bd63af6f0150f854fdb74d57e156839
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
BT sink devices have a limitation on the packet sizes
they can receive and handle from BT sources. AAC encoder
can produce output frames which can vary in size based on
content being encoded. If frame size exceeds MTU size of
BT sink device, it will lead to incorrect decoding of
frames in BT sink.
Add a frame configuration parameter (MTU/Peak bitrate)
for AAC encoder to solve this problem.
Change-Id: Ia7795049e982400b0b3657b0b3a8990fc6920e38
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
Add dai driver and routing driver changes for
afe loopback BE. This BE is used to capture
EC reference data.
Change-Id: Ia57f335bde5f8a47de0030fbf1cdb784c8821e17
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Add support to enable mono mode when one TWS+ earbud is
connected. Change the encoder config when device switches from two
earbuds to single earbud.
CRs-Fixed: 2341876
Change-Id: I880aa6a2767d88e99be2d80afff0e5fbec94b8a4
Signed-off-by: Manisha Agarwal <maniagar@codeaurora.org>
Switch audio drivers to SPDX identifier on msm-4.19.
Change-Id: Ic3f0230a516db251b8d81e8a7e73dbc04d66fe1b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add TDM clock reference count as LPASS
CLK API should only be controlled once
per TDM interface.
Change-Id: I025dc7cce3f1ccfe3b9d0ed652b71773f90d5c6f
Signed-off-by: Derek Chen <chenche@codeaurora.org>
The format change event signaling for SPDIF input interfaces
is adapted to provide format information through sysfs nodes.
Change-Id: Ifab1074a0e4b13e08813e27f8694023c2c47bfe1
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
AFE MI2S interfaces now support up to 8 data lines
(16 channels). Add DAI support for the same.
Change-Id: I7c507c0161733094c1260731c7a046561fb63200
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Excessive logging causes throttling during bootup.
Update log level from error to debug in get functions to
avoid excessive logging.
CRs-Fixed: 2321589
Change-Id: If2a23144adf76cdd9bb2d9048a967b63186d7f6e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
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>