Commit Graph

7208 Commits

Author SHA1 Message Date
Jianxiong Pan 1b33fd94de pcie: enable white list for arm 32bit. [1/1]
PD#SWPL-179193

Problem:
pcie white list not work.

Solution:
init the specified memory area.

Verify:
local.

Change-Id: Id01c40c7f3403246302fd968611424d9b07d8dd1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-08-27 21:29:13 -07:00
Jing Li1 64c7e3bfb1 Revert "Demux: Add api for multi2 [1/2]"
This reverts commit febc85e083.

PD#SWPL-183570

Revert multi2 api because it is not compatible with some old projects.

Change-Id: I209e83a07af6096234789ff7993ea3f6befa3d45
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-08-27 05:57:23 -07:00
hai.cao afaad88ea9 vpu: add arb urgent support for chip [1/1]
PD#SWPL-183482

Problem:
add arb urgent support

Solution:
add arb urgent support

Verify:
t6d

Change-Id: Ied76ab0c25b27342ec296e9b4237cb3bd56a3655
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-27 05:57:18 -07:00
Luan Yuan eed54a3c00 mdns: mdns wakeup [1/1]
PD#SWPL-179266

Problem:
google cast wakeup.

Solution:
add mdns wakeup marco.

Verify:
ohm

Change-Id: Ic0454f2ea783948c1bdb987b0d27da199aec764f
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-08-27 05:57:12 -07:00
can.zhang d5a0502bb9 amvecm: fix zapper compile error [1/1]
PD#SWPL-181880

Problem:
error writing

Solution:
add code

Verify:
local

Change-Id: I187b5efa0fbc9a713220a9c3c33fff90b1cfaaba
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2024-08-27 03:01:56 -07:00
zhikui.cui 3adc014301 NAND: fix mtd_device_parse_register panic [1/1]
PD#SWPL-183416

Problem:
mtd_device_parse_register panic when parse_mtd_partitions
return -EPROBE_DEFER

Solution:
nvmem_unregister otp_user_nvmem/otp_factory_nvmem
if them existing

Verify:
BR309-T950D5_SOCKET #48

Change-Id: I4ba5050f53952f1e4ddd46c5c1d48f34c63b19ad
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-08-27 02:47:56 -07:00
zhikui.cui 89d0f2524c NAND: support slcnand for t6d [2/2]
PD#SWPL-181442

Problem:
initial support

Solution:
initial support

Verify:
BR309-T950D5_SOCKET #48

Change-Id: I1bf119a30a30d3903f6854696a0b1e22fe7879bc
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-08-27 02:47:47 -07:00
zhikui.cui 0d66cb18e4 NAND: slcnand support register partition from cmdline [1/2]
PD#SWPL-181442

Problem:
initial support

Solution:
register partition from cmdline if partition information don't exist in dtb

Verify:
BR309-T950D5_SOCKET #48

Change-Id: I241508ea4ec6b03741ad8a831783ae61564250a8
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-08-27 02:47:41 -07:00
qinglin.li 0a9e20de35 ddr_tool: add t6d outstanding support [1/1]
PD#SWPL-182359

Problem:
add t6d outstanding support

Solution:
add t6d outstanding support

Verify:
local

Change-Id: Ia9173cbfb0cc2b1861d1a3dc7ae1cfafebe65b5b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-08-27 02:47:34 -07:00
qinglin.li 7b2e4c5340 ddr_tool: use aml_ddr_tool.h as ddr_tool drivers common head file [1/1]
PD#SWPL-182359

Problem:
use aml_ddr_tool.h as ddr_tool drivers common head file

Solution:
use aml_ddr_tool.h as ddr_tool drivers common head file

Verify:
local

Change-Id: Ie2abc7e3405192192b9de65374371b6301934933
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-08-27 02:47:29 -07:00
Jian Hu 5974257103 clk: update hifi pll parameter [2/2]
PD#SWPL-180981

Problem:
improve eARC eye diagram

Solution:
update hifi pll parameter

Verify:
t3x

Change-Id: I181af33e45c3c4df1dfb3968aba121af04aba9e0
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-08-27 02:47:15 -07:00
hai.cao b1cc2bed7a video: video be muted all time when frc on [1/1]
PD#SWPL-176420

Problem:
control mute variable logic error

Solution:
fix it

Verify:
t3x

Change-Id: I1ac2925010b153d91bbd2807d951e4b3a0d09c5f
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-27 02:47:09 -07:00
jie.dai a3b994ddf9 lcd: lcd reserved memory free unused bug fix [1/1]
PD#SWPL-183391

Problem:
1. lrm used-after-free
2. do not free if reserved memory is disabled

Solution:
fix bugs

Verify:
t6d

Change-Id: I9986931fd94fd0ea92ef92ed6b2fdd81c2da8a14
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2024-08-27 01:01:06 -07:00
hai.cao 6aa4723a89 osd: osd flash occasionally when display two osd layers [1/1]
PD#SWPL-183392

Problem:
t5m do not set share afbc core property

Solution:
add share afbc core property

Verify:
t5m

Change-Id: I53e75c19f4092edfd1e19b826ab8f97b96afc20c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-27 01:01:02 -07:00
qiyao.zhou 0d24f992bd di_process: need reset di when I/P switch. [1/1]
PD#SWPL-182680

Problem:
interlace stream switch to 4k, DI NULL point comes out.

Solution:
Add reset flow for this case.

Verify:
t5w

Change-Id: I69100a73cd97cfef315fa4fbc0e588376d6d22ff
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-26 19:55:15 -07:00
hai.cao 72dab5d1ed video: add nonlinear support for 1:1 output [1/1]
PD#SWPL-182744

Problem:
nonlinear can not support 1:1 output

Solution:
change nonlinear logic

Verify:
t6d

Change-Id: Id0ee63bb23966adec7872fa09ef0b75126238707
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-26 05:48:36 -07:00
mingyang.he 0a4a9486ed drm: fix s1a compile error [1/1]
PD#SWPL-183043

Problem:
s1a compile error

Solution:
move mtx_info out of s1a_cut

Verify:
s1a

Test:
DRM-OSD-79

Change-Id: I2877822097d50a4fd6e6476c01b0e00d5b34601f
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2024-08-26 05:48:20 -07:00
can.zhang ac3d7fe01f amvecm: disable hdr10plus ability [1/1]
PD#SWPL-181880

Problem:
hdr10plus func need open or not

Solution:
add code

Verify:
local

Change-Id: I30696cb2ac0df9e98e99f5ac9b57ffdeccd3b95d
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2024-08-26 05:47:31 -07:00
Huqiang Qin 19ea26fbf7 jtag: t6d: support jtag [1/1]
PD#SWPL-180328

Problem:
T6D Silicon Bringup.

Solution:
Change pinctrl node.

Verify:
T6D/BR301

Change-Id: Id16d1a6be8469fd49cc62190297ba32db9ebbd84
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-08-26 02:03:10 -07:00
Chengbing.wu 1f1f2b8ee7 regulator: t6d k5.15 bringup [2/2]
PD#SWPL-180347

Problem:
need to support regulator of t6d;

Solution:
add regulator at br301 & br309;

Verify:
BR301 & BR309 1G & 1.5G

Change-Id: Ia8798d2ba3aaaa45f20ff20c61f9f7962b6390c0
Signed-off-by: Chengbing Wu <chengbing.wu@amlogic.com>
2024-08-26 02:03:02 -07:00
Zhuo Wang 5b4d5df847 eth: fix typo in comment [1/1]
PD#SWPL-183320

Problem:
fix typo in comment

Solution:
fix typo in comment

Verify:
self

Change-Id: I34c83e968d76d629c6949dab9fa0010418b14157
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-25 23:47:37 -07:00
yicheng shen 3f2db139cd hdmirx: modify hdcp22_kill_esm definition type [1/1]
PD#SWPL-183137

Problem:
hdcp_rx22 exit but but not set kill_esm parameter to 0

Solution:
modify kill_esm parameter definition type

Verify:
loki

Change-Id: I35094b8b5c617f7df0598a317625b167e6163f38
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2024-08-25 23:47:31 -07:00
yaoyu.xu 1a217d7705 vdin: t6d close afbc and cut win [1/1]
PD#SWPL-182481

Problem:
screen unnormal when 4096 4k input.

Solution:
close afbc and cut win settings.

Verify:
t6d

Change-Id: I0873def1b7f7a51ba7f689221c4bafa16244c095
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-08-25 23:47:25 -07:00
yaoyu.xu 1c555b58d4 hdmirx: add t6d port sel [1/1]
PD#SWPL-182655

Problem:
can not recognize 4k input.

Solution:
add t6d port sel for i2c communication.

Verify:
t6d

Change-Id: Ibf0704ca0332a2c37fff42da1acc55c32ba5b2fc
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-08-25 23:47:20 -07:00
Jianxiong Pan 515dc6e9a0 mm: set the correct mte tag to tvp. [1/1]
PD#SWPL-180775

Problem:
the user space crash randomly after enabling mte.

Solution:
the page table created by tvp does not have a tag
set, which conflicts with the application.

Verify:
s6.

Change-Id: I64171a0115bc88de290b44f8f54450151ab2931e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-08-23 05:43:31 -07:00
yudong.cai 5ac82550ff vdin: optimize vdin t3x and s5c code [1/1]
PD#SWPL-182617

Problem:
Optimized some code for t3x and s5c

Solution:
Delete some unused codes in t3x and s5c

Verify:
T3X

Change-Id: I2bd6e965a88839afe9be689b90cc8dd0303c2e9d
Signed-off-by: yudong.cai <yudong.cai@amlogic.com>
2024-08-23 05:43:12 -07:00
jing.li1 1e25362795 Smartcard: Add smartcard node to t6d dts [1/1]
PD#SWPL-181551

Problem:
There is no smartcard node in t6d dts

Solution:
Add smartcard node to t6d dts. Disabled for product.

Verify:
Verified on br309

Change-Id: Ie4f079b5009afed55d504628360bf5e77c2a8b35
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-08-23 04:51:03 -07:00
jing.li1 94f260f4b7 CI+: Enable CI+ for T6D [1/1]
PD#SWPL-181552

Problem:
T6D CI+ is not working

Solution:
Enable CI+ for T6D

Verify:
Verified on br301

Change-Id: I8bd1340a93532e618d8d62841886b6d8ad98bd6c
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-08-23 04:50:58 -07:00
jinbing.zhu 43bf91c26c amvecm: t6d modify cgain effect t7c. [1/1]
PD#SWPL-182920

Problem:
t6d modify cgain effect t7c

Solution:
t6d modify cgain effect t7c

Verify:
t7c

Change-Id: Ifed00413f65a05db17aa814b12de7596c5026cc3
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-08-23 04:50:53 -07:00
Pengcheng Chen 29fdb4d2b5 vpp: fix mk_zapper32.sh build error [1/1]
PD#SWPL-183047

Problem:
fix mk_zapper32.sh build error

Solution:
fix mk_zapper32.sh build error

Verify:
mk_zapper32.sh

Change-Id: I1196bbb1b8fba9c458de6d6b0321cd6c40ed2a5b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-08-23 02:06:02 -07:00
shaohui sheng c7acd700df audio: T6D EQ/DRC Driver [1/1]
PD#SWPL-180383

Problem:
Need updata EQ/DRC driver in T6D.

Solution:
updata EQ/DRC driver in T6D.

Verify:
test on locally

Change-Id: Iaf4d289eaf745e18704416bb15103e3e67dd4413
Signed-off-by: shaohui sheng <shaohui.sheng@amlogic.com>
2024-08-23 02:05:57 -07:00
nengwen.chen 49a5e88ba4 atv_demod: fix adec leave timing (V4.01) [1/1]
PD#SWPL-182371

Problem:
fix adec leave timing.

Solution:
fix adec leave timing.
AMLATVDEMOD_VER "V4.01".

Verify:
T5W.

Change-Id: If2924e8d187bdf945cb7212fbde01011d620cad2
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-08-23 02:05:51 -07:00
Yiming Sun f5f702d506 dts: add heap-fb for hal virtual display [2/3]
PD#SWPL-143518

Problem:
hal virtual display need allocate from heap-fb

Solution:
add heap-fb size for hal virtual display

Verify:
t7c

Change-Id: Ibf053288104857dfa4e61b6f3d60399419c76a05
Signed-off-by: Yiming Sun <yiming.sun@amlogic.com>
2024-08-23 02:05:05 -07:00
Wenjie Qiao 34ef11fd45 hdmitx: set segment 0 when read block0/1 under kernel [2/2]
PD#SWPL-169569

Problem:
read edid error after reboot under kernel

Solution:
set segment 0 when read block0/1
read edid use DDC master access in HW TPI mode

Verify:
s5/s7

Test:
DRM-HDMITX-104

Change-Id: I885081b383c041986c54684d0b9225e24dd1e233
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-08-23 02:05:00 -07:00
dian.shao 60e02c5de4 usb: t6d udc str resume err & pll src bug [1/1]
PD#SWPL-182164

Problem:
T6D udc phy reg val reset during
STR leads to udc dead.

pll src switch mode err matching.

Solution:
Don't reset phy reg val during str.
Fix mode switch code.

Verify:
br301

Change-Id: Ibc3a788f3e3dd68e8261b7d5c6d0483eeaff9fce
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-08-22 23:49:39 -07:00
Pengcheng Chen cf4321ce26 vpp: add vsync isr process time trace log [2/2]
PD#SWPL-173097

Problem:
add vsync isr process time trace log

Solution:
add vsync isr process time trace log

Verify:
t3x

Change-Id: I80b37758a1da77021139840ff17454596d789163
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-08-22 23:49:28 -07:00
Gaowei Zhao 33c84eeba1 hdmirx: Fix the issue of flashing green screen [1/1]
PD#SWPL-180536

Problem:
Flash green screen at the end of SDR playback

Solution:
Mute VPP when AVI packets change

Verify:
t5w

Change-Id: Id3c07ef82f7d4e8d59439ba251e48654ecf4fafd
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-08-22 23:49:16 -07:00
jing.li1 febc85e083 Demux: Add api for multi2 [1/2]
PD#SWPL-181881

Problem:
S6 need to support multi2

Solution:
Add api for multi2

Verify:
Verified on bl201

Change-Id: Ifb6d02d198efacea99c1360ec37d2d5de7b79086
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-08-22 23:49:05 -07:00
Pengcheng Chen 9c8c5a859a vpp: add vsync isr process time trace log [1/2]
PD#SWPL-173097

Problem:
add vsync isr process time trace log

Solution:
add vsync isr process time trace log

Verify:
t3x

Change-Id: Ib05c40b5d65ef3807ae7856ae25fd9c5e4ac45a9
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-08-22 23:49:00 -07:00
jiebing chen 7e53e9c214 Audio: add the suspend/resume function for sy602x [1/1]
PD#SWPL-174940

Problem:
need power off the sy602x when suspend

Solution:
add the suspend/resume function

Verify:
s7d

Change-Id: I6227b5f2589520b9b0bb9381c62337c7b078b983
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-08-22 17:42:50 -07:00
Sunny Luo d30056cc9f spicc: reset controller when busy [1/1]
PD#SWPL-183022

Problem:
ldim crash caused by spi abnormal transfer

Solution:
reset spicc controller when busy

Verify:
t5m

Change-Id: I1317e8e5b2ddec6198126e8cd4a9c569f13eb4d5
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-08-22 07:40:49 -07:00
Zhuo Wang e67c1c3ebf eth: t6d wol function [1/1]
PD#SWPL-180288

Problem:
update t6d wol and phy setting

Solution:
update t6d wol and phy setting

Verify:
HW team

Change-Id: I1642b3adc7d75bd07faac47491fd180bb81ec4d6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-22 05:45:10 -07:00
qiyao.zhou c74920acd4 videoqueue: video play would freeze when switch [1/1]
PD#SWPL-182909

Problem:
Repeat put frame when queue buf failed.

Solution:
notify put flow in videoqueue.

Verify:
txhd2

Change-Id: I5369ff41525daa7406e414ea36674030afb83b56
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-22 03:45:46 -07:00
yudong.cai 6cf5e04871 vdin: vrr process optimize [1/1]
PD#SWPL-161088

Problem:
When the vrr is enabled, the input frame rate does not match

Solution:
vrr process optimize

Verify:
t5m

Change-Id: I4eae4093fdb0936b6073308fa054466affb177d0
Signed-off-by: yudong.cai <yudong.cai@amlogic.com>
2024-08-22 03:45:33 -07:00
zhou.ning e39bc5d739 dts: vdin dts modify [1/1]
PD#SWPL-181852

Problem:
reduce vdin1 size.

Solution:
vdin dts modify

Verify:
local

Change-Id: Ieb25994ba6222851761354638cc86918defe411f
Signed-off-by: zhou.ning <zhou.ning@amlogic.com>
2024-08-22 03:45:18 -07:00
congyang.huang 21a607cfc2 drm: enable lcd component for s6 s905d5 [1/1]
PD#SWPL-177195

Problem:
s905d5 support mipi-dsi
s905x5 not support mipi-dsi
drm bind lcd failed in s905d5

Solution:
config s905d5 dts to bind lcd

Verify:
s6

Test:
DRM-OSD-44

Change-Id: I3fb0323c95e6bde29e1b60bedd46009c22fcd8db
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-08-22 03:45:09 -07:00
qiyao.zhou 722d33c179 vicp: display error when hdmi in dv. [1/1]
PD#SWPL-174142

Problem:
vdin support yuv444 8bit fbc data and yuv422
10bit dw data when input dv source, but the
fbc data is tunnel,vicp not support.

Solution:
vicp use dw data for this case.

Verify:
t3x

Change-Id: I0c01a4aaea3c35cff31a394790df5dac19ff1933
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-22 03:44:54 -07:00
Tao Zeng 187ca993ca t6d: amfc: use device config and compress uImage
PD#SWPL-181954

Problem:
uImage not decompressed by AMFC

Solution:
1, change zstd tools to append size at end of uImage;
2, change scripts to support uImage decomperss by AMFC

Verify:
t6d

Change-Id: I2f2465a2247085c150a1c7f42ede688011745071
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-08-22 14:40:36 +08:00
min.yang fc92b7a438 dtv_demod: config agc select on T6D (V3.6.001) [1/1]
PD#SWPL-181805

Problem:
The signal amplitude is low, causing a failure to lock.

Solution:
should config agc select reg for each delivery system.

Verify:
U + T6D

Change-Id: Ib03a619d8045df1bc179ba0524cfb31c1785a4a0
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-08-22 14:27:53 +08:00
jinbing.zhu 0a10ff4b99 amvecm: t6d hdr modify alpha1. [1/1]
PD#SWPL-182223

Problem:
t6d hdr modify alpha1

Solution:
t6d hdr modify alpha1

Verify:
t6d

Change-Id: I0a51cd96ebe37a33fc4e7c66b64277f7f1686528
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-08-22 14:27:53 +08:00