Implement driver module for BT Soundwire master.
Implement support for SSR and PDR handling for BT Soundwire use case.
Change-Id: Ibc7818a08a2f65fe47311daffc03a017fbac77e3
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
Move scp1_val and scp2_val into swr_device struct and
reset this two value after ssr.
Change-Id: I549f7438f034a2de0e556bd749594fbe5db2a21e
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Clk vote is present after teardown the usecase. which
is impacting the power, in SND_PMD call swr disconnect
to avoid clk votes.
Change-Id: I94d1ab9dc19a62132033a5715d4212dbcb7d2b0b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
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>
Increase TDM interface max ch to 32 and max rate to 96kHz.
Change-Id: Icaabacff20bc08d98e0f4a6b47feaf8c09aee585
Signed-off-by: peizhong <quic_peizhong@quicinc.com>
Defer the probe when the msm cdc pinctrl driver is not prode.
Change-Id: I3ace42632601a8ef010363f23534471e99c0f827
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>