Commit Graph

611 Commits

Author SHA1 Message Date
dian.shao 57248cecc8 usb: s7 bringup [1/1]
PD#SWPL-152414

Problem:
s7 silicon bringup

Solution:
dts

Verify:
s905y5_bh201

Change-Id: Ide0e60d7c064628981e8990e3879083e342b0e04
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-01-22 20:29:08 +08:00
junyi.zhao ee9246b915 pwm: add pwm tee driver for s7 [1/2]
PD#SWPL-135758

Problem:
there is no s7 pwm tee driver

Solution:
add pwm tee  driver

Verify:
s7 pxp

Change-Id: If1ec9b943340687173827e114df1207001ec2daa
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2024-01-22 20:26:23 +08:00
junyi.zhao 3c18b3a3a6 pwm: add pwm driver for s7 [1/1]
PD#SWPL-135758

Problem:
there is no s7 pwm driver

Solution:
add s7 pwm driver

Verify:
s7 pxp

Change-Id: I794ec36605b1241e4a3fabddd4012877c73a490c
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2024-01-22 20:26:22 +08:00
qinghui.jiang 58362fe7f2 amvecm: s7 pxp bringup [1/1]
PD#SWPL-135077

Problem:
s7 pxp bringup

Solution:
s7 pxp bringup

Verify:
s7

Change-Id: If46d675fa1d58a174a03263d501eaac7f78dd0bd
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-01-22 20:26:22 +08:00
yuhua.lin ad6f27d599 s7: add support for codec_io/canvas/rdma [1/1]
PD#SWPL-135792

Problem:
s7 codec_io/canvas/rdma bringup

Solution:
complete it

Verify:
ptm

Change-Id: Iea6cf27abb32e332ca76856d3ccb6dc9c219eac5
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-01-22 20:26:22 +08:00
chen.xu 398fdf7541 aipq: t5m only aipq or pq do hist [1/1]
PD#SWPL-151874

Problem:
need do aipq for T5M.

Solution:
modify code to support.

Verify:
T5M

Change-Id: Ief28052e1df8f67fff4e291319511d48ca6e2075
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-01-20 20:40:37 +08:00
Pengcheng Chen 1b2dd43c00 vpp: w_in size need aligned for amdv [1/1]
PD#SWPL-153961

Problem:
w_in size need aligned for amdv

Solution:
w_in size need 4 aligned for amdv 2 slice
w_in size need 2 aligned for amdv 1 slice

Verify:
t3x

Change-Id: Ia79f892db4807b0da61f7e246d0a21717d4f42d3
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-20 20:40:37 +08:00
yao liu 383aae0a2e amdv: add pre-vsync rdma interface [1/1]
PD#SWPL-141555

Problem:
add pre-vsync rdma interface

Solution:
add pre-vsync rdma interface

Verify:
t3x

Change-Id: I8ad2d4be5aab12bbdde40085ef39dad2654c6213
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-01-20 19:49:58 +08:00
qiang.liu d6141554e2 tvafe: optimize format detected process [1/1]
PD#SWPL-148476

Problem:
format detected maybe error

Solution:
optimize format detected process

Verify:
t5m

Change-Id: Ic7354ad0f02503f7b33d8f1a3307e33083bedde8
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-20 19:49:03 +08:00
Pengcheng Chen 5fbf4fc8fe vpp: separate vd1 slice input for amdv [1/1]
PD#SWPL-151864

Problem:
dv not support different size for two slice

Solution:
vpp config same size for vd1 two slice, it means that
dv input size is same for two slice and overlap is
fixed 96. dv output size maybe different, it depends
on vpp slice[0].hsize and slice[1].hsize

Verify:
t3x

Change-Id: I9986a84968e63939843996ae59d42d82c7707c67
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-20 19:48:24 +08:00
Junyi Zhao b7953885b1 pwm: add hibernate support [1/1]
PD#SWPL-145756

Problem:
need hibernate support

Solution:
add hibernate support

Verify:
T7C an400

Change-Id: I8cfeabdcc4450daaef74b85d2e4cc277c0ddfcb3
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-01-20 19:47:45 +08:00
zhiwei.zhang f135c0582e camera: video support v4l2 dma buffer [1/1]
PD#SWPL-145596

Problem:
video driver not support dam buffer.

Solution:
1. using v4l2 vb2 framework. support dma buffer import & export.
2. ov5640 output 1080p 30fps. ge2d convert to video buffer.
3. support 1920x1080 1280x720 640x360 size;
4. mmap support cache. io-mode mmap ok;

Verify:
s905d3 ac200 board.

Signed-off-by: zhiwei.zhang <zhiwei.zhang@amlogic.com>
Change-Id: Ia69fd7ca313a77f72e9f3948da0c51020d84145f
2024-01-20 19:46:05 +08:00
yahui.liu a5bb03ae66 hdmitx: update hdmitx version [1/1]
PD#SWPL-151748

Problem:
update hdmitx version for release.
sabrina u / kernel 5.15: hdmitx driver refactoring
sabrina release base from trunk11.20
audio mat question modified by cl:380286

Solution:
update hdmitx version

Verify:
verify on ohm

Test:
DRM-TX-40

Change-Id: Ie5ccf28423bbcecfdaddaf97a64fbfd692c3bf23
Signed-off-by: yahui.liu <yahui.liu@amlogic.com>
2024-01-20 19:42:30 +08:00
qinghui.jiang 03db59458b amvecm: ai pq no scene change [1/1]
PD#SWPL-150247

Problem:
cm hist no update.

Solution:
modify code flow for cm hist update.

Verify:
t3x

Change-Id: I2a4260e98dc249b60040ab914cd9a2e941c58806
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-01-20 19:41:34 +08:00
Huijuan Xiao 2602e965a6 aipq: new frame do aipq scene change [1/1]
PD#SWPL-150752

Problem:
repeat frame cause scene change early.

Solution:
modify new frame do scene change detection.

Verify:
t5m

Change-Id: I1c798fb8da3308c1778184ce751263062bdea81f
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-01-20 19:40:17 +08:00
Pengcheng Chen d9b84ca7be vpp: overlap size separate for amdv [1/1]
PD#SWPL-145367

Problem:
overlap size separate for amdv

Solution:
overlap size separate for amdv,input 96,output 32

Verify:
T3X

Change-Id: Ie643d5872955bb95aa1e177f69b8f2d5a6f3a021
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-20 19:34:31 +08:00
Huijuan Xiao dbaf140d3c amvecm: add osd pq setting [1/1]
PD#SWPL-141758

Problem:
add brightness contrast color adjust for osd.

Solution:
add brightness contrast color APIs for osd.

Verify:
t5m

Change-Id: Ie2e2b463adf920aeb7ed5fa9e972325cbf778f01
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-01-20 18:45:40 +08:00
xinli.gao c454cd4d9e uvm: set parameters for gralloc [5/5]
PD#SWPL-145570

Problem:
code refactoring to determine allocating
buffer's size between Gralloc and Codec2

Solution:
set parameters to node for gralloc

Verify:
txhd2

Change-Id: I5812b4bf23b2697ebaf33674b7cb2dcc88025eba
Signed-off-by: xinli.gao <xinli.gao@amlogic.com>
2024-01-20 18:44:19 +08:00
Sunny Luo aa090fe953 spicc: add dma transfer by vsync/line-n triggering support [1/1]
PD#SWPL-147512

Problem:
LDIM requires a strict timing sequence to match with the vsync signal

Solution:
SPICC supports vsync/line-n triggering control, Add a interface to
start/stop the vsync triggering transfer for LDIM
Porting from 5.4 1f62b7d1

Verify:
t3 t982

Change-Id: Ida2f63cbe318dceebbe97514e41a588e4ea143d4
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-01-20 18:37:23 +08:00
jialong.jiang 2ee1d70ab8 dv: AISDK needs to be merged into trunk. [1/1]
PD#SWPL-134510

Problem:
End-User Calibration.
automatic playback potimization.
lightsensor.

Solution:
add user sample cfg interface,
apo driver reports content type by uevent.
lightsensor.

Verify:
t5m.

Change-Id: Idc193083424f6420ae774abf3b3e39181f127c05
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-01-20 18:35:59 +08:00
MingLiang Dong f8c915c3c1 amvecm: fix dma dnlp hist error [1/1]
PD#SWPL-142489

Problem:
dnlp hist get error from dma table.
root cause is size config error

Solution:
fix error size

Verify:
verify on T3X

Change-Id: If568a30d9274a2ea30098b51046875d1e226f579
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2024-01-20 18:35:55 +08:00
MingLiang Dong 90faf15a52 amvecm: fix flicker when enable ai color [1/1]
PD#SWPL-147148

Problem:
enable ai color flicker

Solution:
change to rdma write regs

Verify:
verify on T3X

Change-Id: Ic81067a458a2fd3320ef917b9d90e31b7cecb156
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2024-01-20 18:32:54 +08:00
Doosan Baek 8fb448c3f0 KT: modify key clean for IV slot [1/1]
PD#SWPL-147883

Problem:
IV slot does not need cleaning.

Solution:
IV slot is not clean.

Verify:
S1A

Change-Id: Id5f9bf3b95573cacb53de2e85796b10ce96ea7be
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-01-20 18:26:42 +08:00
Liang Yang 8c6534c33a spi-nand: device encryption [1/1]
PD#SWPL-130883

Problem:
need to support inline partition encryption

Solution:
add support inline partition encryption in
spi nand driver

Verify:
s1a

Change-Id: Iadb9b9ae121939ef37a3abbd603a5eec17500739
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
2024-01-20 18:25:59 +08:00
mingxiu.sun c5a4d0286e vdin & hdmirx: modify colorimetry delivery method [1/1]
PD#SWPL-125462

Problem:
open the HDMI2.0 ,the color of image is changed

Solution:
add vf info for colorimetry

Verify:
t5m kernel5.15

Change-Id: I126786f130d59fe2977ad8ea46b921aadd302d67
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-01-20 18:25:17 +08:00
Feng Chen f35d3cad48 nand: slcnand & spinand: fix mutex deadlock [1/1]
PD#SWPL-142875

Problem:
deadlock will happen in mark bad block process.

Solution:
add rsv-ops interface in rsv-manage to avoid deadlock.

Verify:
c3

Change-Id: I3841a8d3ca8c8f48142828b03ba9aefdf21adc62
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-01-20 18:22:58 +08:00
yao liu 6cb5f3e5f1 amdv: hdmi in top1+top2 idk case [1/1]
PD#SWPL-141054

Problem:
hdmi in top1+top2 idk case fail

Solution:
1.add top1 rdmif config for hdmi
2.modify chroma fmt to p444 for hdmi
because vdin dw is 444-10
3.support variable_fps
4.update hist read id only when vf content changed, to match
hist delay with cmodel

Verify:
t3x

Change-Id: Ib5a9bbb266d2105f4729afa12347ee8eb80fae3a
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-01-20 15:18:45 +08:00
shufei.zhao d458c3658c unifykey: auto attach after flash probe [1/1]
PD#SWPL-143927

Problem:
unifykey ready too late

Solution:
attach after flash probe

Verify:
g12b

Change-Id: I637874304ea70f34074d32ac08c4728a1b80cef8
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2024-01-20 15:17:05 +08:00
Huijuan Xiao 5d9ad35b1b aipq: t5m support aipq [1/1]
PD#SWPL-138322

Problem:
t5m support aipq.

Solution:
add t5m aipq flow.

Verify:
t5m

Change-Id: Iaf01c6edb512bbea01ebedeedd770869a25b7ad4
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-01-20 15:13:38 +08:00
Jian Cao 72f7f8c176 media: delay clk/power/irq init for ge2d/dewarp [1/1]
PD#SWPL-144572

Problem:
dewarp/ge2d interrupt resource usage between RTOS and Linux

Solution:
To avoid interfering with RTOS clock/power/interrupt resources,
turn on and keep power/clk first.
Poll the status of rtos,
then turn off power/clk and register interrupt.

Verify:
T7C

Change-Id: Ie2a3ae61df97c594324ffb3dde68d41250c946e3
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-01-20 15:13:07 +08:00
zhikui.cui dd33b6c7fd nand: support driver for T5D [1/1]
PD#SWPL-129598

Problem:
need support nand driver for T5D bringup

Solution:
select FixDiv2PLL clock source in module

Verify:
AM301_T950D4

Change-Id: Ida6b579062937fc3089583de300a69ec8ddfde91
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-01-20 15:07:39 +08:00
jian zhou bc820b20fb audio: reset hpd when earc resume [1/1]
PD#SWPL-145468

Problem:
when suspend & resume, heartbeat lost,so earc disconnected

Solution:
when resume, reset hpd for earc discovery.

Verify:
t5m

Change-Id: I522108773d1f0262b2503e9c48126bd043184ea2
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-01-20 15:07:05 +08:00
linfang.zhao 0ca74885d6 drm: add mute plane interface [3/3]
PD#SWPL-143936

Problem:
show or hide video does not work

Solution:
add mute plane interface

Verify:
AP222

Test:
DRM-OSD-111

Change-Id: Ib5898c9a0bc3201d397a3a33a9c073f0799c3aee
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
2024-01-20 15:02:49 +08:00
Xingxing Wang fc6b5a6abd thermal: add media cooling device on txhd2 [1/1]
PD#SWPL-141014

Problem:
txhd2 need to add media related thermal control

Solution:
1. add media cooling device. media module should call
media_cooling_register to register the cooling device.
and usually configure maxstate of the cooling device.
2. reconstruct cpucore cooling device.

Verify:
txhd2

Change-Id: I0576e0d91a3062b60f877a4e8577e4fe84e5f53b
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-01-20 09:12:18 +08:00
Pengcheng Chen 09899bff3d vpp: set vd1_vd2_mux according dts cfg [1/1]
PD#SWPL-143084

Problem:
vd1_vd2_mux set error

Solution:
set vd1_vd2_mux according dts cfg

Verify:
t5db

Change-Id: Ie1b8fd9a9e158f336559b6925612d624a85bf807
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-20 09:11:49 +08:00
zhikui.cui 96748bd4f2 nand: select slc nand mode [1/1]
PD#SWPL-142784

Problem:
can't read slc nand id

Solution:
select slc mode when detect prop "spi_cfg" in dts

Verify:
A4

Change-Id: I64d536d72c628bcd525177f5d732a8554b08b7b8
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-01-20 09:11:08 +08:00
hai.cao 06c62755cb video: remove mutex in video mute [1/1]
PD#SWPL-143291

Problem:
mute function will use in other module isr

Solution:
remove it,and set mute use fixed bit

Verify:
txhd2

Change-Id: I7f09f1ea1efb6269eef6422b7e5730ecdadc484e
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-01-20 09:10:40 +08:00
qiang.liu 26daf0d8f3 vdin: dv 444 low-latency need convert to 422 [1/1]
PD#SWPL-138069

Problem:
dv 444 low-latency not convert to 422 will abnormal

Solution:
dv 444 low-latency need convert to 422

Verify:
t5w

Change-Id: Iff9d00a31d135334feb5bc5943f82426768f5e31
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-20 09:07:41 +08:00
Jian Cao dac6bacd49 vpp: add support for video_composer reverse [1/1]
PD#SH-16709

Problem:
video_composer cannot reverse display

Solution:
add this support

Verify:
t3x

Change-Id: If109dadff12cdba288cb3c3bb0c0f6ffc865935b
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-01-20 09:04:57 +08:00
hai.cao 7df09b12af video: expand vpp mute function [1/1]
PD#SWPL-142295

Problem:
vpp mute control conflict

Solution:
control on or off by module self

Verify:
txhd2

Change-Id: Id3f35903c5c409793fd303d0086975434e83e137
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-01-20 08:58:27 +08:00
yongbing.he bcbbfd82e2 freertos: freertos featrue reorganize [2/2]
PD#SWPL-140884

Problem:
c3 not freertos notifiers
c3 need ipi send

Solution:
c3 add freertos notifiers config
c3 add ipi send config

Verify:
c3

Change-Id: I8f624cdf329880cb5a0e01ba83cc93119938b509
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
2024-01-19 23:06:17 +08:00
Bichao Zheng d33d0a1e0b spinand: update info page [1/1]
PD#SWPL-140211

Problem:
need update spinand info page.

Solution:
update new info page, for compatibility with A1 S1A C3.

Verify:
A1 S1A C3

Change-Id: I73ce561dc716aedd18ac2887af00fa912818794b
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2024-01-19 23:06:17 +08:00
Xingxing Wang 31b73819fc thermal: add more registers control in ddr cooling [1/1]
PD#SWPL-139694

Problem:
add more regs control in ddr cooling device

Solution:
add more regs control in ddr cooling device

Verify:
txhd2

Change-Id: I99c978d2034b3dcf01239752ce1a112f8e07afce
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-01-19 23:00:35 +08:00
Xingxing Wang d3d8793e29 thermal: modify ddr control point [1/1]
PD#SWPL-125800

Problem:
ddr test

Solution:
modify ddr temperature control point

Verify:
txhd2

Change-Id: Icab99c885673981577e0545a8fbe5191f49f2e07
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-01-19 20:39:22 +08:00
qiang.liu fe8e739d1c dsc_dec: add dsc_dec bringup [1/1]
PD#SWPL-117267

Problem:
not dsc_dec function

Solution:
add dsc_dec bringup

Verify:
T3X

Change-Id: I36ccbe87c9773af8ce08dc2b122d41a7924000f1
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-19 20:39:05 +08:00
Bichao Zheng 83dbb57da9 nand: s1a nand partition confirmation [1/3]
PD#SWPL-137498

Problem:
1. need get partition from env
2. need get rsv info from env

Solution:
1. get partition from cmdline
2. get rsv info from cmdline

Verify:
s1a

Change-Id: I5de9ca2479d60ce0c24698abda1b01403be4c283
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2024-01-19 20:37:49 +08:00
Wanwei Jiang 54f637c81e chipid: read chipid fail [1/1]
PD#SWPL-152551

Problem:
read chipid fail

Solution:
the chipid can be read by reading registers, but the register address is
set in DTS, which is prone to setting errors. It can be read through a
unified command, so there will be no previous problems.

Verify:
s905x2

Change-Id: I2019a7b8201dedec1f71a1edf09f9b51b730f5c2
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-17 19:22:35 +08:00
congyang.huang 7801be4b3d vout: move vout ioctls to uapi [1/1]
PD#SWPL-134166

Problem:
move vout ioctls to uapi

Solution:
move vout ioctls to uapi

Verify:
T5W

Change-Id: Idcb298b99738883cbb9b5e6486248fa698fbfb33
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-01-16 19:58:18 +08:00
Xiangyu Cai 485ff8f87b vrr: change delay line when vpp crop [1/1]
PD#SWPL-147349

Problem:
vpp crop caused blurred screen

Solution:
change vrr delay line when vpp crop

Verify:
t3x

Change-Id: Iecda72b8be18883bd7eb6636b634f8eff5a3e5fb
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2024-01-16 15:41:05 +08:00
Nanxin Qin 38d6895fb9 media: CF1 Adds debugfs for codec status management. [1/1]
PD#SWPL-145646

Problem:
Adds debugfs for codec status management.

Solution:
Add codec state module, mainly collect and
manage codec status information, and facilitate
the management of the configuration of each module.

Verify:
ohm

Change-Id: I8f877a954f9873c4aa4d632e007a67c0a41ff2b1
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-16 15:34:14 +08:00