Bencheng Jing [Wed, 17 Apr 2019 03:26:58 +0000 (11:26 +0800)]
amvecm: fix sm1 green screen when play videos [1/1]
PD#SWPL-7302
Problem:
sm1 green screen when play videos
Solution:
add chip support
Verify:
s905D3
Change-Id: I50c0a9f889d72b65157a973bfe1df8dce10db64a
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Jianxin Pan [Wed, 3 Apr 2019 11:16:50 +0000 (19:16 +0800)]
debug: improve ftrace_ramoops for io trace [2/2]
PD#SWPL-6028
Problem:
improve ftrace_ramoops to debug bus hang
Solution:
1. in uboot
setenv initargs $initargs ramoops_io_en=1 loglevel=3;save;reset
2. in linux command line:
cat /sys/module/kernel/parameters/ramoops_io_en
to check if success.
3. after watchdog reboot, get trace data with:
cat /sys/fs/pstore/ftrace-ramoops-0
Verify:
TL1 x301
Change-Id: If1a2582b40a3ded31eedef5355eb0b8a5bf495c3
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Jiamin Ma [Thu, 11 Apr 2019 05:37:51 +0000 (13:37 +0800)]
earlycon: support aml-uart as the name for earlycon [1/1]
PD#SWPL-6969
Problem:
For some historical reason, aml-uart is configured as the earlycon
name in uboot, which is not recognized by 4.9 kernel
Solution:
support aml-uart as the name for earlycon
Verify:
Ampere
Change-Id: I53463ac6d27ff3e911aa675cd5d10d6cbf26ba05
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Nanxin.Qin [Mon, 25 Mar 2019 10:03:13 +0000 (18:03 +0800)]
media: add the register sets for parser B [1/1]
PD#SWPL-5417
Problem:
bringup sm1 and tm2.
Solution:
add the register sets for parser B.
Verify:
AB311
Change-Id: I3c1620d69260f92c8d1590976950030604b7dd80
Signed-off-by: Nanxin.Qin <nanxin.qin@amlogic.com>
Evoke Zhang [Mon, 15 Apr 2019 11:30:10 +0000 (19:30 +0800)]
vdin: support dynamic dest_cfmt changing [1/1]
PD#TV-4306
Problem:
vdin afbc will show green screen when hdmirx change dest_cfmt after stable
Solution:
dynamic config vdin afbc with cfmt
Verify:
x301
Change-Id: I404c47934f090222a2cdd7cf98b619826cd92cc7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Evoke Zhang [Wed, 10 Apr 2019 02:07:39 +0000 (10:07 +0800)]
vdin: ignore v4l2start/stop ioctl when vdin1 used for preview [1/1]
PD#SWPL-6840
Problem:
hdmi port can't screencap
Solution:
ignore v4l2start/stop ioctl when vdin1 used for preview
Verify:
x301
Change-Id: I26e7b057177a0b7ed203c04bd3008c2a34793b4a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
nengwen.chen [Mon, 8 Apr 2019 07:34:22 +0000 (15:34 +0800)]
atv_demod: fix audio config (PAL_M, NTSC_M) when video is PAL [1/1]
PD#TV-4274
Problem:
fix audio config (PAL_M, NTSC_M) when video is PAL.
Solution:
fix audio config (PAL_M, NTSC_M) when video is PAL
Verify:
verified by x301.
Change-Id: I9be8d71d52a226b6422317be0b77ca6331f23147
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Xing Wang [Tue, 9 Apr 2019 03:20:57 +0000 (11:20 +0800)]
dts: audio: update vad for sm1 [1/1]
PD#SWPL-5427
Problem:
lack vad function for sm1
Solution:
add vad function for sm1
Verify:
ac200
Change-Id: Ib4118b16405102a72f98ff65396e6f9d98f97bca
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Pengcheng Chen [Wed, 10 Apr 2019 04:21:38 +0000 (12:21 +0800)]
osd: fix hotplug hdmi causes system crash [1/1]
PD#SWPL-7009
Problem:
hotplug hdmi causes system crash
when unplug hdmi display mode is null, hwc hasn't received
event and post frame normal but osd vsync lost, which caused
wait hw vsync timeout(1s), and fd leak.
Solution:
when process every frame, if display mode is null, exit frame process
just process fence.
Verify:
verified on Raven, franklin
Change-Id: Icbe7cd76776e46a6ed79c6cee3ea05772cc5f9d2
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Ting Li [Mon, 18 Feb 2019 10:45:27 +0000 (18:45 +0800)]
picdec: add picdec dev node for u200 u211 u212 w400 sm1 [1/1]
PD#SWPL-4551
Problem:
ImagePlayer cannot play picture
Solution:
add picdec dev node for u200 u211 u212 w400
Verify:
franklin
Change-Id: I35cc28e2ab06367f33a7326ce671b1ee461e6fb1
Signed-off-by: xi an <an.xi@amlogic.com>
Signed-off-by: li ting <ting.li@amlogic.com>
yicheng shen [Tue, 9 Apr 2019 03:45:19 +0000 (23:45 -0400)]
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>
yicheng shen [Mon, 8 Apr 2019 07:15:50 +0000 (03:15 -0400)]
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>
Bencheng Jing [Wed, 3 Apr 2019 14:02:02 +0000 (22:02 +0800)]
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>
Zhe Wang [Mon, 15 Apr 2019 08:32:43 +0000 (16:32 +0800)]
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>
Jian Cao [Thu, 4 Apr 2019 13:31:12 +0000 (21:31 +0800)]
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>
Hanjie Lin [Mon, 15 Apr 2019 02:14:37 +0000 (10:14 +0800)]
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>
Zongdong Jiao [Fri, 12 Apr 2019 08:58:08 +0000 (16:58 +0800)]
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>
Jianxin Pan [Mon, 15 Apr 2019 06:49:41 +0000 (23:49 -0700)]
Merge "dts: debug: enable ftrace_ramoops for new tm2 dts [1/1]" into amlogic-4.9-dev
Bencheng Jing [Mon, 18 Mar 2019 11:08:54 +0000 (19:08 +0800)]
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>
Jianxin Pan [Mon, 15 Apr 2019 06:28:50 +0000 (14:28 +0800)]
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>
Blance Tang [Mon, 15 Apr 2019 06:20:39 +0000 (14:20 +0800)]
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>
Yong Qin [Mon, 8 Apr 2019 06:24:11 +0000 (14:24 +0800)]
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>
Shuide Chen [Thu, 11 Apr 2019 05:20:46 +0000 (13:20 +0800)]
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>
Liang Ji [Fri, 12 Apr 2019 11:05:39 +0000 (19:05 +0800)]
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>
Jianxin Pan [Mon, 15 Apr 2019 03:15:01 +0000 (11:15 +0800)]
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>
Hong Guo [Mon, 15 Apr 2019 02:39:47 +0000 (10:39 +0800)]
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>
Yi Zhou [Fri, 12 Apr 2019 13:04:03 +0000 (21:04 +0800)]
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>
Zhe Wang [Fri, 12 Apr 2019 09:54:48 +0000 (17:54 +0800)]
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>
Lei Yang [Sun, 7 Apr 2019 09:06:42 +0000 (17:06 +0800)]
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>
Nanxin Qin [Tue, 9 Apr 2019 14:34:05 +0000 (22:34 +0800)]
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>
Yi Zhou [Thu, 11 Apr 2019 07:03:06 +0000 (15:03 +0800)]
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>
Yong Qin [Wed, 10 Apr 2019 08:37:54 +0000 (16:37 +0800)]
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>
cancan.chang [Fri, 12 Apr 2019 05:03:45 +0000 (13:03 +0800)]
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>
xiaoliang.wang [Thu, 4 Apr 2019 02:29:23 +0000 (10:29 +0800)]
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>
zhiwei.yuan [Fri, 1 Mar 2019 06:47:01 +0000 (14:47 +0800)]
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>
MingLiang Dong [Wed, 20 Feb 2019 07:15:44 +0000 (02:15 -0500)]
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>
Wenfeng Guo [Thu, 10 Jan 2019 08:19:58 +0000 (16:19 +0800)]
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>
Yong Qin [Thu, 11 Apr 2019 06:06:56 +0000 (14:06 +0800)]
Revert "di: change clkb frq from 500 to 667 [1/1]"
This reverts commit
c75a783c4278f4b8c97dedadc72f44d49461dc4f.
Change-Id: I2bf82f1ceeebc1377d45b76ee1d2563811c154ca
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Yingyuan Zhu [Wed, 10 Apr 2019 09:27:24 +0000 (17:27 +0800)]
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>
Zhe Wang [Fri, 12 Apr 2019 02:51:00 +0000 (10:51 +0800)]
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>
Jian Cao [Fri, 12 Apr 2019 02:34:25 +0000 (10:34 +0800)]
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>
xiaoliang.wang [Thu, 4 Apr 2019 02:29:23 +0000 (10:29 +0800)]
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>
Zhe Wang [Fri, 5 Apr 2019 06:42:48 +0000 (14:42 +0800)]
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>
zhiwei.yuan [Thu, 4 Apr 2019 08:06:32 +0000 (16:06 +0800)]
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>
Hong Guo [Tue, 9 Apr 2019 06:11:02 +0000 (14:11 +0800)]
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>
Yi Zhou [Thu, 14 Mar 2019 08:05:59 +0000 (16:05 +0800)]
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>
Yong Qin [Mon, 1 Apr 2019 07:45:36 +0000 (15:45 +0800)]
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>
kieth liu [Mon, 8 Apr 2019 11:38:19 +0000 (07:38 -0400)]
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>
kunpeng.tang [Mon, 8 Apr 2019 07:06:08 +0000 (15:06 +0800)]
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>
Yue Wang [Mon, 8 Apr 2019 08:51:25 +0000 (16:51 +0800)]
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>
Jiamin Ma [Mon, 8 Apr 2019 08:18:02 +0000 (16:18 +0800)]
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>
Jian Hu [Mon, 8 Apr 2019 08:13:26 +0000 (16:13 +0800)]
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>
zhiqiang liang [Thu, 4 Apr 2019 07:58:50 +0000 (15:58 +0800)]
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>
qingwei.xu [Mon, 8 Apr 2019 05:40:58 +0000 (13:40 +0800)]
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>
qingwei.xu [Mon, 8 Apr 2019 05:19:42 +0000 (13:19 +0800)]
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>
Hong Guo [Mon, 8 Apr 2019 01:49:29 +0000 (09:49 +0800)]
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>
zhiwei.yuan [Fri, 1 Mar 2019 06:47:01 +0000 (14:47 +0800)]
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>
Lei Yang [Tue, 2 Apr 2019 06:36:33 +0000 (14:36 +0800)]
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>
MingLiang Dong [Wed, 20 Feb 2019 07:15:44 +0000 (02:15 -0500)]
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>
Nian Jing [Sat, 6 Apr 2019 07:34:56 +0000 (15:34 +0800)]
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>
shaochan.liu [Thu, 28 Mar 2019 12:10:48 +0000 (20:10 +0800)]
lcd: add lcd_driver support for tm2 [2/2]
PD#SWPL-6398
Problem:
add lcd_driver support
Solution:
add lcd_chip_tm2 and panel.dtsi
Verify:
ab301
Change-Id: I3cb5b67826ea2612e69b206168497771d5ced4b2
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
MingLiang Dong [Fri, 5 Apr 2019 05:54:50 +0000 (01:54 -0400)]
amvecm: TM2 bringup LC/CM 12bit config [1/1]
PD#SWPL-6720
Problem:
video display color green
Solution:
TM2 bringup LC/cm 12bit config
Verify:
verify on TM2
Change-Id: I42b37e04566ebb5e2f6e7da3f0ade240471cdb33
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Yong Qin [Mon, 1 Apr 2019 06:56:44 +0000 (14:56 +0800)]
di: bringup for tm2 [1/1]
PD#SWPL-6575
Problem:
chip bring up
Solution:
1.add tm2 chip id for tm2
2.add h scaling down function for tm2
Verify:
tm2
Change-Id: I364d7c07be331d81ef546357445225c6071f8e3c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Nian Jing [Wed, 3 Apr 2019 07:33:01 +0000 (15:33 +0800)]
tvafe: add av/atv/cvbs support for tm2 [1/1]
PD#:SWPL-6702
Problem:
tm2 bringup
Solution:
add av/atv/cvbs support for tm2
Verify:
tm2 T962E2
Change-Id: I1c7358cd17463843fbdd7a93c7416a22aaa2387c
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Wenfeng Guo [Thu, 10 Jan 2019 08:19:58 +0000 (16:19 +0800)]
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>
Nian Jing [Thu, 4 Apr 2019 12:46:46 +0000 (20:46 +0800)]
vdin: add vdin support for tm2 [1/1]
PD#SWPL-6701
Problem:
Need vdin supprt for sm2
Solution:
add vdin support for tm2
Verify:
test pass on tm2 ab311
Change-Id: I57d7b3014938011d18c5e168f18c78e4fa542fc7
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Yong Qin [Thu, 11 Apr 2019 06:06:56 +0000 (14:06 +0800)]
Revert "di: change clkb frq from 500 to 667 [1/1]"
This reverts commit
c75a783c4278f4b8c97dedadc72f44d49461dc4f.
Change-Id: I2bf82f1ceeebc1377d45b76ee1d2563811c154ca
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
MingLiang Dong [Thu, 4 Apr 2019 12:13:03 +0000 (08:13 -0400)]
hdr: TM2 bringup disable lc/cm [1/1]
PD#SWPL-6720
Problem:
video display color green
Solution:
TM2 bringup disable lc/cm
Verify:
verify on TM2
Change-Id: I2d8222c92f8181710a13a56f650655281fac5115
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Brian Zhu [Thu, 4 Apr 2019 12:12:31 +0000 (20:12 +0800)]
vpp: tm2: add vd2 function for tm2 [2/2]
PD#SWPL-6615
Problem:
Need vd2 function
Solution:
add vd2 function for tm2:
1.vd2 pps scaler
2.disable vd2 afbc
Verify:
test pass on tm2 skt
Change-Id: I7af5de741b90e443ee065218aecb823ef06d66a7
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Jian Hu [Mon, 26 Nov 2018 07:28:21 +0000 (15:28 +0800)]
clk: tm2: add dsu clock [2/3]
PD#SWPL-6758
Problem:
tm2 dsu clock does not work
Solution:
1.add dsu clock
2.gp1 pll clock
Verify:
verify on tm2 ad311
Change-Id: I8090a75d15ae4e532f6ae04563d6d0158f8fbc87
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
kieth liu [Wed, 3 Apr 2019 11:43:03 +0000 (07:43 -0400)]
dts: update t962x3_ab301 and disable hdmitx for other boards [2/3]
PD#SWPL-6720
Problem:
no t962x3_ab301 dts
For TM2 series, some have hdmitx port, while others don't have it.
Solution:
add t962x3_ab301 dts
amhdmitx/status = "disabled" as default value for those no-hdmitx
boards
Verify:
verify by t962x3_ab301
Change-Id: I0e521acd5704a58de6aad98a94d286c8b9b00dc9
Signed-off-by: kieth liu <kieth.liu@amlogic.com>
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
nengwen.chen [Wed, 3 Apr 2019 06:55:46 +0000 (14:55 +0800)]
atv_demod: tm2: atv demod basic functin bringup [1/1]
PD#SWPL-6731
Problem:
atv demod basic functin bringup.
Solution:
atv demod basic functin bringup.
Verify:
Verified by ab301 and ab309.
Change-Id: Ie2d92aad9d2ebf2493f26c50ff7ded57cd040b1c
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Yue Wang [Thu, 4 Apr 2019 05:47:18 +0000 (13:47 +0800)]
usb: bringup TM2 usb3 [2/2]
PD#SWPL-5609
Problem:
bringup TM2 usb3.
Solution:
bringup TM2 usb3.
Verify:
TM2
Change-Id: Ib2c80e7e586ddbe6f85a6d046efdbd650b81b030
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Jianxiong Pan [Thu, 4 Apr 2019 03:02:16 +0000 (11:02 +0800)]
dts: rename tm2_t962e2_ab301.dts to tm2_t962x3_ab301.dts. [1/1]
PD#SWPL-6678
Problem:
rename tm2_t962e2_ab301.dts
Solution:
rename tm2_t962e2_ab301.dts to tm2_t962x3_ab301.dts.
Verify:
build pass.
Change-Id: Ia320b36323a56b5ae496fbd44ffcd2b38ada8ec1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Hong Guo [Thu, 4 Apr 2019 03:01:32 +0000 (11:01 +0800)]
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 ab3100
Change-Id: Ic01c39f33ffb64b9bf5e419b8f2c55701b510a94
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Yue Wang [Thu, 4 Apr 2019 03:18:28 +0000 (11:18 +0800)]
usb: bringup TM2 usb3 [1/1]
PD#SWPL-5609
Problem:
bringup TM2 usb3.
Solution:
bringup TM2 usb3.
Verify:
TM2
Change-Id: Iea60a85e7d344f8f1cd44d07a634a6edd351218c
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Jian Hu [Thu, 4 Apr 2019 02:36:49 +0000 (10:36 +0800)]
clk: tm2: dspb clock does not work [1/1]
PD#SWPL-5636
Problem:
dspb clock does not work
Solution:
the dspb clocks describe the wrong register, fix it.
Verify:
test passed on tm2 ab3100
Change-Id: I9ef0fb432bc3394843fb397392fc02f5c613cec0
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Brian Zhu [Sat, 30 Mar 2019 18:53:08 +0000 (02:53 +0800)]
vpp: tm2: add vpp and sr support [1/2]
PD#SWPL-6615
Problem:
Need vpp and sr supprt for sm2
Solution:
add support for tm2
Verify:
test pass on tm2 skt
Change-Id: I0ae2cb178fcbe047cdfec6b4e200424178993e6e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Zhe Wang [Wed, 3 Apr 2019 14:53:30 +0000 (22:53 +0800)]
audio: TM2: disable spk on skt board [1/1]
PD#SWPL-6721
Problem:
audio block start.
Solution:
disable spk on dts setting.
Verify:
Verified on T962e2_ab311
Change-Id: I85da808dad14d0b16b66ea4e07276980c6896aa4
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Pengcheng Chen [Fri, 29 Mar 2019 09:16:22 +0000 (17:16 +0800)]
osd: set osd1 scaler before osd blend [1/1]
PD#SWPL-6596
Problem:
bring up osd for TM2
Solution:
set osd1 scaler before osd blend
Verify:
Verified on T962e2_ab319
Change-Id: I9e7d5fa83b2edc8e9359371695ea46fa3b39e09c
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Yi Zhou [Wed, 3 Apr 2019 03:13:36 +0000 (11:13 +0800)]
hdmitx: hdmitx bringup for tm2 [1/1]
PD#SWPL-5617
Problem:
no irq and can't read edid
Solution:
add irq
Verify:
tm2 ptm
Change-Id: Iedbff2da4758e9a091b56f9ec75b8130b72b846a
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Jian Hu [Tue, 26 Mar 2019 03:27:32 +0000 (11:27 +0800)]
clk_measure: tm2: add clock measurement [1/1]
PD#SWPL-5636
Problem:
the clock measurement in SoC is changed
Solution:
add clock measurement
Verify:
test passed on ptm
Change-Id: I2325e9c76e27498c258449624b01f0deff9f7684
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Jian Hu [Mon, 25 Mar 2019 07:55:59 +0000 (15:55 +0800)]
clk: meson-tm2: add new clocks [1/1]
PD#SWPL-5636
Problem:
pcie and several clk81 clocks are newly added in tm2 SoC
Solution:
add pcie and several clk81 clocks
Verify:
test passed on ptm
Change-Id: I8456d7fa8ffb6438e99d3f1cddee4a3ba846b933
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Shunzhou Jiang [Mon, 1 Apr 2019 10:56:14 +0000 (18:56 +0800)]
power: sm1/tm2: add sleep and iso mask function [1/1]
PD#SWPL-6186
Problem:
add mask function
Solution:
add sleep and iso mask function
Verify:
sm1_skt
Change-Id: Ifbb7329fd1eb6e333d0332f53c809e7b2e55181d
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Jianxiong Pan [Tue, 2 Apr 2019 11:36:28 +0000 (19:36 +0800)]
dts: add tm2_t962e2_ab301.dts. [1/1]
PD#SWPL-6678
Problem:
need support tm2_t962e2_ab301.dts
Solution:
copy from tm2_t962e2_ab311.dts
Verify:
build pass.
Change-Id: I83c0f103399352b524a5203f22dc8d6f541b56a9
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
ruixuan.li [Tue, 2 Apr 2019 03:11:56 +0000 (11:11 +0800)]
tm2: emmc run hs200 busmode [1/1]
PD#SWPL-5658
Problem:
emmc run high speed now
Solution:
modify dts
Verify:
passed on t962e2_ab319
Change-Id: Iedef30bed9547e7f57c883077462f1762c55fda3
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
Yi Zhou [Tue, 2 Apr 2019 05:30:47 +0000 (13:30 +0800)]
hdmitx: hdmitx bringup for tm2 [1/1]
PD#SWPL-5617
Problem:
error print
Solution:
remove it
test method:
Verify:
tm2 ptm
Change-Id: I63f64a98980ee22fb60af442f39f465f2fc74915
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
qingweixu [Tue, 2 Apr 2019 02:14:40 +0000 (10:14 +0800)]
partion: increase vendor partion size for 64bit [1/1]
PD#SWPL-6373
Problem:
increase vendor partion size for 64bit kernel
Solution:
increase vendor partion size for 64bit kernel
Verify:
verify by tm2_skt
Change-Id: I18afd344c4bd4b486407033103743816b8408205
Signed-off-by: qingweixu <qingwei.xu@amlogic.com>
Jian Cao [Sat, 30 Mar 2019 11:25:18 +0000 (19:25 +0800)]
osd: add osd TM2 support [1/1]
PD#SWPL-6558
Problem:
bring up osd for TM2
Solution:
osd: add osd TM2 support
Verify:
Verfied on TM2 skt board
Change-Id: I2183bd1f60793baf947c303b6d456e8c69d104ac
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Qianggui Song [Sat, 23 Mar 2019 04:05:54 +0000 (12:05 +0800)]
irqchip: tm2 irqchip support [1/1]
PD#SWPL-5651
Problem:
tm2 has 2 extra pins than tl1, should use new param data
Solution:
add tm2 param data
Verify:
T962e2_ab319
Change-Id: I77aaaead7b10024cd5f12354ba6b47db74ba96f5
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Yi Zhou [Sat, 23 Mar 2019 10:02:37 +0000 (18:02 +0800)]
hdmitx: hdmitx bringup for tm2 [3/3]
PD#SWPL-5617
Problem:
hdmitx bringup for tm2
Solution:
echo null > /sys/class/display/mode
echo 1080p60hz > /sys/class/display/mode
test method:
echo bist1920 > /sys/class/amhdmitx/amhdmitx0/debug
echo bistoff > /sys/class/amhdmitx/amhdmitx0/debug
Verify:
tm2 ptm
Change-Id: I4c69ec1e1e26c1ae7fde0fca5cd8b98c13e609f2
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Evoke Zhang [Fri, 29 Mar 2019 07:53:06 +0000 (15:53 +0800)]
vpu: add tm2 support [1/1]
PD#SWPL-6397
Problem:
tm2 is a new chip
Solution:
add vpu driver support for tm2
Verify:
pxp
Change-Id: I19275c513b68fba8feced37f1ff8fca9bf48d395
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
ruixuan.li [Mon, 1 Apr 2019 06:12:07 +0000 (14:12 +0800)]
tm2: make emmc run high speed [1/1]
PD#SWPL-5658
Problem:
emmc run hs200 report cmd18 rx data crc
Solution:
emmc run high speed first
Verify:
passed on t962e2_ab319
Change-Id: Iaeef33e38f7c5130ebfd0e7c5886459b8138a803
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
Yue Wang [Mon, 1 Apr 2019 03:37:50 +0000 (11:37 +0800)]
usb: bringup TM2 usb [1/1]
PD#SWPL-5609
Problem:
bringup TM2 usb.
Solution:
bringup TM2 usb.
Verify:
TM2
Change-Id: I61f388a516442064af5b21f4688f6787e9e358e9
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
pan.yang [Sun, 31 Mar 2019 09:48:17 +0000 (05:48 -0400)]
dts: modified t962ex_ab311 319 and t962x3_a309,pxp dts [1/1]
PD#SWPL-6560
Problem:
Need to change dts
Solution:
modified ab311 ab319 and ab309 and pxp
Verify:
test pass at skt_tm2
Change-Id: Iabc21582910f66b321b55928ce86d0958cb83503
Signed-off-by: pan yang<pan.yang@amlogic.com>
Jianxin Pan [Sun, 31 Mar 2019 04:58:33 +0000 (12:58 +0800)]
dts: add t962ex_ab311 319 and t962x3_a309 [1/1]
PD#SWPL-6559
Problem:
Need more DTB support
Solution:
add ab311 ab319 and ab309
ab311 is from tl1_x301
ab319 and ab309 are from tl1_skt
Verify:
Build pass
Change-Id: Ie8a8bec03107d4c4d0328dcd8deab916bd7f63f2
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
pan.yang [Sat, 30 Mar 2019 11:28:52 +0000 (07:28 -0400)]
power: tm2: add power control dts config [1/1]
PD#SWPL-5648
Problem:
need power control dts
Solution:
add power control dts
Verify:
tm2_skt
Change-Id: Ia677567dec5bb9ca8ea0cf067d8885d3005d32c2
Signed-off-by: pan yang<pan.yang@amlogic.com>
pan.yang [Sat, 30 Mar 2019 08:56:49 +0000 (04:56 -0400)]
tm2: change tm2 mailbox dts config [1/1]
PD#SWPL-5639
Problem:
tm2 mailbox config has been changed
Solution:
change tm2 mailbox dts config
Verify:
tm2_skt
Change-Id: I1e3fb569464826304f46276668ed359ad5cc2718
Signed-off-by: pan yang<pan.yang@amlogic.com>
Jian Cao [Sat, 30 Mar 2019 08:25:15 +0000 (16:25 +0800)]
dts: tm2: add ge2d support [1/1]
PD#SWPL-6552
Problem:
add ge2d support
Solution:
add ge2d support
Verify:
verified on TM2 skt board
Change-Id: Idba0f97ea1596a4f579530fb86829f5ede307e52
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Qianggui Song [Fri, 22 Mar 2019 14:15:03 +0000 (22:15 +0800)]
pinctrl: support tm2 pinctrl [1/1]
PD#SWPL-5656
Problem:
tm2 need a static data pinctrl file to depict pins
Solution:
add relative codes to support tm2
Verify:
T962E2_ab319
Change-Id: I55206f9b3df6390e8821fd777d329ddf05dd8386
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>