Unmute WSA after enabling main path for
ADIE loopback cases.
Change-Id: I850aa4dbcf77371811010c1d614c6c7e94736971
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
Default Bluetooth audio DAIs are slimbus based. Add support for
BTFM Proxy dai driver to use it on Connectivity Proxy
HW Endpoints.
Change-Id: Ia47fd004cc268524d152292c56defcd0c73d3ba7
Signed-off-by: Rohit kumar <quic_rohkumar@quicinc.com>
When SSR triggered, graph_set_config failed should return ENETRESET instead of
ECONNRESET. so when gpr_send_pkt returns ECONNRESET, reset the value to ENETRESET.
Change-Id: I2ce72a8fef3163050f777c41fffd0266642e75dc
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
For wcd939x LDORT_SCD_INT IQR register is removed, so remove
LDORT_SCD_INT register to avoid CMD ignore errors from RX SWR
while booting.
Change-Id: I6dfe6a1c32fddbcdbbf388b47efde60b6b4b5f35
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Fix wsa884x deinitialization to avoid double
free and use correct kfree function to prevent
crash.
Change-Id: If7e0e3ceb76f9a29fbafee274147f2992e02085f
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
Change snd_soc_component_update_bits to
regmap_update_bits because wsa884x may not be
initalized post IRQ.
Change-Id: I3018c680e8b2db346e5acaefc330a5af98150cf2
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
add lock in ion free to protect dma buff and avoid
use after free.
Change-Id: I6376408ce1a5b98b7aeacc32e44ec4db08ff9df5
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Remove soc/internal.h, which
is a duplicate of the internal regmap/internal.h.
Change-Id: I05b30b101382e68ced26343ef1278cecfd1b0ed3
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
Disable legacy HPH surge protection
for certain platforms. Enable HPH over-current
protection for all platforms.
Change-Id: I147321417ad2152530a71b3990a7cbf064c9299f
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
Add support for HPH 2Vpk output mode in the
WCD939X driver.
Change-Id: I44a84cde84f0feee6d7d1255e097a5ffb616f78e
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
inform scheduler that certain CPUs need to be reserved for audio.
Change-Id: I3d2b4d6faeca1dfab3d7461db4e13a1d188f864c
Signed-off-by: MingShu Pang <quic_mpang@quicinc.com>
Use rproc_set_firmware API to load ADSP firmware using
image name when adsp_fw_name is set based on
fuse variant.
Signed-off-by: Aditya Bavanari <quic_abavanar@quicinc.com>
Change-Id: I529fe3f9f5f3a861c6b345a79f3ef90f517405a4
Currently, 0 is written into SWR_PLAY register when disabling SWR play,
it coincidently updates the PLAY_SRC to FIFO mode and disables it. If
there is a FIFO play triggered from SPMI address space, the FIFO play
will be disabled and the FIFO samples will be flushed. To avoid this,
keep in SWR PLAY_SRC when disabling SWR play.
Change-Id: Ib594df57835979a8832f2f7a1954ff36f643f724
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
update HPH power mode comparison with mixer ctls enum names,
so this will pick the correct compander coeff values depends on modes.
Change-Id: I42cdfeceda4c4bac960b71bbd62d0e8528680490
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
lpass_cdc_register_macro can be called simultaneously by different
macros as bootup resulting in inconsistent value of
num_macros_registered. This will result in one of macro going ahead and
registering lpass-cdc component and other macro failing to register which
will cause probe of other macro to fail. Protect function with mutex lock
so that macros access it sequentially
Change-Id: I9d3811eeceb06b6a7e66d79a1b899b2c4283bb52
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Check for wsa_max_devs when upd is running over
wsa earpiece.
Change-Id: I39ac27f14970a775429a80103b64a7882c8a9f62
signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
Remove platform_max setting in WSA/WSA2 drivers
to correct the volume range for digital volume.
Change-Id: Ia87c9fbeacc7bbb37b02f707b5c624a4091251d9
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
Update port config for pineapple target for PCM + haptics.
Change-Id: I2be28822be2d803396d5a020b07e4cf7510fa73b
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
For PCM mode no need to enbale PDM interrupts, so add condition
to skip for register of PDM interrupts. Also avoid unwanted register
writes for PCM mode.
Change-Id: I4675a7ffe94d1f8628a4f539829f5aa83544cf8d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
add support to select PDM or PCM path in rx macro with the help
of mixer ctls.
Change-Id: I803e0bf440c1b3546cbda23e49736addb9083d92
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
update register based on latest version and add conditional
check to enable PCM path.
Change-Id: Ib2fe0b477adfa07bef52954993fbd6aae011500a
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
update registers based on specific hph mode before compander
config.
Change-Id: Iea4f2bc5521dc701bd52ce8fe24323b1f9d96045
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>