platform/kernel/linux-amlogic.git
5 years agotvafe: fix pal60 afbc abnormal [1/1]
Nian Jing [Tue, 23 Apr 2019 05:55:44 +0000 (13:55 +0800)]
tvafe: fix pal60 afbc abnormal [1/1]

PD#SWPL-7057

Problem:
pal60 abnormal when enable afbc

Solution:
fix the v_active size

Verify:
test on x301

Change-Id: I02c6077ac364c4f585fb3cf5742e0b4228c39cd2
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agoschedtune: fix crash when there is cpu boot fail in hmp [1/1]
Jianxin Pan [Tue, 23 Apr 2019 11:37:41 +0000 (19:37 +0800)]
schedtune: fix crash when there is cpu boot fail in hmp [1/1]

PD#SWPL-7656

Problem:
crash when there is cpu boot fail in hmp

Solution:
fix crash when there is cpu boot fail in hmp

Verify:
W400

Change-Id: I0153975593adb0bfcbc3c3bd6543f0fb2e6bf2e0
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
5 years agoir: add ir learning function [1/1]
Qianggui Song [Fri, 18 Jan 2019 03:26:47 +0000 (11:26 +0800)]
ir: add ir learning function [1/1]

PD#SWPL-4130

Problem:
No ir learning function in current source code

Solution:
Provide two ways to use ir learning function
1. sysfs
/*start learning*/
echo 1 > /sys/class/remote/amremote/ir_learnning
/*get data*/
cat /sys/class/remote/amremote/learned_pulse
/*stop learning*/
echo 0 > /sys/class/remote/amremote/ir_learnning
2. ioctl
/*start/stop learnning 1/0*/
REMOTE_IOC_SET_IR_LEARING
/*get raw data*/
REMOTE_IOC_GET_RAW_DATA

Verify:
U200 and W400

Change-Id: Ibb03838402d9baa6e910b3162ffcc63b57048890
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
5 years agoemmc: Clear the value of txdelay in legacy mode on the resume process [1/1]
Long Yu [Mon, 15 Apr 2019 08:40:25 +0000 (16:40 +0800)]
emmc: Clear the value of txdelay in legacy mode on the resume process [1/1]

PD#SWPL-7181

Problem:
switch to high-speed from hs200 failed for resume process.

Solution:
set tx_delay as 0 for legacy mode.
clear cfg_cmd_setup

Verify:
verify by TL1

Change-Id: I5dbb1bbc391da864464bf137837a2b0f54ccda42
Signed-off-by: Long Yu <long.yu@amlogic.com>
5 years agohdmirx: disable interrupt when suspend or shutdown [1/1]
Hang Cheng [Mon, 22 Apr 2019 12:12:08 +0000 (20:12 +0800)]
hdmirx: disable interrupt when suspend or shutdown [1/1]

PD#SWPL-7570

Problem:
there's frequent interrupt when suspend, and can't
enter suspend successfully

Solution:
disable interrupt when suspend/shutdown

Verify:
x301

Change-Id: Iad13159da8cf0d48c6374c17df957c26aa177024
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
5 years agodi: fix TL1 cave video 1080i 60hz have drawing [1/1]
Wenfeng Guo [Tue, 16 Apr 2019 08:06:37 +0000 (16:06 +0800)]
di: fix TL1 cave video 1080i 60hz have drawing [1/1]

PD#SWPL-7006

Problem:
TL1 cave video 1080i 60hz have drawing.

Solution:
dark scenes don't into pulldown32 by vlsi yanling

Verify:
TL1

Signed

Change-Id: Ib77c0f99940c416943baa9b9a8a02a059b274e5b
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
5 years agodts: flanklin bring up based on google-ref! [1/1]
qiyao.zhou [Tue, 23 Apr 2019 06:30:24 +0000 (14:30 +0800)]
dts: flanklin bring up based on google-ref! [1/1]

PD#SWPL-7184

Problem:
flanklin bring up based on google-ref.

Solution:
Modify copy file for franklin.

Verify:
verify it on franklin.

Change-Id: If55159835daf0a87439647586526f836a226504c
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
5 years agodi: small window bottom of the screen no video [1/1]
Yong Qin [Mon, 22 Apr 2019 12:18:23 +0000 (20:18 +0800)]
di: small window bottom of the screen no video [1/1]

PD#TV-4708

Problem:
small window,v scaling mode, bottom of the screen is no video.

Solution:
vline is odd, mif out is not more enouth

Verify:
verify on TL1

Change-Id: I2ac35af3632e8b14df5c773b322d4b2d64b050ba
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agoaudio: disable tl1 acodec dac dapm to depop [1/1]
Shuai Li [Mon, 22 Apr 2019 07:03:46 +0000 (15:03 +0800)]
audio: disable tl1 acodec dac dapm to depop [1/1]

PD#TV-3933

Problem:
Tl1 acodec has pop sound when first sound appear.

Solution:
Disable the DAPM which disable/enable every time
start/stop the audio stream.

Verify:
Tl1 X301.

Change-Id: Iaaf7da125de513bd8297f6c6e41af0a42c9d25bd
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
5 years agoatv_demod: fix audio output when adjust the input amplitude [1/1]
nengwen.chen [Tue, 23 Apr 2019 02:52:07 +0000 (10:52 +0800)]
atv_demod: fix audio output when adjust the input amplitude [1/1]

PD#TV-4901

Problem:
fix audio output when adjust the input amplitude.

Solution:
fix audio output when adjust the input amplitude.

Verify:
verified by x301

Change-Id: If08e4adff6f4d0355448687ebe6756fa2e155704
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
5 years agosupsend: update gx_pm driver [1/1]
Hong Guo [Thu, 18 Apr 2019 08:42:01 +0000 (16:42 +0800)]
supsend: update gx_pm driver [1/1]

PD#SWPL-7226

Problem:
update gx_pm driver

Solution:
update gx_pm driver

Verify:
test pass on tl1_x309

Change-Id: If078b0744cb8ce46029d77512d5755f4d40c2014
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agodebug: save irqflag locally when ftrace_ramoops io [1/1]
Jianxin Pan [Mon, 22 Apr 2019 10:57:12 +0000 (18:57 +0800)]
debug: save irqflag locally when ftrace_ramoops io [1/1]

PD#SWPL-6028

Problem:
save irqflag locally when ftrace_ramoops io

Solution:
save irqflag locally when ftrace_ramoops io

Verify:
TL1 x301

Change-Id: I6df9700cceaccc97dc983d88ada73197a6968f73
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
5 years agovpp: use new interface to increase accuracy of ar calculation [1/2]
Brian Zhu [Thu, 11 Apr 2019 08:16:35 +0000 (16:16 +0800)]
vpp: use new interface to increase accuracy of ar calculation [1/2]

PD#OTT-2068

Problem:
When playing 1280x128 video under normal screen mode, the aspect ratio from
decodec is not accurate enough by multipling 0x100. (128x256/1280=25.6).
Dropping 0.6 will cause height losing 9 lines.

Solution:
Using new interface to pass real ar width and height following steps:
1.Set old ar variable to 0x3ff as a trigger flag.
2.set the original ar value into sar_width and sar_height of vframe

Verify:
verified on franklin

Change-Id: I8a794edd968a76f198ee9cb168a7cfb858c858f8
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agoavsync: tsync: fix the avsync for ms12 [3/4]
Xiaoming Sui [Mon, 8 Apr 2019 12:04:51 +0000 (20:04 +0800)]
avsync: tsync: fix the avsync for ms12 [3/4]

PD#SWPL-5837

Problem:
dtv is out of avsync when dolby ms12 certificate

Solution:
when the audio is played, recalculate the apts to sync
pcrsrc when pcrmaster.

Verify:
X301

Change-Id: Ia121e57ad69c5b0d211e14bf3a61f165457e54c7
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
5 years agoavsync: spdif: fix the avsync for ms12 [1/4]
Xiaoming Sui [Mon, 15 Apr 2019 12:38:47 +0000 (20:38 +0800)]
avsync: spdif: fix the avsync for ms12 [1/4]

PD#SWPL-5837

Problem:
dtv is out of avsync when dolby ms12 certificate

Solution:
when the audio is played, recalculate the apts to sync
pcrsrc when pcrmaster.

Verify:
X301

Change-Id: I199383aa1c0de1b4f0ec646d9d066910b3bb2b42
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
5 years agohdmitx: move work_internal_intr to delayed_work [1/1]
Zongdong Jiao [Mon, 22 Apr 2019 09:20:09 +0000 (17:20 +0800)]
hdmitx: move work_internal_intr to delayed_work [1/1]

PD#SWPL-6894

Problem:
Queue work 'work_internal_intr' cause the hdcp22 flicker

Solution:
Move work_internal_intr to delayed_work

Verify:
G12/U212

Change-Id: Ib05c82bb66c9ad7396790d5eb237ff486c56c980
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
5 years agovdin: revert ignore v4l2start/stop ioctl when vdin1 used for preview [1/1]
Evoke Zhang [Mon, 22 Apr 2019 10:30:02 +0000 (18:30 +0800)]
vdin: revert ignore v4l2start/stop ioctl when vdin1 used for preview [1/1]

PD#SWPL-7324

Problem:
tvafe work abnormal when use vdin1 preview

Solution:
revert the previous commit for v4l2start/stop

Verify:
x301

This reverts commit 81c1e1449c5e7362dc263bea76e134ba8fd25265.

Change-Id: I8cdefececb8b01cb86426684a6c700bc9bf8b615
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoaudio: enable hw resmaple pause thd [1/1]
Shuai Li [Mon, 22 Apr 2019 02:52:18 +0000 (10:52 +0800)]
audio: enable hw resmaple pause thd [1/1]

PD#TV-4638

Problem:
Speaker output high frequency howling
after change from pattern 615 to pattern 1 on chroma22294.
The hw resampler keeps sending noise if it has no input.

Solution:
Enable the hw resample pause thd by default.

Verify:
TL1 X301.

Change-Id: Ib6f0924025e155eaa8ba0e3681b307f7ff56b449
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
5 years agovlock: disable some log [1/1]
Yong Qin [Fri, 19 Apr 2019 11:27:56 +0000 (19:27 +0800)]
vlock: disable some log [1/1]

PD#SWPL-6994

Problem:
disable some log

Solution:
disable some log

Verify:
tl1

Change-Id: I53ceafbd35445f60d6c59ff9fd2632e8a6fc794f
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agocec: interrupt irq src number is not right for tl1 [1/1]
Yong Qin [Fri, 19 Apr 2019 11:18:25 +0000 (19:18 +0800)]
cec: interrupt irq src number is not right for tl1 [1/1]

PD#SWPL-6994

Problem:
Sometime will lose msg. because of the isr src
number connected to timer.

Solution:
modify irq src number to 203

Verify:
tl1

Change-Id: I12586b543dbf87a964ba79e1c82561f9516f8e3c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agoamvecm: fix tm2 show green screen when play videos [1/1]
Bencheng Jing [Thu, 18 Apr 2019 02:47:16 +0000 (10:47 +0800)]
amvecm: fix tm2 show green screen when play videos [1/1]

PD#SWPL-7183

Problem:
LC mtx use 10bit, should be 12bit

Solution:
add 12bit 709 mtx

Verify:
ab311

Change-Id: I2367fc7b7ef4cb164d86348b618d13d465c7a6a1
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agovdin: disable afbce under 4k resolution [1/1]
Evoke Zhang [Sat, 20 Apr 2019 09:55:10 +0000 (17:55 +0800)]
vdin: disable afbce under 4k resolution [1/1]

PD#SWPL-7511

Problem:
no need enable vdin afbce under 4k,
it is no help for bandwidth with these resolution

Solution:
only enable vdin afbce for 4k resolution

Verify:
x301

Change-Id: I283efd872004846d158ef6c9addbd1e666d2f61a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agodts: update gpu freq tbl for 32bit kernel [1/1]
binqi.zhang [Mon, 22 Apr 2019 06:07:22 +0000 (02:07 -0400)]
dts: update gpu freq tbl for 32bit kernel [1/1]

PD#SWPL-4253

Problem:
Compared with P212, GPU on g12a can not work with high
frequency
when running some cases like particle;

Solution:
update gpu freq tbl for buildroot

Verify:
build pass
GPU on g12a can work with high
freq when running particle

Change-Id: Ifcb286cd37faa9f618b48ab515ca360aba563a34
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
5 years agodts: update gpu freq tbl for buildroot [1/1]
binqi.zhang [Wed, 17 Apr 2019 07:24:30 +0000 (03:24 -0400)]
dts: update gpu freq tbl for buildroot [1/1]

PD#SWPL-4253

Problem:
Compared with P212, GPU on g12a can not work with high frequency
when running some cases like particle;

Solution:
update gpu freq tbl for buildroot

Verify:
build pass
GPU on g12a can work with high freq when running particle

Change-Id: Ie10335d1f3a043d4418245d31efa8b42077031a9
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
5 years agoRevert "audio: enable hw resmaple pause thd [1/1]"
Jianxin Pan [Mon, 22 Apr 2019 02:08:07 +0000 (19:08 -0700)]
Revert "audio: enable hw resmaple pause thd [1/1]"

This reverts commit 8398f8a917504fd4f3efd82306fcce1e2a1d8b80.

Change-Id: I76a3c8fc66b528b62e57630603ad3887b0b3abdc
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
5 years agoi2c: meson: add detail calculation process for i2c duty cycle [1/1]
Jian Hu [Mon, 15 Apr 2019 08:32:04 +0000 (16:32 +0800)]
i2c: meson: add detail calculation process for i2c duty cycle  [1/1]

PD#SWPL-7197

Problem:
There is not detail calculation process for i2c duty cycle

Solution:
add detail calculation process for i2c duty cycle

Verify:
verified on x301

Change-Id: Ifc222acda3268f792f63e84c6dc3513d80568e19
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
5 years agohdr_prime: add interface of HDR Prime SL driver [1/1]
Yi Zhou [Thu, 7 Mar 2019 08:12:38 +0000 (16:12 +0800)]
hdr_prime: add interface of HDR Prime SL driver [1/1]

PD#SWPL-5475

Problem:
need to add interface of HDR Prime SL driver

Solution:
add interface of HDR Prime SL driver

Verify:
U212

Change-Id: If0e62b74ccbaa4ede490e7a9896d9f5915480d6f
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agoSUSPEND: add alarm wakeup function [1/1]
Hong Guo [Fri, 12 Apr 2019 08:55:34 +0000 (16:55 +0800)]
SUSPEND: add alarm wakeup function [1/1]

PD#SWPL-7062

Problem:
add alarm wakeup function.

Solution:
add alarm wakeup function.

Verify:
g12b_w400,test pass.

Change-Id: I0ad6e373b52bfd8d628ad3c8964637174b5fc643
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agowatchdog: fix watchdog get lefttime error [1/1]
Yingyuan Zhu [Wed, 10 Apr 2019 07:26:32 +0000 (15:26 +0800)]
watchdog: fix watchdog get lefttime error [1/1]

PD#SWPL-6937

Problem:
1.get lefttime error by 'cat sys/class/watchdog/watchdog0/timeleft' cmd.
2.if DTS is configured to feed watchdog by Android, the system will
restart automatically after wake up.

Solution:
1.modify the code to get time.
2.when the system wakes up, first judge whether the watchdog runs,
and then decide whether to start the watchdog.

Verify:
test pass on u200

Change-Id: If64888ffdd5651e8cfcace5ea0d0da31641bb397
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
5 years agoamvecm: match uboot sdr2hdr function [1/1]
MingLiang Dong [Fri, 12 Apr 2019 03:03:27 +0000 (23:03 -0400)]
amvecm: match uboot sdr2hdr function  [1/1]

PD#OTT-2524

Problem:
enable sdr2hdr function, uboot logo have color change

Solution:
match uboot sdr2hdr function

Verify:
verify on G12A

Change-Id: I160cd6141d09a385d299ca96a89eb1ebf09c86e8
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
5 years agodi: small window bottom of the screen is blank [1/1]
Yong Qin [Fri, 19 Apr 2019 02:15:51 +0000 (10:15 +0800)]
di: small window bottom of the screen is blank [1/1]

PD#TV-4708

Problem:
small window, bottom of the screen is covered by
blank on the online video

Solution:
vline is odd, mif out is not right

Verify:
verify on TL1

Change-Id: I39eb0cdfd2f4b200a09a9c8b779f509caf6dea37
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agoaudio: enable hw resmaple pause thd [1/1]
Shuai Li [Thu, 18 Apr 2019 10:15:54 +0000 (18:15 +0800)]
audio: enable hw resmaple pause thd [1/1]

PD#TV-4638

Problem:
Speaker output high frequency howling
after change from pattern 615 to pattern 1 on chroma22294.
The hw resampler keeps sending noise if it has no input.

Solution:
Enable the hw resample pause thd by default.

Verify:
TL1 X301.

Change-Id: I076d1b80c6482661fdc3fd5808f1cc231666d07e
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
5 years agovdin: recycle garbage frame for afbc mode [1/1]
Evoke Zhang [Fri, 19 Apr 2019 03:30:42 +0000 (11:30 +0800)]
vdin: recycle garbage frame for afbc mode [1/1]

PD#TV-4335

Problem:
switch tvin signals will flash garbage screen

Solution:
recycle barbage frame for afbc mode

Verify:
x301

Change-Id: I17c13b5db7a506403aa5ac74568b7a9e16c075c0
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agovideo: compensation omxpts for pcr check [1/1]
shuanglong.wang [Fri, 12 Apr 2019 05:55:06 +0000 (13:55 +0800)]
video: compensation omxpts for pcr check [1/1]

PD#SWPL-5664

Problem:
pcr is probably adjust when test AL1 eyepatch test case

Solution:
the time is not accurate when check pcr and omx_pts differ, because
omx_pts is used the value that be set, but pcr is current. Here add
compensation for omx_pts

Verify:
verify by nts

Change-Id: I3e0f6f006fd79cf7cac4148fd18da72111a333c7
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
5 years agodts: Improve axg_s400_v03sbr.dts [1/1]
Yeping Miao [Wed, 3 Apr 2019 06:07:55 +0000 (14:07 +0800)]
dts: Improve axg_s400_v03sbr.dts [1/1]

PD#SWPL-6696

Problem:
  Pad key '+' cannot work

Solution:
  Add to pad key support list
  Add more key support for SBR remote

Verify:
  S400 S400_SBR A113D

Change-Id: I9bdc3053f2b3ce778e9c2f682fcf31ac054887b4
Signed-off-by: Yeping Miao <yeping.miao@amlogic.com>
5 years agounifikey: fix kasan bug reported in name_store [1/1]
Jiamin Ma [Fri, 19 Apr 2019 00:15:47 +0000 (08:15 +0800)]
unifikey: fix kasan bug reported in name_store [1/1]

PD#SWPL-7326

Problem:
slab-out-of-bounds in strlen called by name_store

Solution:
Make sure the string passed to strlen is always '\0'
ended

Verify:
Locally

Change-Id: Ifd78a100c0e34ff9afb527ebe7b044ceb5c3505e
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
5 years agoamvideo: fix video block when pts discontinue [1/1]
peter wang [Fri, 12 Apr 2019 05:49:21 +0000 (13:49 +0800)]
amvideo: fix video block when pts discontinue [1/1]

PD#SWPL-5038

Problem:
image will block when pts discontinue

Solution:
do not show the frame when pts greater than pcr

Verify:
tested on Marconi

Change-Id: I57ea973b7fdcdc7cded2c5c9b681be29f0a31a4b
Signed-off-by: peter wang <peter.wang@amlogic.com>
5 years agoosd: fix afbc decoder error caused flicker in display [1/1]
Pengcheng Chen [Tue, 16 Apr 2019 03:33:04 +0000 (11:33 +0800)]
osd: fix afbc decoder error caused flicker in display [1/1]

PD#OTT-3000

Problem:
afbc decoder error caused flicker in display.

Solution:
close osd prefetch.

Verify:
Verified with raven

Change-Id: I44356c028b41e251f7a98b5e931b2cbd583b0829
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agodts: flanklin bring up based on google-ref! [1/2]
qiyao.zhou [Mon, 15 Apr 2019 09:25:03 +0000 (17:25 +0800)]
dts: flanklin bring up based on google-ref! [1/2]

PD#SWPL-7184

Problem:
flanklin bring up based on google-ref.

Solution:
Modify copy file for franklin.

Verify:
verify it on franklin.

Change-Id: Ibaba2dcb7a3e8715243f5a93d69a1bf96e8c49a7
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
5 years agohdmirx: modify drop video frame interface [1/1]
Hang Cheng [Tue, 16 Apr 2019 07:47:21 +0000 (15:47 +0800)]
hdmirx: modify drop video frame interface [1/1]

PD#SWPL-6785

Problem:
there's garbage frame show when signal change

Solution:
enable forward video frame skip interface, and set vdin
to skip one more frame to prevent garbage been shown

Verify:
X301

Change-Id: Id099558c733843f330b99246ea31fbbd0c18ed84
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
5 years agoidle: sm1: enable sm1 idle function [1/1]
Yan Wang [Wed, 10 Apr 2019 09:34:48 +0000 (17:34 +0800)]
idle: sm1: enable sm1 idle function [1/1]

PD#SWPL-6255

Problem:
sm1 need enable idle for power.

Solution:
enable sm1 idle function.

Verify:
ac200

Change-Id: Ib106ac552660471f0275dc22374405939d521a62
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
5 years agocamera: add mipi csi driver for sm1 [1/1]
Guosong Zhou [Mon, 15 Apr 2019 06:56:09 +0000 (02:56 -0400)]
camera: add mipi csi driver for sm1 [1/1]

PD#SWPL-5388

Problem:
sm1 board camera need add mipi csi module

Solution:
add mipi csi module

Verify:
verified on SM1 AC200

Change-Id: I819f2f74aa8da7d725cb59e5636e790185964f79
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
5 years agothermal: modify ipa parameter for sm1 [1/1]
Huan Biao [Wed, 17 Apr 2019 06:57:58 +0000 (14:57 +0800)]
thermal: modify ipa parameter for sm1 [1/1]

PD#SWPL-7322

Problem:
sm1 ipa parameter not match soc power data

Solution:
update sm1 ipa dts parameter

Verify:
AC200

Change-Id: Ib636d5c4853d53cf6bafad9b5266e2b13dd7e85c
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
5 years agodvb_core: add SYS_DVBS2 SYS_DVBT2 delsys mode [1/1]
Yinming Ding [Tue, 16 Apr 2019 09:39:06 +0000 (17:39 +0800)]
dvb_core: add SYS_DVBS2 SYS_DVBT2 delsys mode [1/1]

PD#SWPL-7017

Problem:
TV can't search DVB/S2/T2

Solution:
add SYS_DVBS2 SYS_DVBT2 delsys mode

Verify:
Verified by R314

Change-Id: I30e39d0c236baebc31622fdd5fe1a8fc18209fe0
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
5 years agokasan: bring up KASAN for 32bit os [2/2]
Tao Zeng [Tue, 16 Apr 2019 01:42:24 +0000 (09:42 +0800)]
kasan: bring up KASAN for 32bit os [2/2]

PD#SWPL-7085

Problem:
Currently kasan can't be used on 32bit kernel, it's difficult to debug
memory problems;

Solution:
Bring up KASAN on 32bit kernel

Verify:
p212

Change-Id: I4d80568f023315994e969c79b786eba856177c9c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
5 years agogdc: add gdc interface with loading fw [1/2]
Jian Cao [Thu, 4 Apr 2019 14:34:15 +0000 (22:34 +0800)]
gdc: add gdc interface with loading fw [1/2]

PD#SWPL-4611

Problem:
add gdc interface with loading fw

Solution:
add new gdc interface to request firmware

Verify:
Verfied on G12B-W400

Change-Id: Id8e0d600eec5f4777511b1fc0e38a1773db9e9cb
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agoddr: bring up bandwidth support for sm1 [1/1]
Tao Zeng [Wed, 10 Apr 2019 03:59:24 +0000 (11:59 +0800)]
ddr: bring up bandwidth support for sm1 [1/1]

PD#SWPL-6865

Problem:
ddr bandwidth measure is not supported on sm1

Solution:
1. Add port description and support for it
2. Record max/average bandwidth support;
3. Support up to 60 continue bandwidth sample
4. Fix bit mismatch of dmc monitor for sm1/tl1.

Verify:
sm1

Change-Id: I0b42db8214099b9cd6d1c3f00174dc65eebfc030
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
5 years agoaudio: TM2 bringup: enable ADC for linein [1/1]
Zhe Wang [Wed, 17 Apr 2019 05:38:43 +0000 (13:38 +0800)]
audio: TM2 bringup: enable ADC for linein [1/1]

PD#SWPL-7027

Problem:
audio path AVin is on audio

Solution:
enable ADC for linein

Verify:
Verify on AB311

Change-Id: Iea1d694e0b605d62596635d85416d33f56dbbcb2
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
5 years agoamvecm: fix dnlp iRgnBgn and iRgnEnd not load db value [1/1]
Bencheng Jing [Tue, 16 Apr 2019 11:50:42 +0000 (19:50 +0800)]
amvecm: fix dnlp iRgnBgn and  iRgnEnd not load db value [1/1]

PD#SWPL-7262

Problem:
dnlp iRgnBgn and  iRgnEnd not load db value

Solution:
add refresh of iRgnBgn and  iRgnEnd.

Verify:
on x301

Change-Id: I81ae91490a7fd2899eefd4f800948851ebbf21e7
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agovpp: don't overwrite on_pending state when enable vd layer [1/1]
Brian Zhu [Tue, 16 Apr 2019 18:35:27 +0000 (02:35 +0800)]
vpp: don't overwrite on_pending state when enable vd layer [1/1]

PD#OTT-3244

Problem:
When vd layer state is on_pending, calling enable videolayer
function will overwrite the state. Then it will not enable video
layer really.

Solution:
Add the judgement to check if the state is on_pending.

Verify:
verified on W400

Change-Id: I0513a6610fdb108bec05858c7f6c7976be5e7edb
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agosuspend: not do suspend action under freeze mode [1/1]
wenbiao zhang [Wed, 10 Apr 2019 02:15:13 +0000 (10:15 +0800)]
suspend: not do suspend action under freeze mode [1/1]

PD#TV-4213

Problem:
can't wake up by gpio/adc key when suspend into freeze mode

Solution:
not suspend gpio/adc when freeze

Verify:
X301

Change-Id: I32ff27aafebe35d8deb6e9b4d3daee686bbf90bc
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
5 years agobinder: fix memory leak [1/1]
changqing.gao [Thu, 4 Apr 2019 09:24:40 +0000 (17:24 +0800)]
binder: fix memory leak [1/1]

PD#TV-3541

Problem:
1.only vmalloc 4KB at first.
2.if user space need more memory, try to allocate a new vmalloc
  range with large size and move all related data to new place.
3.the first 4KB is not free when release this binder.

Solution:
free the first 4KB when release binder.

Verify:
R311

Change-Id: I4429de04a260671e4626b77ec340e47e436d5c8d
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
5 years agoamvecm: fix sm1 green screen when play videos [1/1]
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>
5 years agodebug: improve ftrace_ramoops for io trace [2/2]
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>
5 years agoearlycon: support aml-uart as the name for earlycon [1/1]
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>
5 years agomedia: add the register sets for parser B [1/1]
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>
5 years agovdin: support dynamic dest_cfmt changing [1/1]
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>
5 years agovdin: ignore v4l2start/stop ioctl when vdin1 used for preview [1/1]
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>
5 years agoatv_demod: fix audio config (PAL_M, NTSC_M) when video is PAL [1/1]
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>
5 years agodts: audio: update vad for sm1 [1/1]
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>
5 years agoosd: fix hotplug hdmi causes system crash [1/1]
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>
5 years agopicdec: add picdec dev node for u200 u211 u212 w400 sm1 [1/1]
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>
5 years agohdmirx: optimize phy setting [1/1]
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>
5 years agohdmirx: fix read edid error issue [1/1]
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>
5 years agoamvecm: fix CM/sat/bricon adjust not available [1/2]
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>
5 years agoaudio: AB311 bringup, init 2 AMPs AD82584f [1/1]
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>
5 years agogdc: add trace_mode debug node for gdc timeout issue [1/2]
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>
5 years agomm: vmap: decrease wrps num [1/1]
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>
5 years agohdmitx: fix wrong 420 valid_mode [1/1]
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>
5 years agoMerge "dts: debug: enable ftrace_ramoops for new tm2 dts [1/1]" into amlogic-4.9-dev
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

5 years agoamvecm: add sharpness0 cvbs table in driver [1/2]
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>
5 years agodts: debug: enable ftrace_ramoops for new tm2 dts [1/1]
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>
5 years agobuildroot: Add missed amlogic-dt-id in U211 DTS file [1/1]
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>
5 years agovlock: add phase lock pll mode [1/1]
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>
5 years agoosd: fix osd afbc can't display on android5.1 [1/1]
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>
5 years agopartition: change vendor size [1/2]
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>
5 years agoMerge branch 'bringup/amlogic-4.9/tm2_20190411' into amlogic-4.9-dev
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>
5 years agocpufreq: delete dts for dynamic adjustment dsu clk [1/1]
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>
5 years agodv: add polling interface for systemcontrol [1/1]
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>
5 years agoaudio: TM2: bringup AMP ti5805 on ab301 [1/1]
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>
5 years agohdmirx: add new edid update method [1/1]
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>
5 years agopower: add is_support_pwr_ctrl function. [2/2]
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>
5 years agodv: fix error color when playing dv films with EL under tm2 platform [1/1]
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>
5 years agocec: cec bringup for tm2 [1/1]
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>
5 years agoNNA: add NNA support on tm2 [1/1]
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>
5 years agodevice: changes for s905x3 ac213 bring up [3/3]
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>
5 years agodi: pd22 FW parameters need optimize [1/1]
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>
5 years agodi: disable deghost refresh according to motion [1/1]
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>
5 years agodeinterlace: fix tl1 in 1080i has small sawtooth [1/1]
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>
5 years agoRevert "di: change clkb frq from 500 to 667 [1/1]"
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>
5 years agoAC200: fix home button has no function [1/1]
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>
5 years agoaudio: fixed kernel panic when resample is disabled [1/1]
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>
5 years agoosd: frame just display on half screen [1/1]
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>
5 years agodevice: changes for s905x3 ac213 bring up [3/3]
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>
5 years agoaudio: TM2 audio basic function bringup [1/1]
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>
5 years agodtv_demod: TM2:DTV search channel [1/1]
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>
5 years agoCPUFREQ: add cpufreq function for tm2 [1/1]
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>
5 years agodv: add tm2 interface [1/1]
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>
5 years agovlock: bring up for tm2 [1/1]
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>
5 years agot962x3_ab301: modify dts for WIFI/BT/tuner [1/1]
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>