update the codec digital RX clk rate to 9P6MHZ or
11P2896MHz depends on usecase.
Change-Id: I1c7167c10ef8bcdba876be265ef90d980f822d03
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Optimize the power down logic of hph playback widget.
Change-Id: Ic6d085e70cb36cdc99bcbceddbce3aff2bc54ad6
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Remove swr clk set from analog side.
Optimize the debug log.
Change-Id: I8c3a946f1c64fd5d71fd5151c4c464d370b4ae8c
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Defer the probe when the msm cdc pinctrl driver is not
proded.
Change-Id: Ia6aaaca7c55b60b53008ffda0fc40e5db407cd2a
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Enable WSA RX1 mix path to ensure DMA is enabled
properly and data is consumed to drive right channel
using wsa mix path.
Change-Id: I2b0bc92eeaa82734254ceda96de39f20a761dc75
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
DRE is not disabled properly on targets where kcontrols are not exposed.
Add separate check for both SWR PCM and PDM data transport cases to
avoid having dependency on kcontrol.
Change-Id: Ifbd9aaa8213540c9cc19690ef70b30336580116a
Signed-off-by: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
Implement changes to make the driver compatible with bolero V2.2.
Change-Id: If2797a80f775c685ff2a6912de189b1d9b4906d0
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
Optimize the micbias usage set logic in tambora driver.
Change-Id: I77224f66f12e129f00708a531c1aab137aee7000
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Update config file to support tambora in Kalpeni.
Change-Id: I2190823f0b4cb9724080d92619a540f2b7bab9b2
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Request and release swr device wakeup votes in PRE/POST PMU and
PRE/POST PMD events to allow system enter low power states.
Change-Id: I8acd648bcc8e11cadda7254d7e5369155d9597c9
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
add support for both fsa and wcd usb AATC.
Change-Id: I0253faad734a433f5da93c34adfc4f9c2e37fa14
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.
Change-Id: Ife131d5d64d2ad2b8f7aad50af3aa07238bbbda9
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Add conditional check before calling wcd usb api
Change-Id: I9046ece531ea009e8b8cd5db98675960d928c1c6
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
Change default OVP threshold to 4.2V, but set
to 4.0V during CODEC reset.
Change-Id: I4aa8accf7466e144902a2f6a250c1aad91084e95
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
added condition to check for spkr status before enabling
GLOBAL_PA to make sure PA is enabled only when Speaker
is in Enabled state.
Change-Id: Ifa4eeb7d8561bb68193abae16221dd8b2464029c
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Sampling rate of the decimator is reset to hw reset value during
power down event in existing code. This code was implemented for
a safety precaution.
Remove this code as it is causing a side effect for VA use cases.
Side effect of existing code: during successive VA use cases runs,
Sampling rate is not updated as the device is not closed completely.
Due to this, decimator runs with incorrect sampling rate for
successive runs and causes failure.
Change-Id: I5e60c656043d06c3d999de183698adfffdaa44d1
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
update the usbss switches only once the HS removal is completed.
Change-Id: I050b30c2c407f189cefed56ec137848efb45e5b4
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Update zdet and xtalk to support high voltage microphones
with improved accuracy.
Change-Id: I4b0af5ade7f653de4a938162302ec21c4a09891f
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
In msm-cdc-supply, add checks to prevent regulator_disable()
from being called if the cdc vote has already gone through.
Also add error messages if this happens and also add debug
messages whenever on-demand supplies are getting enabled/disabled.
Change-Id: I696be0a1ea638ffcf903e81a8b61c6a8dde984a8
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
Remove the PRE_SSR blocking notifier call.
This is not required as early down event is not handled.
Change-Id: Ie448fa2af92edd484d282200cf350c6bddc5f99d
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
Remove handling for PRE_SSR event.
Move the gpio handling during SSR to SSR UP event.
Change-Id: I2bb1b66db455c6211f1bf12c9e19d7e306a6243a
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>