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-164172
Problem:
sc2 not have dsp,resources have been released,but also register misc,
so When sc2 autostart,it accesses the /dev/hifi4dsp0 node,
so causing a panic in load firmware
Solution:
when board not have dsp,resources have been released,then return
negative value
Verify:
sc2
Change-Id: I9d0a12edddb09ef26e6798f7eb0d0029f3f4dd8d
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>