Activate lineout booster GPIO during starting lineout usecase
and disable during shuttingdown the lineout usecase in qcs405.
Change-Id: I83877e6a531efc4b571d9868f1b019af5d9b1b82
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Register wakeup of TX macro with HW interrupt
line through wakeup irq.
Change-Id: I1120b6155ca88ce6e1f8dcc163fc86227d606a8b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Samplerate, channels and bit rate are not updated for
MSM_BACKEND_DAI_WSA_CDC_DMA_RX_*, MSM_BACKEND_DAI_RX_CDC_DMA_RX_*,
MSM_BACKEND_DAI_WSA_CDC_DMA_TX_*, MSM_BACKEND_DAI_TX_CDC_DMA_TX_*.
Add hw_params_fixup function for these BE DAIs.
Change-Id: Ia21f1cf5742e3acc6549319dcedfde07233ed161
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add dapm widget for all analog mics, remove bolero
and mtp specific checks from probe.
Change-Id: Ibaa81fb9a655c3d0f48b95d2e882b5fecf6adb73
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Soundwire master receives the pm runtime calls, so slave
does not need to enable pm runtime.
Change-Id: I3e09b9d1eee9bbfbe525fbf375bf938600f30064
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Change tx mode setting from dapm widget to kcontrol
as it is not needed in codec route and only needed
for updating mode value.
Change-Id: I5d66b9a82b541b97f5c5789fe2e49d329c6952a8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add all combination of routes between adc and
available mic paths.
Change-Id: If5781509bdc667d94ca1ad991388a8d57af75b94
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
All codec supplies are treated as static supplies
and do not require on demand supply.
Change-Id: Idf54f65cc6089675e21a52ea49cdf46eae98f295
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Micbias needs tx bias clock bit to be enabled.
Change-Id: I6a73d05eb9363c3dce267f6730c44b0442387365
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
cdc pinctrl needs to be loaded for both v1 and v2 wcd
core objects.
Change-Id: I4742e96b54bbd481583a6d12fd32fddb63216077
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add a check to see if split codec is present for
the slaves being probed and add platform data to
such slaves.
Change-Id: I8b143c551a481b88dffc8763421d2aaa02c0012d
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Match the rx/tx slave node property to that of in dt
to add slave components.
Change-Id: Id990dc0c85691c4af8b8adb7f9de26063559b7b8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add soundwire DMIC port configuration on kona. This change
will enable audio capture from WCD938x codec DMICs.
Change-Id: I5b9e9a65f5bc021d4b19a838c17b56b3cb9eb4eb
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Clock Fs generation registers are in always on domain but
is needed for all the playback and capture usecases. Enable
clock Fs generation in the boloero codec after the clock
enablement.
Change-Id: I3a9cf14660f871b26ec96ef8b3e245ba5dadeb78
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
VA macro is currently lacking capability to dynamically select
island mode on Kona. Add support in VA macro driver to read MUX
selection register from DT to enable dynamic island mode select.
Change-Id: I5462265fffcc6d6bbb3ff6eead5f44f0b8909141
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Add updates to HPH rdac gain control registers and
tx channel register writes.
Change-Id: I6c32f0f4ee049404c1648104c5e624eaee3a5817
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add support for setting EAR PA gain directly using
mixer control.
Change-Id: Ifd9e31ed45d10b5ea0f9cf546806ef78ece9e181
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Enable HPHR and HPHL OCP after PA enable and disable it
before PA disable to avoid CnP issues at teardown.
Change-Id: Ic08a8862a7fb4f40ecc6060de6aa1eadc11f1c0f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
If mclk enable is failed during mclk widget power up event, it would
still send a power down event for the widget during disable, which could
disable the mclk voted by other client like soundwire. Do not disable
mclk during power down if enable is failed during power up.
Change-Id: If782b34f9ef414501590ed8cf681bbe58f1dda76
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
When UP notification is sent to macros, the macros can try
to do regcache sync for their regions. Set dev_up flag in bolero
before sending UP event to macros to enable register access.
Change-Id: Ic04cfef121e9be55e91bf8927da26f9ec249338e
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
Add support to configure perfmode for source and sink
in transcode loopback.
Change-Id: Iafb0934764139436bf9b71cd3e83cb28a1a7c4a8
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Pop noise is observed at teardown when compander
is disabled. Allow proper delay after PA disable
to resolve the pop.
Change-Id: I15efa08f28bc1dd32e39b3ca1311b1e417199fd3
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Buck disable flag, which is used to indicate if suspend can disable
the buck, is not cleared during powerup if it is already enabled.
This causes suspend to disable buck even during active usecase.
Clear the buck disable flag when returning due to already enable.
Change-Id: I5118b66492dff27965a587e1bc6b916d5c26b9fb
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
Add fsa USB type C analog audio functionality and
update codec function calls from machine driver.
Change-Id: I493241d633d1f233930c714de08ad6ce8ece5b83
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>