Add dummy function for swrm_wcd_notify to avoid
compilation errors when configuration options
'CONFIG_SOUNDWIRE' and 'CONFIG_SOUNDWIRE_WCD_CTRL'
are not selected for a target.
Change-Id: Ie12d2df8777934494f0f8607d846e2d1ec49f2a6
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
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>
Separate compilation of analog and digital codec and add
support to compile them as dynamic module.
Change-Id: I81f01bf60aef71f67e025fa4ff1ba805a960e61d
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
Change name from "TERTIARY_MI2S" to "TERT_MI2S" for RX and TX
in order to maintain consistency with other Mi2S back-ends.
CRs-Fixed: 2075701
Change-Id: I52116df27a780e42de4a6b3d74249f77d311d8d4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
when moisture is in jack, removing of the plug result in
electrical removal interrupt. So, update electrical interrupt
handler to handle mechanical removal based on moisture status.
CRs-Fixed: 2058106
Change-Id: I9cfbfbaf04783f0edcadb14d7828759020745289
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Make autoconf changes to enable compilation of
analog and digital codec separately.
Change-Id: I0e7da48ead0bfe535f9103776845e068a3c149d3
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>
AFE calibration should be sent even when the number of group ports is 1.
Remove this condition from API to send AFE calibration for any number of
group ports.
Change-Id: I7f0c8ab739da2831e17e5dbbaf013cf99f2e6d88
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Pass valid channel count and sample rate information to
configure AAC decoder component and modify the API used
to configure the output PCM block when multi AAC decoder
component is used in non-tunnelled mode.
Change-Id: I5938f316a39b722924416b6910e6c8b835e7855e
Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org>
Add EXPORT_SYMBOL to symbols used by codec driver.
Codec driver is built as separate module and requires
symbols called to be exported.
Change-Id: I3d1bc6c8cbfc1b92f790b700ecfeaff211ddcff0
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>
If userspace sends non-null terminated channel name then
out of bounds read is possible while printing channel name.
Fix this issue by validating channel name before use.
Change-Id: Ide270a54be14b280e87360836a0fad1302075660
Signed-off-by: Vidyakumar Athota <vathota@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>
Assign the circular buffer address to port buffer only after ION
allocation is succesful to fix dangling pointer access.
Also, lock the circular buffer memory allocation in order to
avoid multiple allocations for a port.
CRs-Fixed: 2096407
Change-Id: I22c1d55ea611ac59cdca51924787f6831bad8c2b
Signed-off-by: Aditya Bavanari <abavanar@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>