Commit Graph

649106 Commits

Author SHA1 Message Date
yicheng shen
b4c032178c hdmirx: optimize phy setting [1/1]
PD#SWPL-3463

Problem:
Need update phy setting

Solution:
1.decrease pll bw;
2.add cdr lock level option
3.optimize signal detection time

Verify:
TL1

Change-Id: Idc24683430488d300fa2690fa9f8039905cf6a88
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2019-04-15 22:37:45 -07:00
yicheng shen
bea54d0169 hdmirx: fix read edid error issue [1/1]
PD#SWPL-6751

Problem:
EDID information error after switching EDID 1.4 and 2.0 in OSD menu.

Solution:
Modify HPD reset handle when switch hdmi 2.0

Verify:
TL1

Change-Id: I5aa3126f6f870a733443f16b8975f83c515b9fd6
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2019-04-15 20:14:41 -07:00
Bencheng Jing
f497c73df3 amvecm: fix CM/sat/bricon adjust not available [1/2]
PD#SWPL-6892

Problem:
fix CM/sat/bricon adjust not available

Solution:
fix CM/sat/bricon adjust not available

Verify:
U212

Change-Id: Ia6a1aebda35550801d4c7e16807714b8349431a4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-15 20:00:37 -07:00
Zhe Wang
b6fc1d727c audio: AB311 bringup, init 2 AMPs AD82584f [1/1]
PD#SWPL-7174

Problem:
spk is out of work on AB311

Solution:
bringup AMP ad82584f

Verify:
AB311

Change-Id: I8771fc204b19eeebed5247ec4c8984acbf004372
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-04-15 18:20:43 -07:00
Jian Cao
5449121406 gdc: add trace_mode debug node for gdc timeout issue [1/2]
PD#GH-27

Problem:
gdc timeout when gdc processing data

Solution:
add trace_mode debug node

Verify:
verified on G12B-W400

Change-Id: I85ee5a4203c9da1af755844125716a844da54ad3
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-04-15 02:29:57 -07:00
Hanjie Lin
cd165e41ef mm: vmap: decrease wrps num [1/1]
PD#SWPL-6813

Problem:
sys_ptrace watchpoint can't stop

Solution:
decrease wrps num

Verify:
u212

Change-Id: I18947bd91f8dd07cedeebbfca6d7ce01107c6a3e
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-04-15 01:02:03 -07:00
Zongdong Jiao
2ccf4289c6 hdmitx: fix wrong 420 valid_mode [1/1]
PD#SWPL-6896

Problem:
In the HF1-31 Iter 03 test, the Rx EDID's max tmds clock is 600MHz,
and it doesn't claim that it supports Y420 modes. But
echo 2160p60hz,420,8bit > /sys/class/amhdmitx/amhdmitx0/valid_mode
'cat valid_mode' will get 1.

Solution:
Add Y420 8bit check

Verify:
G12/U212

Change-Id: I0a128eb33aeb2b4bcbf253eff49e9c5186386af1
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-04-15 00:21:06 -07:00
Jianxin Pan
2800bb0276 Merge "dts: debug: enable ftrace_ramoops for new tm2 dts [1/1]" into amlogic-4.9-dev 2019-04-14 23:49:41 -07:00
Bencheng Jing
41d49b1b73 amvecm: add sharpness0 cvbs table in driver [1/2]
PD#OTT-2339

Problem:
Testing CVBS Video Index Part FAIL

Solution:
add sharpness0 cvbs table in driver

Verify:
U212

Change-Id: I91047de0e852c77e70ad95aad3e6830fde7097f4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-14 23:41:51 -07:00
Jianxin Pan
c55af11e0e dts: debug: enable ftrace_ramoops for new tm2 dts [1/1]
PD#SWPL-6028

Problem:
enable ftrce in ramoops for new tm2 dtbs

Solution:
enable ftrce in ramoops for new tm2 dtbs

Verify:
verified ok

Change-Id: Ia7ee3b11784a69ef7d6b7671f9ad75c14ae477f7
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2019-04-14 23:36:32 -07:00
Blance Tang
a50daedf2d buildroot: Add missed amlogic-dt-id in U211 DTS file [1/1]
PD#SWPL-7177

Problem:
  Missing amlogic-dt-id in U211 DTS file

Solution:
  Add back amlogic-dt-id to U211 DTS file

Verify:
  Local

Change-Id: I6ef3243bfa3323e7eec5f8044e0b0fe2271fcfa0
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
2019-04-14 23:32:24 -07:00
Yong Qin
602496b511 vlock: add phase lock pll mode [1/1]
PD#SWPL-6899

Problem:
enable vlock phase lock function in pll mode

Solution:
1.when phase lock on, and when phase lock flag not assert
disable ss.
2.after phase lock flag assert, restore ss

Verify:
tl1

Change-Id: I2f9f6ec76468b1043c1b7ec99b2daa4f9d69ae60
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-04-14 23:26:41 -07:00
Shuide Chen
e9fadfe57f osd: fix osd afbc can't display on android5.1 [1/1]
PD#SWPL-6869

Problem:
afbc can't display with android5.1, because blank enable
called before afbc set, which make osd enable not updated
and afbc not enable when hwc post frame

Solution:
if mali afbc enable, call osd enable.

Verify:
verified on x301

Change-Id: I1d727a586a66c6e7848d09dfb5c5b74ff7a2e3e6
Signed-off-by: Shuide Chen <shuide.chen@amlogic.com>
2019-04-14 23:13:36 -07:00
Liang Ji
1d23c1e6c2 partition: change vendor size [1/2]
PD#SWPL-6586

Problem:
Android P trunk can not compile 64bit kernel
Android P vendor size is not enough,
64bit kernel and isp so  etc ,
the size exceeds 256M

Solution:
change vendor size from 256M into 320M

Verify:
galilei

Change-Id: Icc7b3d7c8d56f5c361acf9722bba6422b8dc3af2
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
2019-04-15 14:02:40 +08:00
Jianxin Pan
b3dbe98d2d Merge branch 'bringup/amlogic-4.9/tm2_20190411' into amlogic-4.9-dev
Change-Id: I0ad3498184e9401257bf910492a92f85b9b6cb8d
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2019-04-15 12:08:44 +08:00
Hong Guo
4fa88f30c0 cpufreq: delete dts for dynamic adjustment dsu clk [1/1]
PD#SWPL-2842

Problem:
delete dts for dynamic adjustment dsu clk.

Solution:
delete dts for dynamic adjustment dsu clk.

Verify:
tl1_x301, verify pass

Change-Id: I8e49f2bc290a459962c5befe606c6511d954b6fa
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-04-15 10:39:47 +08:00
Yi Zhou
1d67f59937 dv: add polling interface for systemcontrol [1/1]
PD#SWPL-6338

Problem:
add polling interface for systemcontrol

Solution:
add polling interface for systemcontrol

Verify:
tm2

Change-Id: I1a0a9a3028592ee0df77b33c9c617cbdd9b07d70
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-04-12 22:37:43 -07:00
Zhe Wang
4f4dc5af5e audio: TM2: bringup AMP ti5805 on ab301 [1/1]
PD#SWPL-7074

Problem:
speaker doesn't work

Solution:
bringup AMP ti5805 on ab301

Verify:
Verified on T962x3_ab301

Change-Id: Icb27691b4fd5a1e54070c4a6d3d3c68cdf3a60b7
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-04-12 18:11:34 +08:00
Lei Yang
7ba44fee32 hdmirx: add new edid update method [1/1]
PD#SWPL-6792

Problem:
EDID buff change to independent mode for each port

Solution:
1. add new edid update method
2. fix dv status issue for dv10

Verify:
Verfied on TM2 skt board

Change-Id: I274e5c08168b79fcfab0d2575a6531ab9802af3f
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2019-04-12 02:40:31 -07:00
Nanxin Qin
23b79e78fc power: add is_support_pwr_ctrl function. [2/2]
PD#SWPL-5261

Problem:
bringup sm1 and tm2.

Solution:
add is_support_pwr_ctrl function.

Verify:
U212 and AC200

Change-Id: I7f392ea8f23ce6f4e610b98bdcc39c4fcc2e6444
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2019-04-12 02:09:58 -07:00
Yi Zhou
e98a002602 dv: fix error color when playing dv films with EL under tm2 platform [1/1]
PD#SWPL-6338

Problem:
error color when playing dv films with EL under tm2 platform

Solution:
bypass dv core

Verify:
tm2

Change-Id: I477ea5dbdcf2a0af3783aa62200809f2ed89be5e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-04-12 00:05:05 -07:00
Yong Qin
9c34bfc58b cec: cec bringup for tm2 [1/1]
PD#SWPL-6945

Problem:
bringup for tm2

Solution:
add chip support and modify dts

Verify:
tm2

Change-Id: I718c3b81912a3555e19866f96d392bfb09d27384
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-04-12 14:18:26 +08:00
cancan.chang
8e7b59891a NNA: add NNA support on tm2 [1/1]
PD#SWPL-5623

Problem:
tm2 not support NNA now.

Solution:
add NNA support.

Verify:
Verified on tm2_ab319

Change-Id: Ib41544d0ebeb3f25442692ac3365ad3a5fc5d4ab
Signed-off-by: Cancan Chang <cancan.chang@amlogic.com>
2019-04-12 13:03:45 +08:00
xiaoliang.wang
c825d8eb1e device: changes for s905x3 ac213 bring up [3/3]
PD#SWPL-6970

Problem:
for s905x3 ac213 bring up, support multi-dts

Solution:
s905x3 ac213 bring up

Verify:
AC213

Change-Id: I4a22f4ce5b927db7d0197028abb12e6b669e7dc8
Signed-off-by: xiaoliang.wang <xiaoliang.wang@amlogic.com>
2019-04-11 20:40:55 -07:00
zhiwei.yuan
cd21fba174 di: pd22 FW parameters need optimize [1/1]
PD#SWPL-5046

Problem:
PD22 para is incorrect

Solution:
correct the parameters

Verify:
verified by t962x2_x301

Change-Id: I0b26914694dd19f9b06cb37c50f7589a200ea0b1
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-04-11 20:40:26 -07:00
MingLiang Dong
504135e175 di: disable deghost refresh according to motion [1/1]
PD#SWPL-6423

Problem:
deghost refresh according to motion

Solution:
disable deghost refresh according to motion

Verify:
verify on TL1

Change-Id: Ic3647462e5f5686f6cc182c30797752ea72c013c
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-04-11 20:39:49 -07:00
Wenfeng Guo
fb34727346 deinterlace: fix tl1 in 1080i has small sawtooth [1/1]
PD#SWPL-4072

Problem:
tl1 1080i in some dark scenes and roller coasters
have small sawtooth

Solution:
adjust a set of registers with special motion

Verify:
tl1

Change-Id: Idbe62e823f1c6c683b67d000978de1862c8e3162
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
2019-04-11 20:38:40 -07:00
Yong Qin
2e4371efff Revert "di: change clkb frq from 500 to 667 [1/1]"
This reverts commit c75a783c42.

Change-Id: I2bf82f1ceeebc1377d45b76ee1d2563811c154ca
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-04-11 20:38:21 -07:00
Yingyuan Zhu
cd2457a001 AC200: fix home button has no function [1/1]
PD#SWPL-6694

Problem:
home button has no function in sm1-ac200

Solution:
add home button configuration in dst node

Verify:
test pass on sm1-ac200

Change-Id: I670480c6dfd7f833e737adaddbe5981d84091203
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
2019-04-11 20:37:59 -07:00
Zhe Wang
758b24b3ce audio: fixed kernel panic when resample is disabled [1/1]
PD#SWPL-7039

Problem:
Kernel Panic when resample A is disabled

Solution:
When resample is disabled,don't init resample

Verify:
Verified on T962e2_ab311

Change-Id: Id9552ffc6be40f133b828dbded4ad3f15d177ab0
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-04-11 20:34:19 -07:00
Jian Cao
1f8aa33a79 osd: frame just display on half screen [1/1]
PD#SWPL-7039

Problem:
bring up osd for TM2
frame just display on half screen

Solution:
fix field_out_en value from array

Verify:
Verified on T962e2_ab319

Change-Id: Id07f3d813242f031125fcac11d3fa05205895448
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-04-11 19:56:42 -07:00
xiaoliang.wang
a20ed0182b device: changes for s905x3 ac213 bring up [3/3]
PD#SWPL-6970

Problem:
for s905x3 ac213 bring up, support multi-dts

Solution:
s905x3 ac213 bring up

Verify:
AC213

Change-Id: I4a22f4ce5b927db7d0197028abb12e6b669e7dc8
Signed-off-by: xiaoliang.wang <xiaoliang.wang@amlogic.com>
2019-04-11 04:04:29 -07:00
Zhe Wang
19e844f08a audio: TM2 audio basic function bringup [1/1]
PD#SWPL-6721

Problem:
TM2 bringup

Solution:
audio basic function bringup

Verify:
Verified on T962e2_ab311

Change-Id: Ic48ded3964ea87e40c4d683d71a50bbdc1975f91
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-04-11 15:42:33 +08:00
zhiwei.yuan
689996120f dtv_demod: TM2:DTV search channel [1/1]
PD#SWPL-6912

Problem:
tm2 bringup

Solution:
verify basic function

Verify:
verified by tm2_t962e2_ab311

Change-Id: Icdd38ca191923be130003b82c6434b106caa8194
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-04-11 15:08:10 +08:00
Hong Guo
2dd92a6fa9 CPUFREQ: add cpufreq function for tm2 [1/1]
PD#SWPL-6732

Problem:
add cpufreq function for tm2.

Solution:
add cpufreq function for tm2.

Verify:
test passed on tm2_t962x3_ab301.dts

Change-Id: I33755d84fe14257e8e35440d2767b075d0c5890e
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-04-11 15:08:03 +08:00
Yi Zhou
7587f24b68 dv: add tm2 interface [1/1]
PD#SWPL-6338

Problem:
need to add dv interface in tm2

Solution:
choose dv in UI and play films, observe the video and
graphic

Verify:
ab301 verify ok

Change-Id: I5d85b195254a16bcc9046d258728bd41d8a809d5
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-04-11 15:07:56 +08:00
Yong Qin
dcb1587f3e vlock: bring up for tm2 [1/1]
PD#SWPL-6576

Problem:
bringup for tm2

Solution:
add some chip id for match tm2

Verify:
tm2

Change-Id: I857ec687b7888782efb8875f8edee538dd615947
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-04-11 15:07:36 +08:00
kieth liu
68487523f5 t962x3_ab301: modify dts for WIFI/BT/tuner [1/1]
PD#SWPL-6720

Problem:
WIFI/BT/tuner can not work

Solution:
modify dts for WIFI/BT/tuner

Verify:
verify by t962x3_ab301

Change-Id: I0925a2ebbad2825e4df47cc3957d960cdcab6ac4
Signed-off-by: kieth liu <kieth.liu@amlogic.com>
2019-04-11 14:51:45 +08:00
kunpeng.tang
606fc899cf dts: tm2 bring up,add h.264 encoder support [1/1]
PD#SWPL-6373

Problem:
tm2 has no h.264 encoder device path

Solution:
add in mesontm2.dtsi

Verify:
AB311

Change-Id: I7a3698eecb6917d3f4e698868cf3b66e7f350fad
Signed-off-by: kunpeng.tang <kunpeng.tang@amlogic.com>
2019-04-11 14:51:38 +08:00
Yue Wang
147d8c7f93 pcie: bringup TM2 pcie [1/1]
PD#SWPL-5609

Problem:
bringup TM2 pcie.

Solution:
bringup TM2 pcie,all boards.

Verify:
TM2

Change-Id: I5477eeda03313c660b8162943ca33ff56bfc7e3c
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2019-04-11 14:51:32 +08:00
Jiamin Ma
e98ee8e2cf unifykey: securitykey: enable securitykey by default [1/1]
PD#SWPL-6823

Problem:
Securitykey driver fail to probe

Solution:
Enable securitykey in DTS by default

Verify:
TM2

Change-Id: I962f53c0e786fae85dc856e382b060f4f5f7347c
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-04-11 14:51:25 +08:00
Jian Hu
b46ec843e6 clk: tm2: update pcie pll parameters [1/1]
PD#SWPL-5636

Problem:
pcie pll works not well

Solution:
update pcie pll parameters which are provided by vlsi,
do not set M/N/OD/frac registers after the parameters
are setted.

Verify:
test passed on tm2 ab311

Change-Id: I76d64e7ed06c36da3a781ab4d5d79b4b736f2057
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2019-04-11 14:49:52 +08:00
zhiqiang liang
c1be38bbf9 soc: add mailbox interface for dsp sec reg ops [3/3]
PD#SWPL-6583

Problem:
tm2 dsp bring up

Solution:
add the mbox interface

Verify:
AB311

Change-Id: Ifddb9bb0b22c651c5a0e02c2200874dcaa6dc2ce
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
2019-04-11 14:49:45 +08:00
qingwei.xu
aedfc41a8e dts: Optimization t962e2_skt、t962x3_skt logo CMA memory layout [1/1]
PD#SWPL-6373

Problem:
Optimization logo CMA memory layout

Solution:
Optimization logo CMA memory layout

Verify:
t962e2_skt

Change-Id: I03906452d35881ccd4e463715e5be7580740816d
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
2019-04-11 14:49:37 +08:00
qingwei.xu
60b558524a partion: increase vendor partion size for 32bit [1/1]
PD#SWPL-6373

Problem:
increase vendor partion size for 32bit kernel

Solution:
increase vendor partion size for 32bit kernel

Verify:
verify by t962e2_ab311

Change-Id: Ifb26b2b9f1ec4712177a5ca1a112d7c60ec4e70b
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
2019-04-11 14:49:30 +08:00
Hong Guo
bf72664292 cpufreq: dynamic adjustment dsu clk with tm2 cpu clk [1/3]
PD#SWPL-6758

Problem:
dynamic adjustment dsu clk with tm2 cpu clk.

Solution:
dynamic adjustment dsu clk with tm2 cpu clk.

Verify:
t962e2_ab319, verify pass

Change-Id: I7eee5ed58b80e0f77603ca505abcd1caf3d131e7
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-04-11 14:49:23 +08:00
zhiwei.yuan
3d462b9e08 di: pd22 FW parameters need optimize [1/1]
PD#SWPL-5046

Problem:
PD22 para is incorrect

Solution:
correct the parameters

Verify:
verified by t962x2_x301

Change-Id: I0b26914694dd19f9b06cb37c50f7589a200ea0b1
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-04-10 23:48:57 -07:00
Lei Yang
80d7a1ae75 hdmirx: update config for TM2 [1/1]
PD#SWPL-5616

Problem:
bring up hdmirx for TM2

Solution:
hdmirx: add hdmirx TM2 support

Verify:
Verfied on TM2 skt board

Change-Id: I82fd66afc7f26f1bdfd7a4f1fc4cc0d9d7ed3974
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2019-04-11 14:48:52 +08:00
MingLiang Dong
3025ec21a2 di: disable deghost refresh according to motion [1/1]
PD#SWPL-6423

Problem:
deghost refresh according to motion

Solution:
disable deghost refresh according to motion

Verify:
verify on TL1

Change-Id: Ic3647462e5f5686f6cc182c30797752ea72c013c
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-04-10 23:48:21 -07:00
Nian Jing
eea311172d vdin: close afbc mode current stage for tm2 [1/1]
PD#SWPL-6701

Problem:
afbc abnormal

Solution:
close afbc at current stage

Verify:
test pass on tm2 ab311

Change-Id: I5978caa5decb1536c2240467115395f422637c39
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2019-04-11 14:47:59 +08:00