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-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-163061
Problem:
If there are more requirements of mailbox channels
application for other modules, mailbox driver should
be changed to add more channels, this is inconvenient
for other drivers usage
Solution:
Allocate more reserved mailbox channels for other
modules application in the future
Verify:
S7D-BM209
Change-Id: I669d42aa386676d959e27ebb51c6d7dedd7d54ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-155395
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
T5M-AY309
Change-Id: Idd1c47fd99505f3a159c86390c28303f5a5b60e9
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-150719
Problem:
The g12a mailbox dtsi configuration does not
accommodate the new mailbox driver architecture
Solution:
Change g12a mailbox dtsi to accommodate the new
mailbox driver architecture
Verify:
G12A
Change-Id: Iab0a512141b945e3192c2cc4bd7fa15f4e30c6e1
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-158140
Problem:
need bl30 control via mailbox
Solution:
support it
Verify:
s1a
Change-Id: I737217be12377b800acda8b05a729b362c2fa622
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-143077
Problem:
Userspace process cannot get enough data sent from secpu
via nee2scpu (now the maximum data size is 96 bytes),
userspace needs to read up to 128 bytes one time from
secpu via nee2scpu.
Solution:
Enlarge the mailbox devfs receive buffer size to 128 bytes.
Verify:
T3-T965D4
Change-Id: Ia4d46206306c82ae7a37bb7c1249f10a6c4fcfb2
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-137756
Problem:
The current t5d mailbox configuration is not suitable for the
reconstructed mailbox driver
Solution:
Change t5d mailbox configuration
Verify:
T5D-T950X4-AM311
Change-Id: I691358da6c85ff0c2a000a0b641718517349452a
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-104282
Problem:
bringup m4 on sm1
Solution:
add bl40 module driver and configuration to
bringup m4
Verify:
SM1-AC200-S905D3
Change-Id: I39afd0f91a49bd187e23cb29111f06e8c404419d
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-105841
Problem:
C3_5.15 buildroot use different config
not arm64 arm32
Solution:
add control for c3_5.15
Verify:
compile no error
Change-Id: I788f324aa3067c490f9f492568582d0d7f949459
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-98490
Problem:
porting wol function
Solution:
porting wol function
Verify:
AR321-T965D4_X9#REF#049
Change-Id: Ieaa67398c5ee09d0e8e7940163bed080b01af718
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-70486
Problem:
use common tag in driver when printf
Solution:
set common pr_fmt in driver
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2
PD#SWPL-70486
Problem:
printk optimization
Solution:
modify the print level as a debug
Verify:
local check
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I8b92a33555103ef75c91217086efb9b85843d3c7