Commit Graph

4222 Commits

Author SHA1 Message Date
Yongjie Zhu f29a4521bc dmaheap: add dmaheap support for g12a [1/1]
PD#SWPL-133665

Problem:
g12a need dmaheap support for kernel5.15

Solution:
add dmaheap support

Verify:
g12a

Change-Id: I2095caae4fb9c40a1ee0e681a61981466d9c8201
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-11-02 11:15:49 +08:00
Yongjie Zhu d06b53a4c8 ion: add ion support for g12a [1/1]
PD#SWPL-133663

Problem:
g12a need ion support for kernel5.15

Solution:
add ion support

Verify:
g12a

Change-Id: I55601737836cdf0c6924b3a8c698a39e06955765
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-11-02 11:15:49 +08:00
Yongjie Zhu 977cbb557c gpu: add mali support for g12a [1/1]
PD#SWPL-133666

Problem:
g12a need mali support

Solution:
add mali support on dts

Verify:
g12a

Change-Id: I18e4fe0b6f746b3703c900b075c75736b3c5962c
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-11-02 11:15:49 +08:00
yuhua.lin 36fd044827 g12a: support osd/video for g12a [1/1]
PD#SWPL-133659

Problem:
support osd/video for g12a

Solution:
complete it

Verify:
g12a

Change-Id: I13732269672b23dcc8d92b4fc560567aba6b1d72
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-11-02 11:15:49 +08:00
Wentao.Sun 5bbaf5f8b7 dts: G12A add optee node [1/1]
PD#SWPL-133365

Problem:
G12A kernel5.15 TEE porting

Solution:
add optee node

Verify:
S905D2_u200 + rootfs

Change-Id: Ia9188cd7a4bd2560fdae46dba999be74e84e6e9c
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2023-11-02 11:15:48 +08:00
Wenjie Qiao fffa18dc50 hdmitx: g12a bringup for 5.15 [1/1]
PD#SWPL-133616

Problem:
g12a bringup for 5.15

Solution:
g12a bringup for 5.15

Verify:
s905x2-u215

Change-Id: Ice75e8603b15dec5bd928c2f689de0302bf54596
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-11-02 11:15:48 +08:00
yuhua.lin a2df7b4c1d ge2d: add ge2d support for g12a [1/1]
PD#SWPL-133653

Problem:
g12a ge2d bringup

Solution:
complete it

Verify:
g12a

Change-Id: Id06e40e97ebce4896459c27aac2197614be23d82
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-11-02 11:15:48 +08:00
yuhua.lin ce885fc1c5 rdma: add rdma support for s7 [1/1]
PD#SWPL-133660

Problem:
kernel5.15 g12a rdma bringup

Solution:
complete it

Verify:
g12a

Change-Id: Iaa28e225c8ddf5fb0c0e864a8930e9fab5f65fef
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-11-02 11:15:48 +08:00
yuhua.lin acfcfbd38f vpu: add vpu support for g12a [1/1]
PD#SWPL-133639

Problem:
kernel5.15 g12a vpu bringup

Solution:
complete it

Verify:
g12a

Change-Id: I33bc0736552ce796208d9f6c4aa511a591100f48
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-11-02 11:15:48 +08:00
Zelong Dong a079906571 dts: arm64: fix pinmux node [1/1]
PD#SWPL-133309

Problem:
some pinmux info was missed

Solution:
fix pinmux node

Verify:
g12a_u211

Change-Id: I199c791834480f2a3d62dbcfff2f94fb50464025
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-11-02 11:15:48 +08:00
Chengbing.wu 69bf402dff regulator: g12a regulator bringup at k5.15 [1/1]
PD#SWPL-133276

Problem:
1. need to support regulator at g12a k5.15;

Solution:
1. add and verify regulator at g12a;

Verify:
g12a_s905x2_u212 #

Change-Id: If0f79ff5fff1873878e2898ab75994d153b10699
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2023-11-02 11:15:48 +08:00
shufei.zhao 7fb3a12f0e iotrace: add iotrace to dts [1/1]
PD#SWPL-133243

Problem:
iotrace test error

Solution:
add iotrace to dts

Verify:
g12a

Change-Id: Iefe1282e29a3178e0993c739c0c6de352d2c0788
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2023-11-02 11:15:48 +08:00
Xingxing Wang 78331e734a thermal: G12A kernel upgrade from 4.9 to 5.15 U power - Thermal/Sensor [1/1]
PD#SWPL-133282

Problem:
g12a thermal bringup on kernel515

Solution:
configure in dtsi

Verify:
g12a

Change-Id: I731eda15c3c9e44d7793dfa7bd3db1d1a69419b7
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-11-02 11:15:48 +08:00
Xingxing Wang 86db5bacc5 dvfs: g12a dvfs bringup of kernel5.15 [1/1]
PD#SWPL-133279

Problem:
dvfs bringup

Solution:
configure in dts

Verify:
g12a

Change-Id: I9781823a7235f653464454aa1bea296a8a46e627
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-11-02 11:15:48 +08:00
xiangyang.yan ed22a91ff8 eth: G12A bringup [1/1]
PD#SWPL-133354

Problem:
G12A bringup

Solution:
G12A bringup

Verify:
S905X2-U212#164

Change-Id: I37130244b575478476858457e4bfe33859669fc3
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2023-11-02 11:15:48 +08:00
shihong.zheng c7d36a68c4 dts: config g12a media dts. [1/1]
PD#SWPL-133672

Problem:
config g12a media related info to dts.

Solution:
config g12a media related info to dts.

Verify:
S905X2

Change-Id: I422111760a0b755c0168417f1d1877c8a999bb07
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2023-11-02 11:15:48 +08:00
junyi.zhao 203c5e53c0 dts: add pwm support for g12a [1/1]
PD#SWPL-133313

Problem:
need support pwm

Solution:
add pwm support

Verify:
g12a u211

Change-Id: Iaf2d858f8b015b1bd14d60aae225328a082e203c
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-11-02 11:15:48 +08:00
Yu Tu 792ff0e2df pci: support g12a pci host driver [1/1]
PD#SWPL-133357

Problem:
need support g12a pci host driver

Solution:
1.add dts config for pci
2.modified irq trigger type for sm1 and g12b

Verify:
g12a_u212

Change-Id: I6d5a25b266c3eecaf0a681c7cef2cdadb10b5f7d
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-11-02 11:15:48 +08:00
dian.shao 245efc7cb2 usb: g12a bringup [1/1]
PD#SWPL-133356

Problem:
G12A kernel upgrade from 4.9 to 5.15 U
Basic Drivers & Storage &General Drivers
- USB

Solution:
modify dts.

Verify:
S905D2_U200

Change-Id: I61b7fa76c9467316fbd34a40a748bf4ab02dce7c
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2023-11-02 11:15:48 +08:00
Feng Chen c1660e12d7 spicc: g12a: add driver support [1/1]
PD#SWPL-133317

Problem:
g12a spicc support.

Solution:
add driver support.

Verify:
g12a_u212

Change-Id: Ia60101044bed16bbf2fc4456895f5cb113aab25a
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-11-02 11:15:48 +08:00
Huqiang Qin 6edee4ccb3 saradc: g12a: support saradc [1/1]
PD#SWPL-133320

Problem:
G12A kernel upgrade from 4.9 to 5.15 U.

Solution:
G12A kernel upgrade from 4.9 to 5.15 U.

Verify:
G12A/U211

Change-Id: I54abbe7ba455e18f122826fcde0c96737e9a1439
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-11-02 11:15:48 +08:00
Huqiang Qin 412cc1bed7 wdt: g12a: support watchdog [1/1]
PD#SWPL-133316

Problem:
G12A kernel upgrade from 4.9 to 5.15 U.

Solution:
G12A kernel upgrade from 4.9 to 5.15 U.

Verify:
G12A/U211

Change-Id: I73ea0b7550789ad6ce3643862c50515575ed828b
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-11-02 11:15:48 +08:00
Dezhen Wang 530db67545 ddr: upgrade the ddr tool to g12a [3/11]
PD#SWPL-133253

Problem:
G12A kernel upgrade from 4.9 to 5.15 U kernel basic - ddr tool

Solution:
G12A kernel upgrade from 4.9 to 5.15 U kernel basic - ddr tool

Verify:
sc2

Change-Id: I8e5995b832d3c54dec176a67a183b4b828cfc343
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-11-02 11:15:48 +08:00
Zelong Dong 55f2dfab1b dts: arm64: update reset node for g12a [1/1]
PD#SWPL-133307

Problem:
update reset node for g12a

Solution:
update reset node for g12a

Verify:
g12a_u211

Change-Id: I576fc46ead6c408f7ee319c98e9b833d20f8cce4
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-11-02 11:15:48 +08:00
Yu Tu 55cb75c227 uart : support uart for g12a [1/1]
PD#SWPL-133353

Problem:
need support g12a uart

Solution:
add g12a uart dts config

Verify:
g12a_u211

Change-Id: I7756ab16dddb145a3e712b3a580015dc94f58e19
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-11-02 11:15:48 +08:00
Zelong Dong e54fcab5c6 ir: add ir controller support for g12a [1/1]
PD#SWPL-133318

Problem:
don't support g12a platform

Solution:
add ir controller support for g12a

Verify:
g12a_u211

Change-Id: I001290dcc1359cce4b1572bcd194916ac0fd0580
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-11-02 11:15:48 +08:00
Zelong Dong 8f118d5535 dts: arm64: update pinmux name [1/1]
PD#SWPL-133309

Problem:
some pinmux name was changed

Solution:
update pinmux name

Verify:
g12a_u211

Change-Id: I22b259384e7fb72b441b9b7138f3a151e8f65b20
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-11-02 11:15:48 +08:00
yiting.deng 64085abf7d vrtc: g12a vrtc bringup [1/1]
PD#SWPL-133272

Problem:
g12a vrtc bringup

Solution:
fix dtsi

Verify:
g12a_u212

Change-Id: I866c65f94401dbfbd00c3bdebc73b75d9ef6df18
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-11-02 11:15:48 +08:00
yiting.deng 5bf6664eef clk: g12a clk tree bringup [1/1]
PD#SWPL-133284

Problem:
g12a clk tree bringup

Solution:
fix dtsi

Verify:
g12a_u212

Change-Id: I115e352b3c6ec6d1b706eaecefe83bb44a379820
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-11-02 11:15:48 +08:00
Yao Jie 35d4a19ea0 reboot: g12a reboot bringup [1/1]
PD#SWPL-133277

Problem:
g12a reboot bringup

Solution:
g12a reboot bringup

Verify:
G12A-S905X2

Change-Id: Ia7ccf5a7b1f2442eaf77d2ba31c293e6927c683f
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-11-02 11:15:48 +08:00
Yao Jie b05be3ff41 mailbox: g12a mailbox bringup [1/1]
PD#SWPL-133281

Problem:
g12a mailbox bringup

Solution:
g12a mailbox bringup

Verify:
G12A-S905X2

Change-Id: I978b4e9c221ffb8511eac9b52eb7bbfdf4b09bd9
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-11-02 11:15:48 +08:00
Huqiang Qin 1eacaadb2d saradc: fix compilation issues [1/1]
PD#SWPL-131207

Problem:
Have compile problem

Solution:
AMLOGIC_IIO_KFIFO_BUF depends on !IIO_KFIFO_BUF

Verify:
SC2/AH212

Change-Id: I4f3197729f37fab5fbf434a1a1f994c1d50e7088
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-11-02 11:15:48 +08:00
shufei.zhao 9f37620f22 dts: add G12A device tree [1/1]
PD#SWPL-133197

Problem:
kernel 5.15 g12a bringup.

Solution:
add dts support

Verify:
g12a

Change-Id: I2945e0f86b6a720c155732d0f4c2676d8a115569
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2023-11-02 11:15:09 +08:00
zhicheng.huang ea1fe2e0c9 dtv_demod: optimize dvbs blind scan progress(V3.5.18) [1/1]
PD#SWPL-142887
PD#TV-95020

Problem:
an error occurred when reporting dvbs blind scan progress

Solution:
1.optimize dvbs blind scan progress;
2.AMLDTVDEMOD_VER V3.5.18

Verify:
t5m, s4d

Change-Id: I9b57c8e7aee41384c9b177e73d6924f2cc8eb91f
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-11-01 11:27:59 -07:00
yaoyu.xu 49707d7d3d hdmirx: clk msr fail [1/1]
PD#SWPL-142053

Problem:
clk msr fail

Solution:
msr clk base on tmds or frl.

Verify:
t3x

Change-Id: If9ac57585924718f36ddceb67bbbb6da5f1b3bc1
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-11-01 11:27:55 -07:00
rong.wang 2442bae586 deinterlace: disable DNR_DM_CTRL bit11 [1/1]
PD#SWPL-143499

Problem:
update demosquito 0x2d60

Solution:
update demosquito 0x2d60

Verify:
t3x

Change-Id: I7380963fb9aec1614e699fa5daf0824b794e7678
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2023-11-01 11:27:51 -07:00
zhenteng.tian ae0c79a643 vq: lower the log level related to fence_file. [1/1]
PD#SWPL-143187

Problem:
ATV set channel lock, serial output fence_ File is NULL printing.

Solution:
lower the log level related to fence_file.

Verify:
T5W

Change-Id: I2625ef22701b5f26b67cccd7cb7f20a4d21eba23
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-11-01 11:27:45 -07:00
qiyao.zhou 89e6682f0b vc: Add dump vframe flow in video_composer. [1/1]
PD#SWPL-142332

Problem:
Add dump vframe flow in video_composer.

Solution:
Add dump vframe flow in video_composer.

Verify:
t3x

Change-Id: I14580743172695c346dd4bfb619aa8afa611a1d4
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-11-01 11:27:41 -07:00
Jianxiong Pan 1923b223e7 dts: reset the dram layout for t7 8g board. [1/1]
PD#SWPL-123863

Problem:
devices can not access the ddr range of 7.5 - 8g.

Solution:
reset the dram layout.
0 - 3.5G
4 - 7.5G
8 - 9G

Verify:
t7.

Change-Id: I9f1b990e28321aa1404e1f1e89580eb99837f3c7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-11-01 11:27:34 -07:00
Jiacai.Liu 4305fac204 common_driver: CB fix kernel compile warn when use gcc 11.4 [1/1]
PD#SWPL-142738

Problem:
kernel compile warn when use gcc 11.4

Solution:
fix the warn error

auto check issue: midagc= min agc, minagc = min agc

Verify:
local

Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
Change-Id: I3f2ffaac88ef3ad2c92525398fe273776740bc5a
2023-11-01 03:59:56 -07:00
Jiucheng Xu 9c95a26750 yaffs2: fix gcc 11 build warning [1/1]
PD#SWPL-142738

Problem:
gcc11 build yaffs2 and say warning for strnlen

Solution:
change the input argument.

Verify:
sc2

Change-Id: I53174c984952fde7e4c6e12fa264da51f4c5136a
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-11-01 03:59:52 -07:00
chuangcheng peng d1d6a6470e demux: ts_clone force tsn_source [1/1]
PD#SWPL-127591

Problem:
tsn_source affect ts_clone

Solution:
force tsn_source, not set at high level

Verify:
not verified

Change-Id: I9a0fb2aa6eed72c88226d5a4fa607fe9c7d3714e
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-11-01 03:59:45 -07:00
Pengcheng Chen 4d61e91e8b osd: add osd afbc reg to recovery [1/1]
PD#SWPL-144251

Problem:
osd afbc reg not recovery

Solution:
add osd afbc reg to recovery

Verify:
t5d

Change-Id: I2c50f93e2380e24c59a3f1a28f2d81740ba99a16
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-11-01 00:23:39 -07:00
lizhi.hu f9cabbe310 lcd: t3x lcd1 pll id fix [1/1]
PD#SWPL-144319

Problem:
t3x lcd1 pll id set to 0

Solution:
change t3x lcd1 pll id to 1

Verify:
t3x_bc302

Change-Id: I3e8d0efeade2d02907a0497ed255de93c21fb72f
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2023-10-31 22:00:05 -07:00
haiyang.ren 8ca60ba10a audio: fix pop sound on zapper [1/1]
PD#OTT-51055

Problem:
There will be a "pop" sound enter suspend STB connect TV with CVBS

Solution:
extended sleep time

Verify:
S805C1-BG201

Change-Id: I08c586e4e506e246088b54f61489794a35c845c8
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
2023-10-31 21:59:58 -07:00
bowen cheng 9b8c433683 cec: self polling mode only for ceca [1/1]
PD#SWPL-142802

Problem:
soundbar need polling two logicaddr
self polling mode will clear one of it

Solution:
self polling mode only for ceca

Verify:
AB31A9-T962E2

Change-Id: I258308c8fde54f1df2aeff6784f2b546826976e5
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2023-10-31 21:59:53 -07:00
zhixian.peng 97b3521c27 Automotive U: bringup mercury 5.15 kernel [3/3]
PD#SWPL-137969

Problem:
add dtsi file for bringup mercury 5.15 kernel

Solution:
add mercury dtsi file

Verify:
local

Change-Id: I94f874ee6ceac1199b39e6b02e44750f1d2c2c8a
Signed-off-by: zhixian.peng <zhixian.peng@amlogic.com>
2023-10-31 19:15:56 +08:00
ruofei.zhao 8d0286bebe hdmitx21: add the SSPLL on S5 for EMI [1/1]
PD#SWPL-124126

Problem:
lack the SSPLL for EMI under 1080p/i or 720p

Solution:
add the SSPLL for EMI under 1080p/i or 720p

Verify:
S5/AX201-S928X

Test:
DRM-TX-41

Change-Id: Id67ecc9353e6cb1d2f64de2c9abd84d7e7453270
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2023-10-31 03:56:10 -07:00
mingyang.he 6a3b2c9a94 drm: fix coverity error about kernel 5.15 [1/1]
PD#SWPL-134424

Problem:
coverity check fail

Solution:
fix errors

Verify:
t7

Test:
DRM-OSD-37

Change-Id: I9527e1c3dcfc698eaf95a5a276282e51e3be68f9
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-10-31 03:17:38 -07:00
zongdong.jiao 1c956707fb hdmitx: correct the audio param [1/1]
PD#SWPL-143197

Problem:
No mat audio output via i2s

Solution:
correct the audio param

Verify:
t7/an400

Test:
DRM-TX-33

Change-Id: Id3d5624941cd6a50564ecca1d0d632f56ddb70e2
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2023-10-30 23:33:39 -07:00