Update channel mask to fix issue with haptics output port.
Fixes the mismatch between number of channels expected (1) and
the channel mask (0x3).
Change-Id: I08e36f3d63e0e8ca84903ddb69c487dff5a78efd
Signed-off-by: Matthew Rice <mrice@quicinc.com>
Create parameters to customize WSA slave port offset1 and
lane_ctrl settings per SWR usecase. Needed to make PBR and CPS
parameters unique per WSA slave.
Change-Id: I77fc87ee234f35606c3a86804ccec162a2dafaae
Signed-off-by: Matthew Rice <mrice@quicinc.com>
Remove usage of va_core_clk for kalama target.
Add new DT property to select clock ID for VA
Macro operation.
Change-Id: I7621379b723f41777f1f80faba4d07bd5b175472
Add swr-slave power supply for swr haptics DT node needed
for enumeration of pm8550b swr slave device.
Change-Id: I4d304e763959cfdbd50552e0025f99a29a2a0422
Set spkr_02/13 to have function = "gpio".
Previously was func0 which is incorrect.
In kalama there are 2 resets instead of 4 like taro.
These resets are shared between WSA0/2 and WSA1/3.
Remove conflicting WSA2 nodes and rename to wsa_spkr_en02/13.
Update haptics swr slave id.
Change-Id: I62c1c6a2ea10283da9b014050c9adb0bbc8a46e2
Signed-off-by: Matthew Rice <mrice@quicinc.com>
NG is controlled with idle detection.
noise-gate-mode set to 0 then idle detect is on
noise-gate-mode set to 1 then NG2 mode is on
Change-Id: I8802260b956ed62aa43c406ae5bfbfdd336378bc
Signed-off-by: Shazmaan Ali <shazmaan@quicinc.com>
Add Bat_cfgs, Rloads, System Gains in WSA macro so these params can
be used in WSA Macro driver and WSA driver.
Add handle to WSA macro in WSA nodes to allow for access of
these params in WSA driver.
Change-Id: I6b6b6195bb7403f973063826c6ec25fb26bc5fb4
Add WSA, TX, RX ports used in kalama chipset to port mapping.
Conform with SWR 2.0 change and updates to audio-codec-port-types.h.
Change-Id: I33ddd9a98009c1ab58ab6a0b7a3567c6e05f34c3
Signed-off-by: Matthew Rice <mrice@quicinc.com>
replace the name-prefix node in the wsa and swr_dmic
with ASoC defined name-prefix node that can be read in
the ASoC API soc_probe_link_components
the original prefx setting approach may cause ASoC probe
failed if the prefix is not set prior the probe call.
Change-Id: If0678fc32ad6bd26af8dc1e03dcb28b9a6b2744a
Signed-off-by: Junkai Cai <junkai@quicinc.com>
i2s1 for fm functionality
WSA reset pinctrl is duplex with dmic67 and lpi_i2s3
so moved to lpi pinctrl
also update register based for the lpi_pinctrl and swrm-io
Change-Id: Ie61a98d588c1d71055485c040f826c2597b40980
When enabling SVA usecase, micbias should be switched to PULL_UP
mode to reduce power consumption. Update widget connection to
enable PULL_UP for sva micbias.
Change-Id: I3c43460402d0c3d7593c463cca6edc749dde40aa
Add audio hw vote clock node in lpi device tree
in order to support digital clk resource manager
in waipio targets.
Change-Id: Ia0e628d49d22006824873de654ef980c148a6780
Route ADC3/4 to SWR TX Data_lane2 to support ADC_HIFI mode.
Change-Id: Ia24d5b85fa6b8bd8bc924a7951aabbde72bd1830
Signed-off-by: Meng Wang <mengw@qti.qualcomm.com>