Add impedance detection ramp down timeout after a given interval.
Change-Id: Ia03bc82ec0bb653e6ccd1b6d14c1a9cb996e8ecd
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
Updated the holi machine driver to fetch the max WSA
devices supported from DT and enumarate them.
Added the module init functionality to initialize the
machine_driver during bootup.
Updated the supported dailinks in the holi dailinks
config file.
Change-Id: If7ba9e637818bfdf28cc0786a312592d89a4e17c
Enable wcd939x surge reset routine. Add callback for
the event within mbhc and enable it for wcd939x.
Change-Id: Iabc8c3367ae2eca5982db4526c6860e5eba63b76
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
add support for GND MIC SWAP config for pineapple CDP.
Change-Id: Ia6ecbe2818ac12c7fad5738a78bbdcd4d1611e15
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
For test program < 3, use local default trim values
for harmonium 2.0 version.
Change-Id: I8cdcbe83ddae4626cef1f3dc4bfab3b2c285a0ca
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Update wcd939x register settings for 2.15V VDD_RX supply
and for 2Vpk and 1.4Vpk modes depending on the headphone
load impedance values.
Change-Id: Iae5e6087fe96d22c9b9f8b755c468d2e6dface4e
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Check drive strength for boundary conditions and limit them
to valid values.
Change-Id: I6a474f5d6020bb46b1f6171e77aeaeb5254b2a26
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Display team will refactor their Bazel build system,
changing the path to their msm_ext_display module.
The hdmi_dlkm module depends on this driver,
so update the path in accordance with display's change.
Change-Id: I2874cc6ffb8fcec27155adbd84c482c9d1ba23e5
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
In lpass_cdc_wsa_macro_config_compander function,
add check for wsa_sys_gain array's index to make sure
it won't go out of bound.
Change-Id: I9d8512726de959e7a0d9e875e966140d70412e25
Signed-off-by: Deepali Jindal <quic_deepjind@quicinc.com>
add mutex for vote_against_sleep_cnt to avoid race conditions
while updating the cnt value at the time of SSR. Add check
while decrementing the cnt.
Change-Id: Ic8e40fa6b4a68c05fb70369ecb764943d5f582fa
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
To implement dummy device based a2dpSuspend/resume, adds support
for dummy device backend in audio kernel.
Change-Id: Iad4a210167ce400232c6d3b84bfca8b84fa358c8
Signed-off-by: Anand Mohan <quic_anamoh@quicinc.com>
Added new wsa2_init api to initialize slaves connected over
wsa2 macro. which will allow us to control them only when
wsa2 backend's are used.
Till now we are enabling all wsa slaves during wsa_init.
which causes concurrency issue, when we use them dedicatedly
for specific usecases, if one slave is disabled,the other
slaves are also getting disabled.
Change-Id: I1ec8c4700a977ad6001c879ad0343a45a1642105
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Program WSA_DATA_FS_CTL reg based on input used(wsa rx/wsa2 rx)
and also update the channelmap based on mixer cntl.
Change-Id: I0cfac1d9b25dd1211824bcea2753bb6c1131f767
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Mix path clk is gated by main path clk, as per current logic we are not
enabling main path clk for mix path use-cases.
Enable main path clk before enabling mix path for UPD dedicated backend
to work.
Change-Id: I209d1eaf25f4ef08bbd534f5ecc858e465ce7e18
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Currently on pineapple CDP platform, sbu1/2 switches are always
pre-connected to gnd/mic of the jack. Avoid this static connection
and connect/disconnect only when headset insertion/removal is detected.
Change-Id: If3bef6834caeb539492304d8b16808cd09c5afab
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Add logic to Android.mk that will allow kernel
platform to invoke Bazel instead of Make.
Change-Id: Ib96e82fb1f2bff35b6b433614b715b3e90d07436
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
Updated WCD937x, WSA881x-analog and bolero drivers for successful
compilation on kernel6.0 for holi.
Change-Id: Ia91a999f825570b3d7123842f0aad3740c4d25ed
Call spf_apm_close_all and msm_ion_crasH_handler from audio-pkt driver
only to avoid calling for these APIs twice.
Change-Id: I69f8f9cbafd5b08a24b45c8229d22a639eb35b8b
Signed-off-by: Ritu Sharma <quic_ritushar@quicinc.com>
Enable Audio HM vote for VA I2S and TDM interface so that
clock is sourced from CXO instead of RO.
Change-Id: I4f74f46a4ae7977e9cd15a2d8f59f020e02ac8a1
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>