Commit Graph

1921 Commits

Author SHA1 Message Date
Wentao.Sun 471d01ac38 logger: compatible logger for dynamic and static share memory [1/1]
PD#SWPL-101942

Problem:
logger is invalid if dynamic share memory enabled

Solution:
compatible logger for dynamic and static share memory

Verify:
Android T + sc2_ah212

Change-Id: I012f4543089fea2706d89a5ba294c7d0eb5cd748
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2023-04-07 02:10:51 -07:00
chen.xu 9560a9bc42 vc: fix flicker problem in the screen rotation state [1/1]
PD#SWPL-113441

Problem:
Using dewarp rotation, the output buffer is 4K, and the bandwidth is
insufficient due to two rotations, resulting in a flash screen.

Solution:
When using dewarp for rotation, dynamically adjust the output size
of dewarp in combination with display vinfo.

Verify:
T7C

Change-Id: I0c69e4da01021d198615cab4b55544c1b6485b89
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-07 02:10:48 -07:00
Jianxiong Pan ab3f968e71 zapper: enable tcp ip config. [1/1]
PD#SWPL-117388

Problem:
the cpu loading of subtitleservice process is too high.

Solution:
enable CONFIG_INET.

Verify:
t215.

Change-Id: Ia5ce474c934e194c5a57fbd96dd7f5ad3a11a061
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-04-07 00:15:10 -07:00
xiang.wu1 53da4516c3 hdmitx: Extend the waiting time for the first boot hdcp authentication [1/1]
PD#SWPL-116717

Problem:
After the upgrade of aq2432 in yocto, it takes a long
time to start the service for the first time, lead hdcp
authentication failed

Solution:
Extend the waiting time for the first boot hdcp authentication

Verify:
aq2432

Change-Id: I13f541edd86b9f65fe8430fab59a4a8c266ecec2
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2023-04-06 22:17:24 -07:00
nengwen.chen 32c09f1e60 dtv_demod: fix t2 agc target config for r842 (V1.1.91) [1/1]
PD#SWPL-114347

Problem:
status unstable or can not lock when test c/n and echo.

Solution:
1.fix t2 agc target config for r842.
2./sys/module/aml_media/parameters/dvbt2_agc_target1.
3./sys/module/aml_media/parameters/dvbt2_agc_target2.
4.AMLDTVDEMOD_VER "V1.1.91"

Verify:
T5M AY301.

Change-Id: I0a18ee854b6d1b9606ba751d17adc2d811b3e801
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-04-06 21:13:38 -07:00
lijun.meng 308c830305 dtb: t5m: add dts for 4g real board [1/1]
PD#SWPL-104669

Problem:
Need 4g dts for t5m real board.

Solution:
add 4g dts for t5m real board.

Verify:
To be

Change-Id: I8ce28a0b5365636763bf6dd7680cba28d395f9dc
Signed-off-by: lijun.meng <lijun.meng@amlogic.com>
2023-04-06 20:15:28 -07:00
wenlong.zhu dbe218d2f0 UAC: uac related files update to kernel 5.15 [1/1]
PD#SWPL-114902

Problem:
1. AudioBridge module needs to be added to kernel 5.15.

Solution:
1. Adjust the uac related files that AudioBridge depends on.

Verify:
A113L AD403 Board

Change-Id: I3f597b97d4ee658f07f9ea5f2d182235fe154b81
Signed-off-by: wenlong.zhu <wenlong.zhu@amlogic.com>
2023-04-06 20:15:25 -07:00
wenlong.zhu 56b790876a AudioBridge: porting from 4.19 to 5.15 extended [1/1]
PD#SWPL-114902

Problem:
1.AudioBridge module needs to be added to kernel 5.15.

Solution:
1.Makefiles, Kconfig, and code need to be adjusted in AudioBridge.

Verify:
A113L AD403 Board

Change-Id: Id89608821d7115caed36b5ee84152ec9cd231428
Signed-off-by: wenlong.zhu <wenlong.zhu@amlogic.com>
2023-04-06 20:15:22 -07:00
Feng Chen bc95150e80 mtdblock: add squashfs mount support [1/1]
PD#SWPL-117382

Problem:
add squashfs mount support

Solution:
add squashfs mount support

Verify:
s4_aq2432

Change-Id: I663aa278d5521dd03279951b4fecf1d0183fdf8b
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-04-06 08:22:52 -07:00
hongyu.chen1 68e43b8752 T5M: add reset config. [1/1]
PD#SWPL-118357

Problem:
Android R Compilation failure.

Solution:
Incorrect configuration file.

Verify:
PB

Change-Id: I66c0851bb74d17ca351f7688560d7f70872b9735
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-04-06 04:13:45 -07:00
hai.cao 56cf01ede8 video: aisr cause video flash [1/1]
PD#SWPL-114374

Problem:
aisr cause video flash

Solution:
set function in primary_render_frame

Verify:
s5

Change-Id: I4c09e00d043c119c59000325cf05d2ec4669329a
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-04-05 22:13:45 -07:00
Feng Chen 775041f87d spicc: spicc not work [1/1]
PD#SWPL-115993

Problem:
spicc not work in android r release

Solution:
make spicc platform driver register
successfully in builtin way

Verify:
t5m

Change-Id: I35edfba35e05a13d895b421a98cebcbd07f4ef55
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-04-05 22:13:39 -07:00
yi.liu c5ea8ef261 amlbian: increase ion-fb buffer size [1/1]
PD#SWPL-116259

Problem:
Stuck when switching users.

Solution:
increase ion-fb buffer size.

Verify:
local

Signed-off-by: yi.liu <yi.liu@amlogic.com>
Change-Id: I82b82cc370afa48ae0bd04fca60bf67308789797
2023-04-05 22:13:36 -07:00
zhipeng.he ea2660a4d9 vdec: CF2 add dtv_amlvideo_amvideo pipeline [1/1]
PD#SWPL-109640

Problem:
no dtv_amlvideo_amvideo pipeline

Solution:
add dtv_amlvideo_amvideo pipeline

Verify:
AQ2432

Change-Id: If27dd75107bd5507d47a5f2a465d6cec30058772
Signed-off-by: zhipeng.he <zhipeng.he@amlogic.com>
2023-04-05 22:13:19 -07:00
shufei.zhao 7f2d3ec975 uapi: add license [2/2]
PD#SWPL-113370

Problem:
uapi file is missing a license

Solution:
Add license

Verify:
local

Change-Id: I021e400e794235ea51a1c77edf685d046b0aab9f
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2023-04-05 22:13:09 -07:00
qiankun.wang a384b208bd sysrq: sysrq can be triggered by keyboard. [1/1]
PD#SWPL-117073

Problem:
sysrq can't be triggered by keyboard at T7C.

Solution:
fix the dtsi and the uart to support sysrq.

Verify:
T7C

Change-Id: I5ab7d7873e19d35ab3653e84ae4dd60deddf6d93
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-04-05 20:14:14 -07:00
Jianxiong Pan 750eb0250c vmap: disabled amlogic vmap for aarch64. [1/1]
PD#SWPL-112184

Problem:
build failed.

Solution:
disabled amlogic vmap for aarch64.

Verify:
build pass.

Change-Id: I03f8edb233778033c3e2c82a8cdcd9c9b1f9c281
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-04-05 14:12:19 -07:00
chen.xu 996b4e4c3e bringup: Add dts and dtsi for g12b and sm1. [1/1]
PD#SWPL-108104

Problem:
Bringup g12b and sm1.

Solution:
Add dts and dtsi for g12b and sm1.

Verify:
g12b

Change-Id: I6b8484c566fb30994c2429e69cb4945221ce1a4f
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-04 19:48:18 +08:00
junwei.ma 0b792bd80a ISP: SM1 Camera kernel deconfig modify for Google [1/1]
PD#SWPL-117945

Problem:
SM1 Camera deconfig

Solution:
modify for Google

Verify:
ok

Change-Id: Ie1c05d2131a36c2528de1c75eb258b1a6b154fab
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:18 +08:00
yao zhang1 47b2ab6395 bringup: Fixed g12b sm1 build error. [1/1]
PD#SWPL-104242

Problem:
g12b sm1 build error

Solution:
Fixed g12b sm1 build error.

Verify:
g12b & sm1

Change-Id: I82173262fe8f6876164e6445b234a53eeda90ac2
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-04-04 19:48:18 +08:00
junwei.ma df4f97728c ISP: SM1 Camera Driver Upgrade add sensor probe logic [1/1]
PD#SWPL-117350

Problem:
video node exit while sensor not on board

Solution:
not register video node while sensor not on board

Verify:
ok

Change-Id: Id26641bd967d35bfe83d72754dabd5f9776d2a2c
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:18 +08:00
haitao.liu adcf4ec4e2 vdin: avoid warning info in kernel log caused by csi [1/1]
PD#SWPL-112894

Problem:
mipi-csi interrupts configure cause warning info.

Solution:
do not use csi interrupt,remove its configure

Verify:
sm1

Change-Id: I1b414ff19611fa7f2beb5f20866981b3afcc9336
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-04-04 19:48:18 +08:00
mingxiu.sun 161765ef3c vdin1: lfifo_duff_size modify [1/1]
PD#SWPL-116291

Problem:
The g12b does not support the 3840 resolution

Solution:
modify lfifo buffer size from 0xf00 to 0x780

Verify:
g12b kernel515

Change-Id: Iaf8d69b2d5c39f4437d0a616d360dedbba04abd9
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-04-04 19:48:18 +08:00
haitao.liu d3c9ceb9dd vdin1: g12b&sm1 use debug file to dump bufffer add vdin driver [1/1]
PD#SWPL-108069

Problem:
g12b&sm1 no vdin driver to dump buff

Solution:
add vdin driver for dump buffer

Verify:
g12b&sm1 kernel515

Change-Id: Id64d09fc85810b15a10f7290231796e4848b4a2c
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-04-04 19:48:18 +08:00
junwei.ma 26dd758636 ISP: SM1 Bringup mipi camera of SM1-ov5640 support 5M [1/1]
PD#SWPL-103873

Problem:
not support 5M

Solution:
add 5M support

Verify:
ok

Change-Id: Ib0ac1b7e6a64ad1dd3c304a6e1ee00e7c7d5a1e3
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:18 +08:00
dian.shao ecda3b43e9 usb: g12b/sm1 bringup [1/1]
PD#SWPL-104286

Problem:
yocto errs
dwc3 probe failed

Solution:
add power-domains

Verify:
local

Change-Id: I9a082b94ec055bc75a81465f396d86ff13991074
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2023-04-04 19:48:18 +08:00
xing.fang ccce1e933c Audio: add adf82584f codec [1/1]
PD#SWPL-108155

Problem:
There is no pcm node.

Solution:
Add ad82584f codec node

Verify:
W400

Change-Id: I0c32a7e5cbc46c135cd2ceca5f668f22170167fe
Signed-off-by: xing.fang <xing.fang@amlogic.com>
2023-04-04 19:48:18 +08:00
Zelong Dong 78f1cff59a pinctrl: add extra pins for sm1 base on g12b [1/1]
PD#SWPL-104263

Problem:
sm1 add some new pins base on g12b, pinmux need update.

Solution:
update extra pins to g12b pinmux.

Verify:
sm1_ac200

Change-Id: Icfd37d7c105057577f6c5a641dd112a58d42bf1d
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-04-04 19:48:17 +08:00
Chuan Liu 1be7f76c42 sm1: lost mipi_dsi_phy clock [1/1]
PD#SWPL-108141

Problem:
lost mipi_dsi_phy clock

Solution:
add

Verify:
ac200

Change-Id: I942b28b4a0bffe4be2c8a512ccd5be86bb25e2c0
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2023-04-04 19:48:17 +08:00
haitao.liu bf1b5d3774 vdin: porting csi on kernel branch g12bsm1_1_20221128 [1/1]
PD#SWPL-112894

Problem:
k5.15 do not support csi in tvin

Solution:
1.porting csi on k5.4,from k4.9
2.enable power domain

Verify:
sm1

Change-Id: Ia455ae888e88490a4c558bfd3fd2b7af46d907cf
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-04-04 19:48:17 +08:00
junwei.ma cd4236ce55 ISP: G12B & SM1 Bringup mipi camera of SM1-config [1/1]
PD#SWPL-108141

Problem:
5.15 no camera driver

Solution:
porting camera driver to kernel-5.15

Verify:
ok

Change-Id: I3c0a320f3be22dbcd243390e130d52d3bcca7432
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:17 +08:00
hongyu.chen1 1e07b011b9 sm1: add csi power domain. [1/1]
PD#SWPL-104278

Problem:
need csi power domain.

Solution:
add csi power domain.

Verify:
AC200_S905

Change-Id: Iea23513e3a5ed36be64ef95163c5a0ad3334b769
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-04-04 19:48:17 +08:00
junwei.ma de011cd420 ISP: G12B & SM1 Bringup mipi camera of SM1-runtime [1/1]
PD#SWPL-108141

Problem:
5.15 no camera driver

Solution:
porting camera driver to kernel-5.15

Verify:
ok

Change-Id: Icb16e226fd2a6e091e098d0d34fb72fa6862be27
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:17 +08:00
yao zhang1 6fcef002dc bringup: g12b & sm1 sync configs and fix g12b mem. [1/1]
PD#SWPL-104242

Problem:
yocto need use gki defconfig

Solution:
g12b & sm1 sync configs and fix g12b memory

Verify:
g12b & sm1

Change-Id: Ib2b42c34c7cfcb174841f8d96915a8a1d859558c
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-04-04 19:48:17 +08:00
lizhi.hu 4d59ef7e2d lcd: g12b/sm1 bl fix and reg debug [1/1]
PD#SWPL-115609

Problem:
g12b/sm1 bringup 5.15 bl driver not probe

Solution:
disable pinctrl for unknown reason
add reg debug for HHI registers

Verify:
sm1

Change-Id: Ib9e7b7f58c14c7e3cc5e6f585716fe2efcbaf70d
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2023-04-04 19:48:17 +08:00
Yongjie Zhu 2550c4ff53 gpu: add mali support [1/1]
PD#SWPL-108108

Problem:
g12b/sm1 need mali support

Solution:
add mali support on dts

Verify:
g12b

Change-Id: Idd4ea1aad286cd8c63dcb84e24b9a9f54adc383c
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-04-04 19:48:17 +08:00
Yongjie Zhu c7357a67dc ion: update ion-dev size for g12b/sm1 [1/1]
PD#SWPL-108107

Problem:
g12b/sm1 ion-dev size has been modified to 0

Solution:
update ion-dev size and dmaheap gfx&fb size

Verify:
g12b

Change-Id: I93ddd66e14950914889ff15ce25b9851b8ffd604
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-04-04 19:48:17 +08:00
xing.fang 9815cce423 Audio: G12B & SM1 Audio Bringup [1/1]
PD#SWPL-104253

Problem:
Audio driver functions bringup.

Solution:
1)remove effect for g12b
2)disable resample for sm1

Verify:
Socket

Change-Id: I43b1d5aa908d9fe50f9c67e4a63a55727ba90ebd
Signed-off-by: xing.fang <xing.fang@amlogic.com>
2023-04-04 19:48:17 +08:00
yufei.huan 57d7a73f00 deinterlace: bring-up g12b/sm1 [1/1]
PD#SWPL-111910

Problem:
bring-up

Solution:
g12b bring-up 5.15 DI dts

Verify:
g12b/sm1

Change-Id: I40b3d5a8c4c4d44471b62589d3b43dffe260aba2
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-04-04 19:48:17 +08:00
junwei.ma 69cacc04bf ISP: G12B & SM1 Bringup - Kernel - Display - mipi camera of SM1 [1/1]
PD#SWPL-108141

Problem:
5. 15 no camera driver

Solution:
porting camera driver to kernel-5.15

Verify:
ok

Change-Id: I92789c946a8f2456f6bb68adc52ece77cd730f81
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-04-04 19:48:16 +08:00
xiaoya.lin d6a1435047 encoder: bringup for g12b&sm1 to 5.15 [1/1]
PD#SWPL-108159

Problem:
bringup for g12b&sm1 to 5.15

Solution:
fix dtsi

Verify:
g12b&sm1

Change-Id: I2cb40acfb988c34bc635b8dd00ff4326e12bb0eb
Signed-off-by: xiaoya.lin <xiaoya.lin@amlogic.com>
2023-04-04 19:48:16 +08:00
dian.shao bc6679fbb5 usb: G12B & SM1 Bringup [1/1]
PD#SWPL-104286

Problem:
amlogic_new_usb3_v2_probe ret -1
due to gpiod_get() race.

Solution:
delete conflicting device node:
fixedregulator@usb_5v

Verify:
local

Change-Id: If69fd8acf7e80930b1830292685ff8f4afadbc6b
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2023-04-04 19:48:16 +08:00
shuanshuan.jiang d87b392db9 camera: camera support arm 5.15 [1/1]
PD#SWPL-103888
PD#SWPL-108142
PD#SWPL-103889

Problem:
camera need suppot arm 5.15

Solution:
add some checkout in dts and dtsi

Verify:
test in arm

Change-Id: I489ef4155816988b081f491fb5338a5f7661addb
Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
2023-04-04 19:48:16 +08:00
Chuan Liu c308b26ad6 g12b/sm1: add 24m/12m clock [1/1]
PD#SWPL-113083

Problem:
12m and 24m clock are lost

Solution:
added

Verify:
w400/ac200

Change-Id: I9e206bd76eb2da91be5c145d0274146d9253fe71
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2023-04-04 19:48:16 +08:00
qinghui.jiang 468065fef5 amvecm: bringup for g12b/sm1 [1/1]
PD#SWPL-108071

Problem:
amvecm bringup for g12b/sm1

Solution:
enable amvecm in dts and improve probe log info.

Verify:
g12b_a311d_w400

Change-Id: I36d6af01f37eb08be4765067a4cf2b76d8692830
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-04-04 19:48:16 +08:00
yao zhang1 bfe02e2257 Unifykey: Read key from storage to linear address. [1/1]
PD#SWPL-112171

Problem:
Use vmalloc addr cause dma_map_sg failed.

Solution:
Read key from storage to linear address.

Verify:
g12b & sm1

Change-Id: I42f12cf3d17b33768eaeb889806d2b6ac77046aa
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-04-04 19:48:16 +08:00
yao zhang1 2ea8f5135d cpu: Disable g12b cpuidle and sm1 enable ramoops. [1/1]
PD#SWPL-103755

Problem:
1,G12b cpuidle cause system crash.
2,Sm1 enable ramoops

Solution:
1,Disable g12b cpuidle
2,Sm1 enable ramoops

Verify:
g12b & sm1

Change-Id: Iffc70dbb8f2c5d3380b3fd7d1fa7aff2a8ce4642
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-04-04 19:48:16 +08:00
jialong.jiang 9a674496eb dv: bringup for g12b_sm1 to 5.15 [1/1]
PD#SWPL-108095

Problem:
bringup for g12b_sm1 to 5.15

Solution:
fix dtsi

Verify:
g12b_sm1

Change-Id: I63136e96cf689373dff2869df1418b0fb614626d
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-04-04 19:48:16 +08:00
jialong.jiang a058b2f303 hdr: bringup for g12b_sm1 to 5.15 [1/1]
PD#SWPL-108097

Problem:
bringup for g12b_sm1 to 5.15

Solution:
fix dtsi

Verify:
g12b_sm1

Change-Id: I6659744b502d1874b6232cdc2d578e46ede0b8dc
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-04-04 19:48:15 +08:00
xing.fang 5b77c5145a Audio: G12B & SM1 Audio Bringup [1/1]
PD#SWPL-104253

Problem:
The clk_register_mux can not be used for gki.

Solution:
Replace clk_register_mux with clk_register_composite.

Verify:
W400

Change-Id: I56bfd1e03791e60e6856dc61b8375b03329ec8a2
Signed-off-by: xing.fang <xing.fang@amlogic.com>
2023-04-04 19:48:15 +08:00