Add support to configure MI2S gpios from machine
driver.
Change-Id: I561fdc775c63fd7b31d41a3053956d1643bea566
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
Add sclk and mclk support for quinary MI2S interfaces for
sdm660. Also, update MCLK IDs for secondary and quaternary
MI2S.
Change-Id: If6271224caffbf1623939d409e3e031d5a0c8423
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
Add support for Quinary MI2S, AuxPCM and TDM interfaces
in sdm660 machine driver.
Change-Id: I2dad713a3286499e9b76206b28a82b56638949a4
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
Add support for dais and routing for Quinary MI2S, AUXPCM and TDM
interfaces.
Change-Id: I50c3099a658998bab805c4c6a5aa447e85f3e7c6
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
wsa881x speaker damage has been reported due to DC at
wsa output. Add a register setting which will reset
the soundwire when there are any DC or synchronization issues.
CRs-Fixed: 2086505
Change-Id: Id2bfb876a5bace891befa613153a88ee54033d76
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
To config different headset detection parameters for different hardware, add
two new headset detection parameters in device tree and read it in mbhc driver.
Change-Id: I10457b7d5eae54eba8a4cd273885a63ebad3ccb3
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Add support to configure a specific module and its parameter on adm
based on apptype. This can be used to dynamically configure a module
provided by application.
Change-Id: Iccfee192b0dec505bbb5f65a251e0dd12432fe59
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
Add dummy static inline functions for feature QTI_PP to fix compilation
erros for undefined function when flag 'CONFIG_QTI_PP' is not defined.
Change-Id: I24c29636755f44a80b2a0267e0dbb8f72d6a3c9d
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Add missing FE to BE links for Multimedia10 and Multimedia16
which can resolve FE to BE routing failures.
Change-Id: I9f889d88fe520f7efa83c2e2058995fa955c82cb
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
TDM CLK frequency needs to be updated at runtime to use the correct
CLK setup.
Change-Id: Ib42fedca3cbf41b85ca121ca04cc994bf8ad4d39
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
TDM dai driver supports optional clk attribute configuration and
clk freq update. To configure TDM interface as PCM mode, the clk
attribute should be Q6AFE_LPASS_CLK_ATTRIBUTE_INVERT_COUPLE_NO.
Implement set_sysclk callback function to update Quaternary TDM
RX and TX clk freq.
Change-Id: I41edaa8d99325e9582e04ddb81a6ad5b5e4435bc
Signed-off-by: Cong Tang <congt@codeaurora.org>
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Add the corresponding 'cap_mask' to support 4 slots configuration in
CPU DAI driver to enable 4-channel QUAT TDM recording feature on SDM845.
Change-Id: I137d874b00fadde7513ab6c843f61becc74feac1
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Add support to update QUAT TDM TX HW parameters and
back end DAI link ops to enable QUAT TDM recording
feature on SDM845.
Change-Id: If0fccafaf563f9453559a45a59300a5bec75f449
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
When there's a dynamic channel change from mono to stereo,
volume burst is observed because center channel gain for
stereo is not initialized. Initialize center channel gain
for both mono and stereo playback.
CRs-Fixed: 2095081
Change-Id: I02254b5696a17e2792ea26a2265ab01326f5cf9e
Signed-off-by: Yidong Huang <yidongh@codeaurora.org>
Add missing FE to BE link for Multimedia10.
Change-Id: Ibf9a80c942107b1f68b5954b21f87d4f7494b1fc
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
Variable 'status' is used without initialization.
Initialize it to the right value.
Change-Id: I7f43d8905d8192e5f308e9fd00a52eb531f2f698
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Remove MCLK_CONTROL and FS_CNT_CONTROL from
the list of volatile registers so that regmap
sync happens for these registers when coming
out of power collapse. These clock registers
need to be synced otherwise codec state is not
restored correctly after power collapse.
CRs-fixed: 2053506
Change-Id: I9b5385a357f9ad05ad085603410704e916e3985e
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Propagate the changes based on latest snapshot
for audio kernel source tree at below cutoff of
kernel msm-4.9 -
(040750bfa78 -
"Revert "ARM: dts: msm: Add DT node for aop-qmp
clock controller on SDM845 v2"")
CRs-Fixed: 2104096
Change-Id: I0927c40b3a188dbf892e7ec4c1c7810953724929
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
The previous commit fb24ad8485a assigns obj-y with
msm_hdmi_codec_rx.o instead of appending, thus giving
compilation error as previously assigned object files
are removed.
Fix by appending obj-y with msm_hdmi_codec_rx.o instead
of assigning.
Change-Id: I7c5ea5627e2e1888e3fc0b53a6650ab64b9a29a8
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
HDMI codec driver is not compiling as the corresponding object
file is not set in the makefile.
Add object file to SND_SOC_MSM_HDMI_CODEC_RX config.
Change-Id: I6068f551db357e5bfa73ff5b51014347f38b925c
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
Propagate the changes based on latest snapshot
for audio kernel source tree at below cutoff of
kernel msm-4.9 -
(aed56b2df75 - "drm/msm/sde: update te vsync enable sequence change")
Change-Id: I7ed5102146986b81e5cb9ca55432360b3549b60c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Enable compilation for sdm670 audio. Update
for both internal and external codecs.
Change-Id: I030837a2c0180a5a31d0ab786ad5de607027050f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
(1996ec83a45: "ARM: dts: msm: Reduce CNOC bus voting for
USB slave on SDM845")
This change is to migrate latest snapshot of kernel drivers.
Change-Id: I84669db544773d3ce9d2d5dff0ab6943bd7d8ff9
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>