restore the cache values back of last state applied
in SSR recovery using snd_soc_cache_sync API. So
hardware codec configuration will be in sync with
userspace settings. And avoid any race condition
between the userspace updating dapm widgets and
SSR recovery updating any register value.
Change-Id: Ie2a986b5c6827b02aa3d5919cc69e7363155c45e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
For the targets not using boost and boost pin is kept
floating there will be high change that VDD_A53 will be
grounded and MSM will not be responsive
After discussing with PMIC systems team SBL team came up
with the work around to configure the boost register to some
pre defined values so that the issue is not reproduced.
As part of the codec init sequence the codec driver will
reset the analog part of the codec and as part of this sequence
the cofiguration done by the SBL will be defaulted.
This change will restore the 0x1C6 register if it has been configured
by SBL
Change-Id: I1a58b665b01e70bbb21b06665a8fb422d77a5ee7
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
In 8952 internal codec, add required dmic3 and dmic4 interface support
used for VI sense capture from WSA analog mode.
Change-Id: I17aac07d0c831148844faece8e034f1e6dc6a8bd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Update tombak codec driver to support audio on
msm8952. As cajon codec newly added in 8952
is similar to tombak, same codec driver of tombak
is used.
Change-Id: Ib4b674fe3f263611be3642dacfcf802e586a7863
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
Add Boost Option mix control to set one of either
options BOOST_SWITCH, BOOST_ALWAYS, BYPASS_ALWAYS and
BOOST_ON_FOREVER. This mix control can be selected to use one
of the four solutions provided from HW design. Update the codec
driver to support the solutions based on mix control set.
Change-Id: I38924cf35a65d92956cdcf857b7f84400af16f85
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Update tombak codec driver to support audio on
msmferrum. As conga codec newly added in ferrum
is similar to tombak, same codec driver of tombak
is used.
Change-Id: I564288217527918149d251b4200063f6360cffea
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
A number of files incorrectly used system include notation <> for header
files that are local. Fix thoses cases to now be #include "FILE.h" instead
of #include <FILE.h>
Change-Id: I1467268b10b33b6fd29bc36b2312378a0b1dde32
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Update the codec register cacheable array with MCLK and PDM
control register.
CRs-Fixed: 644185
Change-Id: I1025839452755f4cc53c310ee0e59fae570227d4
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update codec readable register table with some of the
missing entries.
CRs-Fixed: 645199
Change-Id: Ifcc3efc61beeb8e67eb7a467fbd33e9be15bbace
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
Update codec readable register table with some of the
missing entries.
Change-Id: If3bafdebf1bfff4c830565ec8ba4488f88801a8f
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
In 8x16 target, codec interfaces are through SPMI,
I2S and AHB. Add support to configure codec
for audio device usecases using these
interfaces.
Change-Id: I4df6535080d0077637a2e748c11f8f8a724bb110
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>