Commit Graph

3346 Commits

Author SHA1 Message Date
hai.cao 9aba9dba41 osd: osd2 can not display [1/1]
PD#SWPL-120805

Problem:
RDARB reg should set to 0

Solution:
set RDARB reg to 0

Verify:
S1A

Change-Id: I2c8a45be2cdacb1fc1f8908935fee817c18c1947
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-08-15 10:36:48 +08:00
hai.cao 10dd996cf6 osd: add osd support [1/1]
PD#SWPL-120805

Problem:
add osd support

Solution:
add this support

Verify:
S1A

Change-Id: I4a912375fee504ffe32dd53f66d6819075e5015b
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-08-15 10:36:48 +08:00
hai.cao 8baabd4141 rdma: add rdma support [1/1]
PD#SWPL-120804

Problem:
add codec_io rdma canvas support

Solution:
add these support

Verify:
s1a

Change-Id: If62b9344a5550a905cd2199cfebfebedb6112746
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-08-15 10:36:48 +08:00
mingyang.he db5f5c5038 drm: reset fbdev1 size [1/1]
PD#SWPL-123936

Problem:
fb1 need 360p size

Solution:
specify the size of fb1 separately

Verify:
s4d

Test:
DRM-OSD-68

Change-Id: Ib6cbb62d66ad8ec724a8a29cbb549a7847eea450
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-08-15 10:36:48 +08:00
Wenjie Qiao 334933f183 hdmitx: s1a bring up [2/2]
PD#SWPL-120803

Problem:
s1a bring up

Solution:
s1a bring up for kernel

Verify:
s1a pxp

Change-Id: I491a975da54d3ba3043fd416b7147870de8966ef
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-08-15 10:36:48 +08:00
shihong.zheng 980d4b4001 s1a: s1a decoder bringup. [1/1]
PD#SWPL-120725

Problem:
s1a decoder bringup

Solution:
s1a decoder dts config

Verify:
pxp

Change-Id: I6c67e6437185ee60fb9f489ca890380369d35fb8
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2023-08-15 10:36:48 +08:00
junyi.zhao 7d4c307f5f i2c: s1a i2c bringup [1/1]
PD#SWPL-120777

Problem:
need support i2c driver on kernel

Solution:
support i2c driver

Verify:
s1a pxp

Change-Id: If5d653a5abcf3427b47ea6bb9f842ed9d9893c0c
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-08-15 10:36:48 +08:00
Yan Wang f5f0bcca31 dts: S1A support SMP/Hotplug. [1/1]
PD#SWPL-120772

Problem:
S1A SMP/Hotplug

Solution:
S1A SMP/Hotplug

Verify:
PTM

Change-Id: I5ed5969484f331f1dd864ceb69a1e1d2af2d552a
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2023-08-15 10:36:48 +08:00
qinglin.li 946f6bcc61 ddr_tool: s1a dmc pxp bring up [1/1]
PD#SWPL-120770

Problem:
s1a dmc pxp bring up

Solution:
s1a dmc pxp bring up

Verify:
pxp

Change-Id: Ia066c0225bcae5d2974ba21962965905f5883fbc
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-15 10:36:48 +08:00
hai.cao 0a69aa57c0 vpu: add vpu support [1/1]
PD#SWPL-120800

Problem:
add vpu support

Solution:
add vpu support

Verify:
S1A

Change-Id: I47c2bb830cc2e98d411dcf363b015a68b02d7986
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-08-15 10:36:03 +08:00
yiting.deng 8e519b50e2 vrtc: s1a vrtc bringup [1/1]
PD#SWPL-123016

Problem:
s1a vrtc bringup

Solution:
s1a vrtc bringup

Verify:
pxp

Change-Id: I84f9d889af1de0fedafa6c6d69b46d73793494ff
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-08-15 10:36:03 +08:00
Zelong Dong 73127f71a3 pinctrl: s1a: support pinctrl & gpio function [1/1]
PD#SWPL-120775

Problem:
s1a need support gpio & pinctrl

Solution:
add s1a pinctrl data

Verify:
s1a_pxp

Change-Id: I06e789a2ab621d4bf3756dcdff6e13ec4a13d8f9
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-08-15 10:36:03 +08:00
Yao Jie a5531b4969 mailbox: s1a mailbox pxp bringup [1/1]
PD#SWPL-120782

Problem:
s1a mailbox pxp bringup

Solution:
configure s1a dtsi to bring up s1a mailbox

Verify:
PXP

Change-Id: I022e451c0758728e4cbeeaa8e55a9fab24eabd62
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-08-15 10:36:03 +08:00
Chuan Liu 43b35e9123 clk: s1a: clock tree bringup [1/2]
PD#SWPL-120773

Problem:
clock tree bringup for s1a

Solution:
add support

Verify:
pxp

Change-Id: I21040ed89cbd969bf71c250ef97b55592e4a43cb
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2023-08-15 10:36:03 +08:00
hongyu.chen1 5f473e322c S1A: add power domain. [3/3]
PD#SWPL-120910

Problem:
s1a need power domain.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: Iffb97862c55034de94806a21aace59aab023526e
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-08-15 10:36:03 +08:00
Qianggui Song d258a3a585 reset: add s1a reset driver data [1/1]
PD#SWPL-120780

Problem:
s1a bringup need reset driver support

Solution:
add s1a reset driver data

Verify:
s1a_z1

Change-Id: I563a230435169795bf28990781c9029367fcea8c
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-08-15 10:36:03 +08:00
yao zhang1 2b4b1498be bringup: Add s1a dts and dtsi. [1/1]
PD#SWPL-119565

Problem:
Bringup s1a.

Solution:
Add s1a dts and dtsi.

Verify:
s1a pxp

Change-Id: I7cb15ac0fa2365ec417bb3d0dea9308fd8a6cc47
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-08-15 10:36:02 +08:00
qiang.liu a5a061b4b2 vdin: dv debug optimize [1/1]
PD#SWPL-129268

Problem:
dv log need optimize

Solution:
dv debug optimize

Verify:
t5m

Change-Id: Ia0ae20a66207fea6c8346c075a437416b519b79a
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-08-14 15:48:33 -07:00
Jiucheng Xu eed779ee21 fuse: Add fuse bpf support for cts [1/1]
PD#SWPL-132090

Problem:
gki_config doesn't include FUSE_BPF on 32bit which cause cts failed.

Solution:
Add CONFIG_FUSE_BPF to amlogic config

Verify:
S4

Change-Id: I191c56dcce84c1ad85bd37c4f2589d555048166c
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-08-14 07:48:34 -07:00
qiyao.zhou ff2540aec4 vc: none-tunnel need support crop for AFBC. [1/1]
PD#SWPL-135833

Problem:
None-tunnel need support crop for AFBC compress.

Solution:
Modify vframe crop calculate flow in VC.

Verify:
SC2

Change-Id: I4c72746bee21cf7a3c03db32a0207c03819a092e
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-08-14 05:58:52 -07:00
Pengcheng Chen 74303dbc31 vpp: add vd1 afbc interlace support [1/1]
PD#SWPL-135368

Problem:
add vd1 afbc interlace support

Solution:
add vd1 afbc interlace support

Verify:
ohm

Change-Id: I28410b1226ce5ae083429384e731cf2065d03dcb
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-08-14 03:49:00 -07:00
wei huang 5146a48668 audio: Move pcm trigger to component for tdm [1/1]
PD#SWPL-133400

Problem:
For kernel version 5.15,the open source code change
sequence of closing ALSA device.It close CPU DAI first
and then close codec DAI. It will cause pop noise.
And there is also hardware issue for pop noise.

Solution:
1.Change this sequenceZ.Close codec DAI first and then
close CPU DAI.
2.Fix this hardware issue by mute.
3.Increase gain step.

Verify:
Test on board T5M. It works well now.

Change-Id: Ie86e395e92d62ae5ba08b16e145b679730964a63
Signed-off-by: wei huang <wei.huang@amlogic.com>
2023-08-14 01:58:49 -07:00
Pengcheng Chen 7456563cf2 vpp: disable aisr vd1 when in small window [1/1]
PD#SWPL-134042

Problem:
frc on/off and aisr on/off limited each other caused
frc on/off frequently

Solution:
disable aisr vd1 when in small window

Verify:
t3x

Change-Id: I7bef824bf42caea51e4ad385e4d648cea68fe0c3
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-08-14 01:58:45 -07:00
Qianqiang Liu 1522d66bbc dts: Add s4_s905y4_ap222_linux.dts [1/1]
PD#SWPL-136080

Problem:
32-bit kernel-5.15 needs to support S4_AP222 board, so a new dts
which is s4_s905y4_ap222_linux.dts must be created

Solution:
Add s4_s905y4_ap222_linux.dts

Verify:
S4_AP222

Change-Id: I6aec4dd947aeee651b9f986c96dc2781dc435b47
Signed-off-by: Qianqiang Liu <qianqiang.liu@amlogic.com>
2023-08-14 01:58:37 -07:00
yuhua.lin b9eb5881e9 video: add src_crop struct for decorder source crop [1/1]
PD#SWPL-130228

Problem:
tunnel mode need support src_crop for AFBC compress.

Solution:
add scr_crop struct

Verify:
SC2

Change-Id: Id8066efd57ba32cb92b87276fc77cda342662fea
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-08-13 23:48:43 -07:00
Bichao Zheng baa120160b spifc: add buildin support [1/1]
PD#SWPL-135127

Problem:
no register driver on buildin.

Solution:
add register driver on buildin.

Verify:
C3

Change-Id: Ie7d0cb27f936dfff1419f2cad65dc234b68a0b49
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2023-08-13 21:58:49 -07:00
mingyang.he 9bfc3758ed drm: t3x sort by zorder to select din [1/1]
PD#SWPL-116914

Problem:
single osd3 cannot display

Solution:
select osdblend din by osd zorder and crtc index

Verify:
t3x-bc302

Test:
DRM-OSD-53

Change-Id: I427bf68fc3d40aabf2daa82b744093bcaf04137d
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-08-13 21:58:40 -07:00
Jian Hu 628eebb0c6 clk: optimize sys pll setting time [1/1]
PD#SWPL-136018

Problem:
optimize sys pll setting

Solution:
1.remove the unused frequency
2.remove cpu_dyn_clk 1G settings, add
it in probe avoid cpu is 24M during dvfs
3.remove deadcode in clk-pll.c

Verify:
t3x

Change-Id: I64ee9483b1821410029d315f06b83f9748009db3
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-08-13 21:58:36 -07:00
haitao.liu d18b8d4443 vdin: high frequency vsync interruption cause system crash [1/1]
PD#SWPL-132443

Problem:
Hdmirx generated vsync interruption with high frequently,
often more than 320000 times per second,cause system crash.

Solution:
Call the reset function from Hdmirx to recovery when
detect this abnormal state

Verify:
t5w

Change-Id: I7e53e52345358feee65744ca6c0d9805d8731f02
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-08-13 03:58:40 -07:00
jintao xu 428b75c8cf vpp: mute should not set vcbus reg [1/1]
PD#SWPL-134952

Problem:
display err when call mute

Solution:
mute not set vcbus reg

Verify:
T5m

Change-Id: I3a10ac57e58bebf7ef7102dd6986791e4a4ed415
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2023-08-13 03:58:35 -07:00
peixing.mai 8d5b807778 tsync: CB2 Live TV video playback stuck. [1/1]
PD#SWPL-134478

Problem:
1. Abnormal PCR results in fast video switching

Solution:
1. Optimize video discontinuous processing logic

Verify:
T5D

Change-Id: I9b32c13e0495907d0ee32d492aa7cec18b13a8cc
Signed-off-by: peixing.mai <peixing.mai@amlogic.com>
2023-08-11 01:59:13 -07:00
Song Zhang ca5eec3f6c Audio: enable earc [1/2]
PD#SWPL-125362

Problem:
enable earc

Solution:
enable earc

Verify:
use A311D2_AN400 revC

Change-Id: Id208dc20e3e2d9d4b86d22199980cbe1176f079d
Signed-off-by: Song Zhang <song.zhang@amlogic.com>
2023-08-11 01:15:30 -07:00
Qinglin Li 8c3c51983b Revert "modules: remove modules out list [1/2]"
This reverts commit 6ea7d6e204.

Change-Id: Id5ffc6e06cdb384ed31f3d3f9dfb43e02014d1da
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-10 21:48:59 -07:00
Bichao Zheng 71225d83b0 nand: adjust the use of DMA [1/1]
PD#SWPL-135072

Problem:
fix ecc timeout.

Solution:
1. add dma_sync_single_for_cpu before read info.
2. remove invalid code

Verify:
S4

Change-Id: Ia7ba219d1e15415eea1507b9f864e1e81f8b6225
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2023-08-10 21:48:55 -07:00
jinbing.zhu db909f4432 amvecm: 515 modify amvecm coverity error [1/1]
PD#SWPL-134418

Problem:
modify coverity error

Solution:
modify coverity error

Verify:
t3

Change-Id: Ie246eec303efb698f352c88b62e203843a40eb20
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-08-10 21:48:52 -07:00
Tianhua Sun 66ab66772b uvm: add api to get timestamp from vframe [2/2]
PD#SWPL-132413

Problem:
need add api to get timestamp from vframe

Solution:
add api to get timestamp from vframe

Verify:
ohm

Change-Id: I1da571134ec677d2129caa919da11ad116ddc013
Signed-off-by: Tianhua Sun <tianhua.sun@amlogic.com>
2023-08-10 21:48:37 -07:00
qiankun.wang e1d5f7dc52 secmon: filter out secure monitor region [1/1]
PD#SWPL-135009

Problem:
The function 'within_secmon_region' can
not filter out secure monitor region.

Solution:
'within_secmon_region' will get the
'secmon_start_virt' from the dts,and filter
out secure monitor region.

Verify:
SC2

Change-Id: Ie434e66d2b7ca6f269c7f8c0e06e1f53807b8a24
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-08-10 06:19:31 -07:00
jialong.jiang c6db617254 hdr/dv: updata kernel node by uboot mode. [1/1]
PD#SWPL-135086

Problem:
when kernel and uboot modes are different,
hwc will set mode.

Solution:
updata force_output and hdr policy,
updata force_mode and dv policy.

Verify:
sc2.

Change-Id: I4e7551eee2ac9ffee0b4ed27cbcc6f5df21ae6bf
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-08-10 06:19:10 -07:00
dongfei.li a8b7aa0dee frc: frc chg loss reg setting [1/1]
PD#SWPL-134281

Problem:
slice reg can't changed

Solution:
slice reg init flow

Verify:
T3X

Change-Id: Idc10538ee5b897b78bbcd5600d3ba43273d2ef83
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-08-10 02:28:53 -07:00
mingxiu.sun d9b597d4ae vdin1: vdin1 reserved cma alone [1/1]
PD#SWPL-135083

Problem:
dtmb 1080i sreencap failed

Solution:
txhd2 only need screencap 720p, modify cma alone 6M

Verify:
txhd2 kernel515

Change-Id: I46a4e2d007bd603a0640071ce433f455fe161b4b
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-08-09 23:48:53 -07:00
gerrit autosubmit 1d6b68c40d Merge "lcd: t3x optimize tcon clk setting [2/2]" into amlogic-5.15-dev 2023-08-09 23:48:43 -07:00
huijie.huang 2e57b918c7 lcd: t3x optimize tcon clk setting [2/2]
PD#SWPL-132656

Problem:
Need to optimize t3x tcon clk setting

Solution:
t3x set tcon_clk after pclk configured

Verify:
T3X BC302

Change-Id: I7649482a2cdcbaee2a46985a95485888d99ca962
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2023-08-09 23:48:42 -07:00
qinglin.li 6e3847df45 module: module number error when ramdisk modules is null [1/1]
PD#SWPL-135285

Problem:
module number error when ramdisk modules is null

Solution:
fix module number error when ramdisk modules is null

Verify:
local

Change-Id: I6061367f4c0b7a387fd47f28c33cdb4e395cb854
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-09 21:59:25 -07:00
qi duan 18e48a403c powerdomain: usb power domain don't turn off when suspend [1/1]
PD#SWPL-134271

Problem:
usb power domain turn off when suspend,
it will default some usb register setting
then it will cause some usb device can not be used

Solution:
don't turn off usb powerdomain when suspend
other chips are all this setting

Verify:
A1 t404

Change-Id: Iba1db2fd3a7f9e9920da50d638a450b4840645f2
Signed-off-by: qi duan <qi.duan@amlogic.com>
2023-08-09 21:59:21 -07:00
Hanjie Lin 875fa4747f isolcpus: add amlogic support and boot optimize [1/1]
PD#SWPL-119598

Problem:
system is too slow because the cpu5 is turned off
at system startup.

Solution:
turn on the cpu5 at system startup.

Verify:
SC2

Change-Id: I738fccb70c96d6495b314fa51cf319d5800c75a0
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2023-08-09 21:58:46 -07:00
xiaolong xu d1b44c4c74 dtv_demod: Adjust the sensitivity limit of atbm253 in DTMB(V3.4.005) [1/1]
PD#SWPL-134716
PD#TV-87923

Problem:
Unplug the DTMB signal cable, there will be no signal for about 3 seconds.

Solution:
Adjust the sensitivity limit of atbm253 tuner in DTMB mode.

Verify:
T950S-BE311

Change-Id: Ib47055ee0b0fc429c72c87b71c48b756708f7c8c
Signed-off-by: xiaolong xu <xiaolong.xu@amlogic.com>
2023-08-09 19:58:37 -07:00
qiankun.wang f5412875b9 secmon: modify the wrong config [2/2]
PD#SWPL-135009

Problem:
The config 'CONFIG_AMLOGIC_SEC' has been
converted to CONFIG_AMLOGIC_SECMON.

Solution:
delete the config 'CONFIG_AMLOGIC_SEC',and
add the config 'CONFIG_AMLOGIC_SECMON'.

Verify:
SC2

Change-Id: I664ce36b86af24ff3e92adcf31f6149ecf381dcb
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-08-09 04:29:35 -07:00
junwei.ma 5fd8ebd57e ISP: [isp][driver] SM1 ov5640 specify for ubuntu [1/1]
PD#SWPL-134178

Problem:
1.1080P can't output RGB
2.can't enum fmt
3.nv21/nv12 bytesperline error

Solution:
1.add 1080P RGB output logic
2.enum one time
3.correct the bytesperline

Verify:
ok

Change-Id: I0d10a862a45d4980b8e57798dddcadc78b3b5abe
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-08-09 04:29:17 -07:00
qing.zhang 4457fb8451 audio: pdm clk issue for lower/normal power [1/1]
PD#SWPL-128467

Problem:
1. when suspend && resume, the dclk sometimes not change to hifi

Solution:
add set parent instead of write reg directly

Verify:
t5m

Change-Id: I62509c2d71a4d3710e9f9fd9359c78397d0e8461
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2023-08-09 04:28:43 -07:00
qinglin.li 19c65c43b3 dmc_monitor: arm need check memory map [1/1]
PD#SWPL-132402

Problem:
read no map memory failed when arm build

Solution:
check memory map when arm build

Verify:
local

Change-Id: I9219cf796b2091bed31df485d18621887a50c491
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-08-09 02:59:07 -07:00