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 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 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>
System gain is miscalculated due to incorrect parsing of
device tree property. Correct the parsing logic of the
system gain device tree property.
Change-Id: I8c9c5198a139a69c2d5d9520a071123261b0581f
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
To enable datapath control for both HPH_L and HPH_R in
HPH sequencer. Which is used to fix the single channel
mute issues.
Change-Id: I1d9fb22255a2895fc2543ef5c3de02f0bdb9999d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Soundcard name might need to be modified based on adsp
sku variants. Add support to read the adsp variant from
nvmem and set the soundcard name.
Change-Id: I2ab0cef6f90a4dd512f736aa6b4540b21a74e917
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
Use rproc_set_firmware API to load ADSP dtb firmware using
image name when adsp_dbt_name is set based on
fuse variant.
Change-Id: If5c592f160585871165d5c047e1c5acc59bfe1c1
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
-add support for swr version 1p7.
-Return 0 instead of EBUSY during swrm_suspend to
allow system to enter suspend without rx swrm
preventing it.
- Update proper reg value during pcm port config.
Change-Id: Id42d3625a0609507fffc92b650cfae92b0e1dc4f
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
Update dai link structure properly for btfm dai links.
Change-Id: Ic82ba458d92c94cd668d1f8f0e4431eae31f7d5a
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>