Commit Graph

1121 Commits

Author SHA1 Message Date
gerrit autosubmit 3fc7ca9da3 Merge "camera: del port id [1/1]" into amlogic-5.15-dev 2022-12-22 22:22:07 -08:00
gerrit autosubmit 83fee9b1be Merge "amvecm: coverity check modify sync to 5.15 [1/1]" into amlogic-5.15-dev 2022-12-22 22:21:57 -08:00
gerrit autosubmit 8e214d069c Merge "vdin: fix loopback venc0 on s5 issue [1/1]" into amlogic-5.15-dev 2022-12-22 19:06:03 -08:00
gerrit autosubmit 82e870af4a Merge "rtc typo: fix rtc typo issue [1/1]" into amlogic-5.15-dev 2022-12-22 19:05:03 -08:00
gerrit autosubmit 7e75390e9f Merge "hdmirx: kernel 5.15 bring up [1/1]" into amlogic-5.15-dev 2022-12-22 19:04:26 -08:00
xiaoxin.cao d107e25645 camera: del port id [1/1]
PD#SWPL-105873

Problem:
dts error

Solution:
del port id and use index

Verify:
local

Change-Id: I1c0c632028fc6d8f8630506889bf91408d79c42c
Signed-off-by: xiaoxin.cao <xiaoxin.cao@amlogic.com>
2022-12-22 03:06:31 -08:00
yiting.deng db1c24f16e rtc typo: fix rtc typo issue [1/1]
PD#SWPL-103797

Problem:
rtc driver has typo issue

Solution:
fix typo issue

Verify:
t3

Change-Id: I3d5baf773b7f6f04443c62c744fe130853128c3f
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2022-12-22 01:28:35 -08:00
Wanwei Jiang a4d53fed35 usb: optimize log [1/1]
PD#SWPL-95684

Problem:
optimize usb log

Solution:
optimize usb log

Verify:
sc2

Change-Id: I3f8526bd89d729164ceb7275020c1c41b838dbd1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-21 22:15:27 -08:00
Evoke Zhang bd35f5bc7b lcd: enable clk for drm resume [1/1]
PD#SWPL-101375

Problem:
tv mode lcd clk can't enable when display mode set by drm resume

Solution:
enable lcd clk if it is disabled for drm resume

Verify:
ar301

Change-Id: Iae26fdc1722e2e406ee3ed95532aa493ba44acb9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2022-12-21 08:14:33 -08:00
haitao.liu 3ec3436e79 vdin: fix loopback venc0 on s5 issue [1/1]
PD#SWPL-102175

Problem:
Cannot loopback venc0 on s5

Solution:
modify slice register setting

Verify:
s5

Change-Id: Ie1723db89ba1d94da7cd17f4a0c1cb39488c3138
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2022-12-21 22:23:35 +08:00
qinglin.li 817e81cb69 dts: sync s4 and s4d dtsi [1/1]
PD#SWPL-106124

Problem:
sync s4 and s4d dtsi

Solution:
sync s4 and s4d dtsi

Verify:
s4 && s4d

Change-Id: I9b8128015a02fd12ae3b655bc7669e119d480a5b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-12-21 06:13:31 -08:00
Xiangyu Cai 0fb60a21a8 amvecm: coverity check modify sync to 5.15 [1/1]
PD#SWPL-101084

Problem:
coverity check problem in 5.4

Solution:
sync the modify to 5.15

Verify:
t982ar301

Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
Change-Id: I7bc01812e30cacf4f7b6cb157e1b6aaccee2c6be
2022-12-21 01:07:39 -08:00
jintao xu 5fb2fda826 amlvideo2: video capture support vpp1 [1/1]
PD#SWPL-102680

Problem:
amlvideo2 need support vpp1 capture

Solution:
video capture support vpp1

Verify:
T7

Change-Id: Ic8119ae6d6b1880923bf8ad0697156944a62fcea
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2022-12-21 00:05:06 -08:00
hai.cao 9221d09581 media: fix coverity error [1/1]
PD#SWPL-106138

Problem:
coverity errors

Solution:
fix coverity error

Verify:
no need verify

Change-Id: I82cdb6f7a46cfe1682cf150b14268de91ea37b5a
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2022-12-20 20:12:27 -08:00
jian.hu c31988985f clk: a1: fix hangup [2/2]
PD#SWPL-103048

Problem:
it will hangup when insmod soc-clk-a1.ko

Solution:
do not init sys pll

Verify:
a1

Change-Id: I2cc6428c6627ba877911e3648fd3c4cc6156a753
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2022-12-20 06:10:35 -08:00
jian zhou 691b08b314 audio: report audio parameters [1/1]
PD#SWPL-105916

Problem:
without report audio params function

Solution:
add sysfs for this function

Verify:
sc2

Change-Id: I099824691fa511e8cffdaeb02f1a84b516f58ee9
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2022-12-20 06:10:32 -08:00
hai.cao 01cf9b84f0 video_sink: fix coverity error [1/1]
PD#SWPL-106006

Problem:
coverity errors

Solution:
fix coverity error

Verify:
no need verify

Change-Id: I9b68325cc15869e1f5939a52610e987db3833c29
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2022-12-20 00:16:09 -08:00
hai.cao 726f83ab72 osd: fix coverity error [1/1]
PD#SWPL-106007

Problem:
coverity errors

Solution:
fix coverity error

Verify:
no need verify

Change-Id: Ic9613eb8226ab672cb009cb489522d3005af96a8
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2022-12-20 00:16:05 -08:00
Feng Chen c19785667e spi: resolve dtb build warning [1/1]
PD#SWPL-105868

Problem:
some warnings in dtb build process need resolve.

Solution:
change reg property in dts files.

Verify:
c3_aw419

Change-Id: Ic9bfcf264ad64dc16e8c0b71ab085f1638395790
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2022-12-19 22:30:54 -08:00
Jiucheng Xu f4ba55d9f3 md: dm bow for kernel 5.15 [2/2]
PD#SWPL-102756

Problem:
Upgrade project need dm bow for ota

Solution:
Port it from 5.4 code

Verify:
sc2

Change-Id: I5ec3f30840fe61b9e002477b00d111853bb48ef8
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2022-12-19 22:30:12 -08:00
Yu Tu 88ca00ffa7 pcie: clean sc2 dts build warning [1/1]
PD#SWPL-105888

Problem:
need clean pcie sc2 dts build warning

Solution:
modified sc2 pcie dts

Verify:
sc2

Change-Id: I10e386b580f490a3f7ea89b580fbe309a9130401
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2022-12-19 20:13:43 -08:00
Wanwei Jiang ba4a8f4448 module: optimize select module [1/13]
PD#SWPL-105941

Problem:
select driver according to project configuration

Solution:
select driver according to project configuration

Verify:
ohm

Change-Id: I607d10b59ac9c9ac5589cfcc358345e6b9296a4f
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-19 20:13:05 -08:00
jialong.jiang ad36b01f71 hdr: add MAXCLL interface. [1/1]
PD#SWPL-104187

Problem:
add MAXCLL and MAXFALL interface.

Solution:
add MAXCLL and MAXFALL interface.

Verify:
A311D2-AN400

Change-Id: Ifba7dde510ec37e1af8e8b125b2f72d701e47c89
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2022-12-19 06:21:21 -08:00
Wanwei Jiang a5edc5313a script: optimize fast_build [1/1]
PD#SWPL-96062

Problem:
optimize fast_build

Solution:
1. don't build initramfs
2. don't build system_dlkm
3. don't build vendor_dlkm
4. don't build bootimage
5. don't build gki_artifacts

Verify:
sc2

Change-Id: I903fdab68d59eaa7f1275ff6775476e93578d7bc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-19 04:33:27 -08:00
Evoke Zhang 368da922ba lcd: update tcon top init [2/2]
PD#SWPL-105763

Problem:
tcon top reset sometimes hungup

Solution:
remove unnecessary tcon top reset

Verify:
at301

Change-Id: I97154eb2b62fff27d3ec05c8985ca4843889223c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2022-12-19 04:33:24 -08:00
Bin.Wang2 aa935a5fa9 amvecm: fix typo issue [1/1]
PD#SWPL-103647

Problem:
typo issue

Solution:
fix typo issue

Verify:
t3

Change-Id: Ib8322d99610ada0cb982b0f5319b92066d13c64e
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2022-12-19 04:33:19 -08:00
binbin.wang 125182a598 Thermal: Fix the typo issue [1/1]
PD#SWPL-103804

Problem:
Typo issue

Solution:
Fix the typo issue.

Verify:
None

Change-Id: Iec839dfd01f6ef1a78590e456825feb2ff6822ff
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
2022-12-19 02:27:13 -08:00
lizhi.hu 11693ff3e9 lcd: typo fix [1/1]
PD#SWPL-103966

Problem:
typo check failed

Solution:
fix wrong word

Verify:
None

Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
Change-Id: I5b239ce9a95e2fd4c768e6fed74125ced04b8d9b
2022-12-19 02:27:08 -08:00
chuangcheng peng 6bc9ccc0fe dmx: coverity & typo issue [1/1]
PD#SWPL-101116

Problem:
coverity & typo issue

Solution:
fix coverity & type issue

Verify:
compile pass

Change-Id: I6291475c51693b8813f008c5690c722049b294d8
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-12-19 02:27:05 -08:00
hang cheng b5df05a333 cec: update default phy address when plug out [1/1]
PD#SWPL-89451

Problem:
run HdmicecHal_Get_PhysicalAddress_No_HDMI
EXPECTED RESULT : Should get the physical
address obtained by the driver as F.F.F.F
Executing HdmicecHal_GetPhysicalAddress....
Value Returned: PhysicalAddress: hex: 0x1000000,
dec: 16777216. Physical Address obtained is not
as expected.
it's caused by we used the physical address
before hot plug out.

Solution:
per hdmi specification, update default physical
address to F.F.F.F when hot plug out

Verify:
ah212

Change-Id: I25db14061918b54320d673a6a51ec723a64c0d1c
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2022-12-18 23:17:27 -08:00
Zhuo Wang c704db15be eth: c3 buildroot compile problem [2/2]
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>
2022-12-18 23:17:19 -08:00
Wanwei Jiang 2d72d73fa5 config: save android arm defconfig [1/1]
PD#SWPL-105795

Problem:
save android arm defconfig

Solution:
save android arm defconfig

Verify:
planck

Change-Id: Ieed3cad08841e496b7120a1b601817230ed07564
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-18 18:38:48 +08:00
Jianxiong Pan eff420da51 mm: select the SWIOTLB and DMA_RESTRICTED_POOL default. [1/1]
PD#SWPL-105795

Problem:
need enable SWIOTLB and DMA_RESTRICTED_POOL for arm.

Solution:
select the SWIOTLB and DMA_RESTRICTED_POOL default.

Verify:
build pass.

Change-Id: Ic3ba5cec1fec95e37ada41c50d72af48c3908124
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-12-18 18:38:38 +08:00
Wanwei Jiang c4e11e1a5d script: optimize dtbs build [1/1]
PD#SWPL-96062

Problem:
need to compile config first and then dtb, otherwise build fail

Solution:
compile config first and then dtb

Verify:
sc2

Change-Id: Ib45a567bf77e245247b903625bb4550a739af5a7
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-17 14:08:45 -08:00
Hao Shi cca4855785 media: CF2 t5d support multi instance. [1/1]
PD#SWPL-105093

Problem:
t5d not support multi instance

Solution:
t5d support multi instance

Verify:
t5d

Signed-off-by: zhipeng.he <zhipeng.he@amlogic.com>
Change-Id: I0ff974f3b63a867eeb0ed2720cdfe82d1571a6cc
2022-12-17 06:10:36 -08:00
binqi zhang 247ba44437 uvm: fix memory leak in some condition [1/1]
PD#SWPL-97445

Problem:
when get or set usage or info fails in some condition,
dmabuf will not be put.

Solution:
change the place of dma_buf_get

Verify:
AndroidR T3

Change-Id: I637257502d669094a0d607ff69901ac4301bc6f5
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
2022-12-16 06:24:58 -08:00
chuangcheng peng c628b91392 dvb: dsm correct config [1/1]
PD#SWPL-105800

Problem:
correct dsm config

Solution:
correct dm config

Verify:
verified at ohm

Change-Id: I465be830751a7b91d955f6e1a2832045507d2f30
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-12-15 23:51:29 -08:00
Huqiang Qin 580c290b6d keypad: s4d: support mute key [1/1]
PD#SWPL-105339

Problem:
Need to be consistent with kernel 5.4

Solution:
Reference: https://scgit.amlogic.com/#/c/190866/

Verify:
S4D

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Change-Id: I44fb7298c9b09f360ab31ecdb1efbe242e08e1af
2022-12-15 22:22:24 -08:00
MingLiang Dong 81932b3baf hdr: add brighter mode for hdr tmo [1/1]
PD#SWPL-102808

Problem:
add brighter mode for hdr tmo

Solution:
add brighter mode for hdr tmo

Verify:
verify on T3

Change-Id: I1644f0d9d09cf75e6c62cb60ed436dab49f3d616
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2022-12-15 22:22:13 -08:00
chen.xu 08541a5af9 video_composer: fix crop data err [1/1]
PD#SWPL-104359

Problem:
crop data err.

Solution:
add HDMI case and modify judgment conditions for dewarp,
vicp or ge2d.

Verify:
T7C

Change-Id: I1f2848532729f1464607733a3a53358a89f715b7
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2022-12-15 20:19:37 -08:00
Wanwei Jiang 0a74fb137b script: optimize [1/1]
PD#SWPL-96062

Problem:
1. module function call analysis failed
2. compilation is too slow
3. can't use --savedefconfig
4. can't use --module
5. can't use --Image
6. can't use --dtbs

Solution:
1. add directory to fix the issue of module function call analysis failed
2. add --fast_build to improve compilation speed
3. modify --savedefconfig to --menuconfig and --basicconfig
4. support --module  --Image --dtbs

Verify:
sc2

Change-Id: I9af0d23c3220c4c533a2383c0ecf8c3389f2b1e5
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-15 20:19:33 -08:00
xujin.hu 780b7b9cc3 hdmirx: kernel 5.15 bring up [1/1]
PD#SWPL-97889

Problem:
bring up kernel 5.15

Solution:
move kernel 5.4 to kernl 5.15

Verify:
AR321-T965D4

Signed-off-by: xujin.hu <xujin.hu@amlogic.com>
Change-Id: Id7ea40ddd8a1c9962fc0649b111d3cb0f32e5623
2022-12-16 11:17:29 +08:00
xiang.wu1 2a22a49b88 EDID: Adjust the maximum supported TMDS clk [1/1]
PD#SWPL-102698

Problem:
HF-VSDB is not declared in EDID, and the highest
TMDS clk supported by the current TV can only be
obtained from VSDB.4K60HZ Y422,12bit (600Mhz)
exceeds the maximum clk range

Solution:
Adjust the maximum supported TMDS clk,Regarding
the maximum supported clk, refer to the tmds
clk in VSDB/HF-VSDB,Filter out unsupported patterns.

Verify:
s905x4

Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
Change-Id: I8428d62224ad71b1657ef7757e9d3c57a6872c47
2022-12-15 06:23:16 -08:00
xujin.hu 81879b53ad hdmrix: typocheck for kernel 5.15 [1/1]
PD#SWPL-103967

Problem:
code style and spell incorrection of hdmirx

Solution:
typo check

Verify:
T7c

Change-Id: Iac9e16c150dc7c4e5c605e4a68914a08d13ece94
Signed-off-by: xujin.hu <xujin.hu@amlogic.com>
2022-12-15 04:25:15 -08:00
junyi.zhao c23b235c61 led: fix kasan compile erro [1/1]
PD#SWPL-105700

Problem:
need to optimize pwm code

Solution:
fix this follow  erro report

Verify:
sc2_ah212

Change-Id: Ibb04180e5df1fd4c85040513647a3fa5df71b313
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2022-12-15 02:38:10 -08:00
Dezhen Wang 8e11c0b03c Typo check: fix the wrong word [1/1]
PD#SWPL-103976

Problem:
cl check has false positives word

Solution:
fix the wrong word and concerning file

Verify:
local

Change-Id: Ic5dd8ce5c3c7b4862e0c32e20a551c772a8e58a7
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2022-12-15 01:01:31 -08:00
fuqing.chen 794b729c34 videotunnel: typo check [1/1]
PD#SWPL-103970

Problem:
typo check in kernel 5.15

Solution:
modify typo

Verify:
Android T kernel 5.15

Change-Id: Ifb915f43858b392f8c21bf7d7ba19d742dc94fb2
Signed-off-by: fuqing.chen <fuqing.chen@amlogic.com>
2022-12-15 01:01:27 -08:00
yufei.huan 4151cd31be deinterlace: kernel5.15 compile error- di [1/1]
PD#SWPL-105672

Problem:
kernel5.15 compile error- di

Solution:
modified code

Verify:
smith

Change-Id: Icf6c20e26b4b26907c8342e5b88ca10781acf67d
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2022-12-14 20:13:50 -08:00
Brian Zhu d60820bb02 vpp: need allocate rdma channel for vpp1 [1/1]
PD#SWPL-96664

Problem:
VPP1 do not allocate rdma channel when 3 vpp out

Solution:
Allocate rdma channel for VPP1

Verify:
Verified on t7

Change-Id: I9a591b67c182693534af729dbe3b240fc856ebf2
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2022-12-14 08:17:57 -08:00
ruixuan.li 57bd21a5fd emmc: self-adaption on s4 revA&B [1/1]
PD#SWPL-104391

Problem:
s4 revA&B share dts but only revB support hs400

Solution:
self-adaption hs400&hs200 on s4 revA&B

Verify:
s4_ap222

Change-Id: I9aafafba15734fe327f93bb3aafdf36d356537b2
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
2022-12-14 08:17:54 -08:00