PD#SWPL-162204
Problem:
The hifi and mailbox driver is different from kernel5.4.
Audiobridge relies on the interfaces of these two drivers.
Solution:
1.Adapt the dsp and mailbox drivers relied on in audiobridge.
2.Solve the problem of out-of-bounds data when mailbox read data from hifi.
Verify:
A113L AD403 Board.
Change-Id: Ied66e00a06153919bb25e670b42016309f8060bf
Signed-off-by: shuai.liu <shuai.liu@amlogic.com>
PD#SWPL-178328
Problem:
in scenarios where DSP is not required, dsp should disable clk when
suspend
Solution:
disable dsp clk
Verify:
sc2
Change-Id: I93dee99f675d3ae2323e0eccba2a319f74769c96
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-139800
Problem:
SC2 far field voice need early suspend and record
with dsp.
Solution:
When DSP waked up by VAD, then:
1. DSP notify to AOCPU (would fail by unknown cmd) and ARM
during early suspend.
2. DSP notify to AOCPU (would fail by unknown cmd) and ARM
(would fail by timeout) and do retry after ARM deep sleep and
before AOCPU STR poweroff.
3. DSP notify to AOCPU after AOCPU STR poweroff.
4. when ffv not supported, dsp do not start vwe.
Verify:
sc2_ah212
Change-Id: I0e610ab7dd76c362c71a9ec98ce589bf7d04beda
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
PD#SWPL-175244
Problem:
misc device store in device's drv data
host driver rewrite this data
Solution:
Not rewrite this data
Verify:
sc2/t7c/sm1
Change-Id: I86fc529bd29409b48c89db558c2753c5d6364ea5
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
PD#SWPL-163428
Problem:
1.kernel5.15 M4 reconstruction
2.bl40/mfh start smc uses different cmd
3.dsp start/suspend/remap smc uses different cmd
but there are dsp functions, so need to use the same cmd together
Solution:
1.kernel5.15 M4 reconstruction
2.bl40 and mfh smc cmd uses the same
3.dsp start/suspend/remap smc cmd uses the same
Verify:
a1/a5/c1/c2/sc2/sm1/g12a/t3/t3x/t7/t7c/
Change-Id: I103e6c8d1df824188dfa8e1d4ba443551ce1265c
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-142319
Problem:
1.a1 suspend dsp power off
2.The dsp bin name is arbitrary, when dsp_util is used,
forward incompatibility
Solution:
1.Fix device init wakeup
2.The dsp bin name is arbitrary, when dsp_util is used
Verify:
a1/t7/t7c
Change-Id: I80001e2166a5fae8c72f5ff30b45ea1d319bbcac
Signed-off-by: Liming Xue <liming.xue@amlogic.com>