when we enable compander for headphones, the quality
of hph playback is bad, since we have not disconnect
the right port, correct it.
Change-Id: I63ab0734870027109a7f032c47f8865083374a5b
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Optimize the init sequence for tambora, enable TXSCBIAS_CLK
and set IBIAS_LDO_DRIVER as 5ua.
Change-Id: I639b7051d03d167972f592b155072260d4e02aec
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Update the hph/ear/aux playback sequence, disable the reg
which should be disable.
Change-Id: Ib1353e686a49222f5084722cced7687815f76ab2
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Tear down the correct REQ_PS when widget power down,
that can fix the amic3 mute after ssr issue.
Change-Id: I7b5c958e79eb23184bd11375bae11dbcd51e961a
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Audiolite doesn't need qcom audio driver so remove it from compilation.
Change-Id: I3bc12b9051fe987fbde087ff6f505029337c5352
Signed-off-by: Kogara Naveen Kumar <quic_nkogara@quicinc.com>
Update the micbias enable logic for tambora,
and add some widgets to switch between amic and
va amic.
Change-Id: I2c9a7658d79a7c9d255884df7b81aa8062185d72
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Initialize right WSA when wsa_max_dev is 1, by default
when wsa max dev is 1, left wsa is initialized but when
left wsa is not enabled, Initialize Right wsa.
Change-Id: Id00813ee2d3c7c4e847656c786da2800f05ca5b3
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
Remove test reg configuration from init_reg func to
avoid pop noise in hph playback with comp enable.
Change-Id: I7c49d224e92c28cfdd2e971095ac5e6fa6db14c9
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
enable swr comp port. but not set any DRE
related registers unless comp switch is
set from the mixers.
Change-Id: I57b45bb504f0851aed90521e20a94fcb359b29ff
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
added 1msec delay before resetting FS cntrl, to ensure no
glitch at the start of VI feedback.
Change-Id: Ia9ae296f336e4deb4b8bedb718316a6772466a95
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
mark OTP_0 register as read register instead of read and write.
Change-Id: I666c388ba10cd00daf8ac902e0b05177503b1e26
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
Add support for BT Soundwire port configurations.
Add support for flow control modes for fractional channel rates.
Configure slave side data ports for flow controls modes.
Fix the direction adn offset1 fields for Tx ports on BT Soundwire.
When the flow control mode is not required,
update the slave configuration accordingly.
Sample Interval HIGH field in slave port controls needs to be
reset to zero when Sample Interval value is less than 255.
Avoid clock stop mode for bt swr slave during runtime suspend call.
In case of fractional sampling rates, additional offset bits need
to be added between samples to carry flow control information.
Change-Id: If023946f62c5157119836cf43e8542cfd6e0ce16
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
Add compilation support for volcano, includes
wcd9378 driver compilation, and add dedicated
configs for volcano which has different swr
version.
Change-Id: I8dffbe72ed524fcaaad8c9e65c7c993ad9678ae1
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>