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>
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>
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>
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>
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>
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>
shanghai engineers [Mon, 25 Mar 2019 02:11:00 +0000 (22:11 -0400)]
TM2: add chip id and name for tm2 [1/1]
PD#SWPL-6157
Problem:
TM2 bring up need to update chip version name and id
Solution:
add the chipid and chip version name at dts and help file
Verify:
on ptm board4
Change-Id: I37e44828db1821c7fd2921c3e4271a27bd715b88
Signed-off-by: pan yang <pan.yang@amlogic.com>
shanghai engineers [Fri, 22 Mar 2019 08:58:34 +0000 (04:58 -0400)]
tm2: add tm2_pxp dts at amlogic for ptm bringup [1/1]
PD#SWPL-6157
Problem:
Current branch need tm2_pxp dts at amlogic system
Solution:
Create tm2_pxp dts at tm2 kernel branch, and modified scripts
Verify:
on ptm board4
Change-Id: I83204db07462729861a59d322fa99e4370c09dea
Signed-off-by: pan yang <pan.yang@amlogic.com>
Bencheng Jing [Wed, 10 Apr 2019 09:41:22 +0000 (17:41 +0800)]
amvecm: fix lc enable/disable not follow pq.db [1/1]
PD#TV-4358
Problem:
lc enable/disable not follow pq.db
Solution:
check the db reg vlaue,then adjust lc_en
Verify:
TL1
Change-Id: I0bf652eff96d75355c8fb1329291d1611e226b96
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Shuai Li [Sat, 6 Apr 2019 08:17:57 +0000 (16:17 +0800)]
audio: add codec trigger mute for depop [1/1]
PD#SWPL-6944
Problem:
TV-3381
Speaker sometimes has clicking noise when playing DTV program.
Solution:
add codec trigger mute for depop
Verify:
Local verified.
Change-Id: Ib15a6b90bd3a6cdda2255afaf86daeab68ba07e2
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Zongdong Jiao [Fri, 11 Jan 2019 03:27:21 +0000 (11:27 +0800)]
hdmitx: add audio ATMOS parsing [1/1]
PD#SWPL-4085
Problem:
Need audio ATMOS information in RX EDID
Solution:
Add parsing audio ATMOS information
Verify:
GXL/P212
Change-Id: I882b817a4d7621833bb7e4b85231d7a42e426382
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Zongdong Jiao [Fri, 8 Mar 2019 07:23:30 +0000 (15:23 +0800)]
hdmitx: adjust PHY parameter with 5.1 ohm resistor [2/2]
PD#SWPL-2927
Problem:
No enough eye diagram when adding TMDS 5.1 ohm resistor
Solution:
adjust PHY parameter with 5.1 ohm resistor
Verify:
G12/U212
Change-Id: Ib5518613c556f9b04eb0aa374193c7a6046a7ba9
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Evoke Zhang [Fri, 5 Apr 2019 12:52:27 +0000 (20:52 +0800)]
vdin: config vdin mif/afbc path directly [1/1]
PD#SWPL-6277
Problem:
switch hdmi port maybe display green screen
Solution:
1.optimize vdin stop sequence, reduce afbc state polling interval,
and rest afbc to get a clean state
2.change vdin mif/afbc patch directly, not rdma method,
for vdin0/1 rdma are independent
Verify:
x301
Change-Id: I0ddf5d27dcfc0fd930eeb681f876c4c5e92e8d70
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Pengcheng Chen [Tue, 9 Apr 2019 05:22:03 +0000 (13:22 +0800)]
osd: osd display color abnormal when run drm [1/1]
PD#SWPL-6867
Problem:
osd dispaly color abnormal because osd enable not update.
Solution:
update osd enalbe flag in drm process.
Verify:
Verified u212
Change-Id: I1c2e8b62d9d5af203c95d3d0ac940fb512dd8e5e
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Yong Qin [Wed, 3 Apr 2019 11:36:42 +0000 (19:36 +0800)]
vlock: phase lock sometime lose effect [1/1]
PD#SWPL-6723
Problem:
phase lock sometime effect vlock
Solution:
disable phase lock function now
Verify:
tl1
Change-Id: I4cfe1e0153084717967309e832b028691ab44c88
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Xing Wang [Mon, 8 Apr 2019 08:05:48 +0000 (16:05 +0800)]
audio: codec: un-mute ad82584 in default [1/1]
PD#SWPL-6810
Problem:
android version, no sound for spk
ad82584 is mute in default.
Solution:
un-mute ad82584, and add delay for de-pop
Verify:
ac200
Change-Id: Id78eb77b5e1a0ebed0a16a9b97992c6a07f78cde
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
Jiamin Ma [Mon, 8 Apr 2019 09:06:27 +0000 (17:06 +0800)]
time: fix fail to read generic timer's counter value correctly [1/1]
PD#SWPL-6837
Problem:
The return value of arch_counter_get_cntvct is always abnormal
when it is in irq stack. In this case, arch_counter_get_cntvct
trys to access a variable in 8Bytes via a 4Bytes aligned addr-
ess, which vialates the rule: The address that is accessed
should be aligned to the size of the data element being
accessed
Solution:
after switching to irq stack, force the base sp value to be
16Bytes aligned. Since the address of variable in irq stack is
based on the base sp and arranged automatically, all the data
accessing in irq stack will be aligned.
Verify:
Ampere
Change-Id: I3b30a56491dd0720d1c885bfaf2ca98d1b103fdd
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Yong Qin [Thu, 4 Apr 2019 08:16:58 +0000 (16:16 +0800)]
di: change clkb frq from 500 to 667 [1/1]
PD#SWPL-6762
Problem:
di clkb frq is not right
Solution:
change from 500 to 667
Verify:
tl1
Change-Id: I9c62bb9936630937f19d8a6b490a8266d73a268c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Jianxin Pan [Tue, 9 Apr 2019 06:54:33 +0000 (23:54 -0700)]
Merge "media_module: h264/mpeg2/h265 [2/2]" into amlogic-4.9-dev
Rong Zhang [Fri, 22 Feb 2019 08:28:29 +0000 (16:28 +0800)]
media_module: h264/mpeg2/h265 [2/2]
PD#SWPL-3654
Problem:
provide aspect_ratio information by AMSTREAM_IOC_VDECSTAT
Solution:
add ration_control information in vdec_status function for
h264/mh264/vh265/mpeg12/mmpeg12, and normalized it for
aspect_ratio in AMSTREAM_IOC_VDECSTAT message.
Verify:
Verified U212
Change-Id: Icd9270eb8f2ce2f6f7455ec28780d26ac6c56348
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
Rong Zhang [Mon, 1 Apr 2019 13:11:08 +0000 (21:11 +0800)]
media_module: mh264/h265/avs2 [1/2]
PD#SWPL-6607
Problem:
Not support QOS information for mh264.h265,avs2
Solution:
Support QOS information picking for mh264,h265,avs2
Support QOS information access interface by ioctl
Verify:
Verified franklin
Change-Id: I4e6f85392007bc78a274726aba510c39088018e3
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
Luan Yuan [Thu, 4 Apr 2019 02:53:25 +0000 (10:53 +0800)]
dts: disabled pcie [1/1]
PD#SWPL-6662
Problem:
bootup spend 25s
Solution:
disable pcie and enable usb 3.0
Verify:
verify by w400
Change-Id: I5ea3526989b4d89cffb4e875487e2b80b5d15f0b
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Jianxin Pan [Thu, 4 Apr 2019 12:02:57 +0000 (20:02 +0800)]
dts: debug: enable ftrace_ramoops for new dts [1/1]
PD#SWPL-6028
Problem:
enable ftrce in ramoops for new dtbs
Solution:
enable ftrce in ramoops for new dtbs
Verify:
X301
Change-Id: I0643329a873a310d1078ebd898fec2d3cb75d43c
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Renjun Xu [Thu, 4 Apr 2019 07:08:50 +0000 (15:08 +0800)]
audio: fixed the issue of PDM 16 channel capture. [1/1]
PD#SWPL-5551
Problem:
cannot capture 8PDM + 8LOOPBACK.
Solution:
PDM cannot support 8PDM + 8LOOPBACK.
Verify:
s420/s400, verify pass
Change-Id: Iaf38bdcb218ebfc024666312162569cab93a76a9
Signed-off-by: Renjun Xu <renjun.xu@amlogic.com>
Evoke Zhang [Wed, 27 Mar 2019 03:19:21 +0000 (11:19 +0800)]
vdin: sync vdin0 & vdin1 buffer for afbc mode to avoid garbage screen [1/1]
PD#SWPL-3431
Problem:
enter hdmi 4k port will flash garbage screen with afbc mode
Solution:
sync vdin0 & vdin1 buffer for afbc mode
Verify:
x301
Change-Id: I443a9be2ed619a5cd2b6229f15814d8b856c5535
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
yicheng shen [Sat, 30 Mar 2019 10:49:23 +0000 (06:49 -0400)]
hdmirx: update phy setting [1/1]
PD#SWPL-5900
Problem:
Connect PS4PRO,plug out than in,the audio will show faster than video.
Solution:
1.update CDR lock logic;
2.add sw_reset_align and sw_reset_chan;
3.update phy init sequence;
Verify:
TL1
Change-Id: I0ef259502579a7edd2c61708c81983ce07124c9f
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Peng Yixin [Wed, 6 Mar 2019 02:27:56 +0000 (10:27 +0800)]
video: set pcrscr after 2 frames ready [2/3]
PD#SWPL-795
Problem:
Solution:
add a sysfs to get vframe ready count
Verify:
Verified p212
Change-Id: I92171f57d336063e4a3af751e808b4a778184fe0
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
Tao Zeng [Fri, 22 Mar 2019 06:12:05 +0000 (14:12 +0800)]
ramdump: write compressed data [2/2]
PD#SWPL-6193
Problem:
ramdump need write compressed data to persist storage device.
But if we write it under uboot, it may cause journal and block
bitmap mismatch due to different version of file system. This
caused kernel panic after ramdump finished.
Solution:
Write compressed data under kernel.
This change also removed some extern function of ramdump since
we use sticky register to store ramdump information.
Verify:
p212
Change-Id: Idd83ec6ead4783918b90a39cf716fd3117402278
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Jianxiong Pan [Wed, 3 Apr 2019 10:14:45 +0000 (18:14 +0800)]
paddr16: add paddr16 to get register values for 16-bits aligned address. [1/1]
PD#SWPL-6718
Problem:
paddr just can get register and memory values for 32-bits aligned address.
Solution:
add paddr16 to get register or memory values for 16-bits aligned address.
Verify:
g12b w400_a
Change-Id: Ic7f32dcc6c2a24d0ac1e8c3ed60acc27e81887e0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Nanxin Qin [Thu, 28 Mar 2019 15:43:08 +0000 (23:43 +0800)]
vdin: fixed the issue of mem mapping from vmap. [1/1]
PD#SWPL-6196
Problem:
the memory issue cause to kernel crash.
Solution:
1. add flush cache when the mem oper end.
2. unmap addr which from vmap in vdin driver.
Verify:
X301
Change-Id: Id6efe2b009fe64ad753d51eb06784bd4e66f5e87
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Jianxin Pan [Wed, 3 Apr 2019 10:53:20 +0000 (18:53 +0800)]
debug: enable ftrace_ramoops [1/2]
PD#SWPL-6028
Problem:
enable ftrce in ramoops
Solution:
enable ftrce in ramoops
Verify:
u200
Change-Id: I2403bf82c342416b7c34f2115b14dce623406997
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Xingyu Chen [Fri, 29 Mar 2019 08:09:58 +0000 (16:09 +0800)]
iio: adc: try to get flag again after the first failure [2/2]
PD#SH-451
Problem:
to get flag maybe occasionally fail
Solution:
try to get flag again after the first failure
Verify:
test pass on s400
Change-Id: Ibf430c9c331c7740864e797047962ad45e6698e3
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
huijie.huang [Thu, 28 Mar 2019 10:53:38 +0000 (18:53 +0800)]
memory: tl1 compatible with 1G and 2G memory [3/4]
PD#SWPL-6343
Problem:
Compatible 1G and 2G platform in one suite code
Solution:
Kernel add 1G and 2G config for TL1
Verify:
test pass on TL1-X301
Change-Id: Ic906c6b62cc6ae15166baf666d5823687359f823
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
renjiang.han [Mon, 1 Apr 2019 09:09:58 +0000 (17:09 +0800)]
ppmgr: The cut table caused a crash. [1/1]
PD#SWPL-6557
Problem:
The cut table caused a crash.
Solution:
modify dma flag
Verify:
on X301
Change-Id: Ic0ced1f4934d1125c56a79d1e102de9d2e02a528
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
Peng Yixin [Tue, 19 Mar 2019 12:11:58 +0000 (20:11 +0800)]
media_module: add double cache in codec_mm_scatter [1/1]
PD#SWPL-6677
Problem:
Decocder allocation and free mmu memory spend a long time.
Solution:
Add double cache to solve this problem.
Verify:
Verified P212
Change-Id: I393ad47b921631a49f551b32e31fd776ff4dfeea
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
Huan Biao [Tue, 2 Apr 2019 10:56:10 +0000 (18:56 +0800)]
thermal: move thermal dts for sm1 [1/1]
PD#SWPL-6675
Problem:
sm1 thermal dts issue
Solution:
move thermal dts for dtsi to board dts
Verify:
test pass on sm1_ac200
Change-Id: I3fa5f2f4b15bc78d322d94402b8d0894fd8cbd35
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Zhe Wang [Thu, 28 Mar 2019 10:31:04 +0000 (18:31 +0800)]
audio: support 16ch i2s playback for SM1 [1/1]
PD#SWPL-5430
Problem:
new function lane 6 and lane 8
Solution:
support max 16 channel playback
Verify:
sm1_ac200, verify pass
Change-Id: I3af42a0b68bca8804afa042ad4a506a379b9bf86
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Zhuo Wang [Tue, 2 Apr 2019 05:43:59 +0000 (13:43 +0800)]
ethernet: reset ethernet when resume [1/1]
PD#SWPL-6608
Problem:
system will report tx error somethime after resume
Solution:
reset ethernet when resume
Verify:
verify on u200 board
Change-Id: I9863a8a50c08addd4e2d8c024f46a2e7568c28b4
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
changqing.gao [Mon, 1 Apr 2019 05:57:55 +0000 (13:57 +0800)]
fs: KASAN error in nls uniname cmp [1/1]
PD#SWPL-6404
Problem:
KASAN error:global-out-of-bounds in nls_uniname_cmp
Solution:
Append "\0\0" to the string of UNI_CUR_DIR_NAME and UNI_PAR_DIR_NAME
Verify:
x301
Change-Id: Ic94e837ed7874d337207c31eedfc966b46ab8ecd
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
Brian Zhu [Tue, 2 Apr 2019 06:16:05 +0000 (14:16 +0800)]
vpp: 3d: disable crop when 3d playback or hdmi in [1/1]
PD#TV-3962
Problem:
3D mode does not support crop function
Solution:
Remove crop when 3D display.
Verify:
Verified on x301
Change-Id: Id35dd662886be24e3ec78d070e3a70f513f89b16
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Pengcheng Chen [Fri, 15 Feb 2019 08:52:52 +0000 (16:52 +0800)]
osd: add viu2 fence support [1/1]
PD#SWPL-6384
Problem:
viu2 not support fence
Solution:
add viu2 fence support.
Verify:
test pass on tl1
Change-Id: I94a5e483c88cace79b7386bb918c203ada6b8274
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Hang Cheng [Mon, 25 Mar 2019 11:05:54 +0000 (19:05 +0800)]
cec: remove func that may cause deadlock [1/1]
PD#SWPL-5836
Problem:
kernel panic when read cec reg
Solution:
remove func that might cause sleep in spinlock,
so as to avoid deadlock
Verify:
S805X-P241
Change-Id: I8394f69bdbeff6673c795a221c08ef76164c5bdb
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Yeping Miao [Mon, 18 Mar 2019 06:02:41 +0000 (14:02 +0800)]
dts: GVA on SBR platform [1/1]
PD#SWPL-4760
Problem:
Port GVA on S400 SBR platform
Solution:
Port GVA on S400 SBR platform
Verify:
S400_SBR A113D
Change-Id: I615e9457ba83df1c30829aa8ce01b6bc6072929f
Signed-off-by: Yeping Miao <yeping.miao@amlogic.com>
MingLiang Dong [Sat, 16 Feb 2019 07:10:38 +0000 (02:10 -0500)]
amvecm: remove driver lc setting by timing [1/1]
PD#SWPL-5248
Problem:
lc setting load from db
Solution:
remove driver lc setting by timing
Verify:
verify on TL1
Change-Id: I7dac2429220d31f7930087ffb01176863cd74453
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Tue, 26 Mar 2019 12:38:56 +0000 (08:38 -0400)]
hdr: TL1 HDR gamut bug fix [1/1]
PD#SWPL-5248
Problem:
1. finetune TL1 HDR.
2. workaround fix ootf overwrite
3. workaround fix gamut bug
Solution:
TL1 HDR gamut bug fix
Verify:
verify on TL1
Change-Id: Iaf9535f3b6d096967f67ba118ff54eeb2c5c01c5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
deng.liu [Tue, 26 Mar 2019 01:49:22 +0000 (09:49 +0800)]
common: NN API implementation,upload 64bit dts [1/1]
PD#SWPL-86
Problem:
Android tensorflow lite ,NN API implementation
Solution:
NN API implementation
Verify:
Local on galilei
Change-Id: I7c1a3a68005218544d0a3c7a7360c9ee38fc53de
Signed-off-by: deng.liu <deng.liu@amlogic.com>