Commit Graph

7 Commits

Author SHA1 Message Date
Liming Xue 5608b996da sc2: android u Auto test fail [1/1]
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>
2024-04-10 21:46:09 -07:00
bangzheng.liu c8883c00c3 DSP: optimize SC2 far field voice with dsp [4/4]
PD#SWPL-139800

Problem:
optimize flow of ffv with dsp

Solution:
1. optimize log
2. dsp enter power down with arm mbox cmd
add dsp smc mainid 0x820000b1, pwrctrl subid 0x13.
3. fix wakeup conflicts

Verify:
sc2_ah212

Change-Id: I601bbed7aa665f83fc9c5725ceba3f3bd5834b99
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
2024-01-22 02:50:35 -07:00
Liming Xue 360aa82f4d dsp: dsp logbuff issue [1/1]
PD#SWPL-152090

Problem:
kernel5.15 dsp logbuff overrun

Solution:
fix logbuff overrun

Verify:
t3x,t7c

Change-Id: Iefa7f288e7039a8e9acf7f4d1fdc2da713c44187
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-01-05 05:05:41 -07:00
Liming Xue 3cb8db1fd0 dsp: tm2 kernel5.15 bringup [1/1]
PD#SWPL-144579

Problem:
tm2 dsp kernel5.15 bringup

Solution:
tm2 dsp kernel5.15 bringup

Verify:
tm2

Change-Id: I17005cb1f22e69ae4f59e6cde47c84236dc726d0
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2023-12-22 16:09:00 +08:00
Liming Xue 61924ba6ba dsp: resolve dsp reconfiguration bugs [1/1]
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>
2023-10-23 02:29:13 -07:00
Liming Xue 1620ec39d0 dsp: add wfi [1/1]
PD#SWPL-99041

Problem:
dsp stop can not access wfi

Solution:
add wfi

Verify:
c1/c2/sc2

Change-Id: I10f6089501a005adf10bbe5c92ad3e95c2fb811a
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2023-09-28 05:59:05 -07:00
Liming Xue d70741d666 host driver: reconstruct dsp host driver [1/1]
PD#SWPL-99041

Problem:
reconstruct dsp host driver

Solution:
config CONFIG_AMLOGIC_MCU_DRIVER to enable mcu driver
the new driver support multiple dsp/m4 cores

Verify:
a1/c1/c2/sc2/t3/t3x/t7/t7c

Change-Id: Ib1e666e615260bb5b7377a18eeaaf8daa65de86f
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2023-09-25 00:13:42 -07:00