Commit Graph

648329 Commits

Author SHA1 Message Date
Evoke Zhang
da321c281a lcd: update pll setting for tl1 tcon_pll performance [1/1]
PD#172587

Problem:
tcon pll performance is not good when frac enabled with old setting

Solution:
update tcon pll setting

Verify:
x301

Change-Id: Ib5deb5c643afa243876c0e4703f835e503fffc2e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-11-29 06:50:09 -08:00
Yingyuan Zhu
763fcde9b1 arm: dts: tl1: add adc_keypad node for tl1 [1/1]
PD#172587

Problem:
adc_keypad driver is not enabled in tl1

Solution:
add adc_keypad node in dts

Verify:
test pass on x301

Change-Id: I3946297e710c5753d6f9425ec56bf6def94db941
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
2018-11-29 06:48:58 -08:00
Yinming Ding
dab0e75553 frame_sync: fix last few seconds of the DD+ stream are not smooth [4/4]
PD#SWPL-714

Problem:
The last few seconds of the DD+ stream are not smooth by DTV playback.

Solution:
check the apts and vpts both discontinue,then replay the stream.

Verify:
P321

Change-Id: I6cbbdecc052dfe9fef76b44f36545b231332ee12
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
2018-11-28 22:37:53 -08:00
qi duan
a6f6a3400c dvb: tuner: USB DVB tuner support from Google
PD#SWPL-932

Problem:
USB DVB Dongle search program Function is not implemented

Solution:
merge usb dvb tuner from kernel3.14
http://10.8.9.5/kernel/common/commit/?h=amlogic-3.14-dev&id=7af9c5c38efdc96f5d3235f17788232a630b3d32
fixed frontend.h structures

Verify:
Ampere P

Change-Id: I16d68c2507711eda43313619d210d05699abcc25
Signed-off-by: qi duan <qi.duan@amlogic.com>
2018-11-28 21:19:34 -08:00
Yi Zhou
ca79342373 dv: fix the flickered problem [1/1]
PD#SWPL-1207

Problem:
fix the filckered problem when playing transition
video in sdr tv

Solution:
when dv core2 don't run, the reset can't be executed

Verify:
r321

Change-Id: I719325f1722589e02a40d46442258b0d1e3feb17
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-11-28 20:28:36 -08:00
Peng Yixin
3d2b791b9f display: Modify the value of register afbc_gclk_ctrl [1/1]
PD#SWPL-2565

Problem:
The splash screen problem for first frame after starting up.

Solution:
Modify the value of register afbc_gclk_ctrl.

Verify:
u211

Change-Id: Ie1ddfade0566ff8cd571c43ba8490a8c277a8758
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
2018-11-28 19:31:01 -08:00
Guosong Zhou
1d1833aac7 picdec: add mmap interface for picdec [2/2]
PD#SWPL-2280

Problem:
play picture crash

Solution:
add mmap interface for picdec

Verify:
verify by p321

Change-Id: Ib278de80035b0404884315e29fe933cd8f4b6cfe
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
2018-11-28 00:10:22 -08:00
Sandy Luo
33d5b5e8fe dts: fix SD card read issue for g12a board [2/3]
PD#SWPL-2588

Problem:
g12a u220/u221 boad cann't read SD card

Solution:
auto detect revA and revB chip

Verify:
test pass on u220/u221 board

Change-Id: Ia153bb3f966fe2a58d5f3ed1bf1d3f610d00ff5a
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2018-11-28 15:25:29 +08:00
Jiacheng Mei
4e029f427e dts: correct ge2d irq number [1/1]
PD#SWPL-2091

Problem:
ge2d timeout cause cts fail

Solution:
correct ge2d irq number to 150

Verify:
T962-P321-DDR4

Change-Id: Id84a91fdd139cc227da907d8c8106cb824d43be4
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
2018-11-27 21:52:41 -08:00
Jiacheng Mei
20d8ff9526 dts: reduce isp memory usage [1/1]
PD#SWPL-2512

Problem:
isp reserved mem too large

Solution:
reduce isp mem to 256M

Verify:
A311D-W400

Change-Id: I33ee2872daf961da5f0ba4ba4810b0ac9690e45f
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
2018-11-27 21:52:08 -08:00
Jian Cao
322e3cb7fc osd: osd: screen blank after boot logo [1/1]
PD#172587

Problem:
screen blank after boot logo

Solution:
correct default display information

Verify:
verified on tl1 ref board

Change-Id: I94237b5241eacee6965bfe4ea0426bb8e9f494f1
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2018-11-27 21:46:22 -08:00
Bencheng Jing
bec97b9c2d amvecm: fix dnlp read scurv_mid2 debug interface error [1/1]
PD#SWPL-2448

Problem:
can not read dnlp scurv_mid2 value

Solution:
fix the error

Verify:
t962x_r311

Change-Id: I7a7df769dd117fd83164065f6df8e3ae82c2499f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-11-27 19:27:18 -08:00
Yong Qin
e8e8b0c24d cec: auto shutdown case crash [1/1]
PD#SWPL-2258

Problem:
1.running autoshutdown cause device crashed

Solution:
1.optimize cec power on proble flow

Verify:
1.p212

Change-Id: Ia78c76cdb4b72a1a275628b3ad77ea6d71696d89
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-27 19:05:16 -08:00
Kaifu Hu
1336eb3c33 hdmitx: disable encryption hdcp1.4 fail [1/1]
PD#SWPL-2302

Problem:
Play online video,half an hour later, the TV shows
a pink screen and the sound is normal.

Solution:
Check hdcp1.4 status and disable encryption when fail.

Verify:
S922X

Change-Id: I6ce51824726b267d140750f9e9d80aa8bb921cac
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-11-27 19:04:59 -08:00
Hanjie Lin
3c8fcc78df dts: add txl support of arm pmu [1/1]
PD#SWPL-2096

Problem:
32bit_kernel CtsSimpleperfTestCases modules 39 fail

Solution:
txl dts is not ready
modify dts

Verify:
p321

Change-Id: Ib922ec4f4a1c421d76e1f397b321d4050fda2c84
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2018-11-27 18:00:28 -08:00
tao zeng
45c8ca9bc0 display: fix logo address missmatch problem [1/1]
PD#TV-1083

Problem:
When bootimg, logo display become blur due to logo address
is not match

Solution:
Correct CMA address of logo

Verify:
p321

Change-Id: I3996635c4fc9cee1751c75aff3f8224adb2accde
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-11-27 17:41:54 -08:00
xiaoming.sui
7ac1869f6e media: media_sync: remove serial port debug logs [1/1]
PD#SWPL-2494

Problem:
serial port always print timestamp log

Solution:
remove this log output

Verify:
P321

Change-Id: I875dffab483269374b9939f556a3ed01e9d2b215
Signed-off-by: xiaoming.sui <xiaoming.sui@amlogic.com>
2018-11-27 07:21:24 -08:00
Xuhua Zhang
6e847e0580 tvin: vdin: hdmirx format change, display exception [1/1]
PD#SWPL-2411

Problem:
hdmirx input 4096X2160 yuv422 in a short period of time,
formate change form yuv422 to yuv444, screen display is exception.

Solution:
force malloc yuv444 size

Verify:
Verify on txlx r311

Change-Id: Ie670b9a2b0c1eceffe423a1cf8606e78b6b347cd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2018-11-27 07:18:46 -08:00
Chaomin Zheng
fb9d7aee30 DTS: p230 board config spdif out pin [3/3]
PD# SWPL-1223

Problem:
p230 board spdif out no audio sound

Solution:
config p230 board spdif out pin

Verify:
verify on p230

Change-Id: I0c35e6d526aab98955206f78322fcc873ff01b8c
Signed-off-by: Chaomin Zheng <chaomin.zheng@amlogic.com>
2018-11-27 06:25:28 -08:00
Zhongfu Luo
5e9efdf53f dts: GXL/TXL: adjust defendkey_reserved location [1/1]
PD#SWPL-2539

Problem:
defendkey_reserved have influenced on display
during the system boot up

Solution:
adjust defendkey_reserved node location

Verify:
GXL/TXL skt board verify pass

Change-Id: I5cf0245f9653e20224c4e3bab1f6f05527011210
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2018-11-27 06:23:33 -08:00
Evoke Zhang
29d4567aac lcd: update lvds,vbyone,p2p config [1/1]
PD#172587

Problem:
lcd not work on real chip

Solution:
update pll, phy and channel_swap config

Verify:
skt

Change-Id: I737f7c253697ed281050ad9606cbf7d86a4b2e39
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-11-27 05:46:14 -08:00
hongmin hua
bc338484c3 cec: update cec platform data for tl1 [1/1]
PD#172587

Problem:
the line check always return low.
the print of check too much.

Solution:
modify the cec gpio from 7 to 10.
modify the check line.

Verify:
tl1 x301 board

Change-Id: I09ae5eee455d83e51e65957cd293e07da1c0046a
Signed-off-by: hongmin hua <hongmin.hua@amlogic.com>
2018-11-27 04:25:23 -08:00
Yong Qin
7f45f7ae48 hdmirx: clean phy setting for tl1 [1/1]
PD#172587

Problem:
1.clean phy setting

Solution:
1.put the phy data into a table
2.modify phy setting for low voltage tmds clk

Verify:
tl1

Change-Id: I8cad5d0639f72b17b90196f6143784f7b91dcdbc
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-27 04:20:13 -08:00
Xuhua Zhang
4c7bb63845 tvin: vdin: tl1 improve vdin function [1/1]
PD#172587

Problem:
1.in the afbce mode,
  screen flicker when serial port print too many debugging information
2.vdin afbce 4K crash
3.viu loop back error
4.need afbce lossy mode

Solution:
1.vdin use rdma mode
2.change vdin afbce buff size
3.change VDIN_ASFIFO_CTRL3 register
4.add lossy mode

Verify:
x301

Change-Id: Id66c0d7df22a9aeaca15d645f9a2ce0ecf47be3f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2018-11-27 03:53:07 -08:00
Xuhua Zhang
8850ab80a0 tvin: vdin: tl1 improve vdin afbce function [1/1]
PD#172587

Problem:
vdin afbce can not work well

Solution:
change afbce work mode

Verify:
verify on tl1

Change-Id: I3e980c7488bd8a0eb6f043fd1fb2d2b2bc75140f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2018-11-27 03:47:41 -08:00
wenfeng.guo
7576b00aeb sr: add support for tl1 [1/1]
PD#172587

Problem:
Add sr driver support for tl1

Solution:
add sr driver support for tl1
fix horizontal line when play video on 4K screen

Verify:
TL1 X301

Change-Id: I422f27eb5cf12f69dc57de295425536671e2df38
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
2018-11-27 03:22:56 -08:00
Yong Qin
b0e6ee1e00 hdmirx: optimizing fsm clk monitor function [1/1]
PD#172587

Problem:
optimizing fsm clk monitor function

Solution:
clock monitor for tl1

Verify:
tl1

Change-Id: I1cf50bcff2e2039b52071902d59deb17b6d01385
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-27 16:54:28 +08:00
Yong Qin
84489b05e8 hdmirx: optimizing rx fsm for tl1 [1/1]
PD#172587

Problem:
1.optimizing rx fsm for tl1, some time cable
clk not stable

Solution:
1.use system clk measure
2.modify low frq phy and pll setting
3.fsm stable state add error cnt check

Verify:
tl1

Change-Id: I6b9078bdf73fc0a2269ed9386fd42db0678cf995
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-27 00:16:52 -08:00
Yong Qin
8f714e0c7b hdmirx: finetune phy setting [1/1]
PD#172587

Problem:
1.eq performacec is not good (v1)
2.capture tmds raw data to ddr
3.skip unstable cable clock report

Solution:
1.dump tmds date and save as a file
2.1s check err counter
3.modify clock monitor function
4.modify fsm for tl1

Verify:
tl1

Change-Id: Iae51ea0cc8528e9c5fd0bc5c58b5dd7246ee68b1
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-27 00:16:38 -08:00
Yong Qin
e42b2901a8 hdmirx: tl1 hdmirx no interrupt [1/1]
PD#172587

Problem:
1.no interrupt
2.add fsm debug log

Solution:
1.change interrupt id
2.change interrupt source
3.change 6g phy setting
4.add axi clk
5.verify emp pkt data to ddr

Verify:
1.verify on chip

Change-Id: I349439d90a356144b96af4831e03fa0e9e90076b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-27 16:04:55 +08:00
Yong Qin
bb441377d1 hdmirx: modify audio pll setting [1/1]
PD#172587

Problem:
1.audio divider it's not work

Solution:
1.modify audio top clk measure
2.modify audio divider clk source
3.modify audio divider band gap

Verify:
tl1

Change-Id: Iea254f043531f31383a727c58b4d992dd39ff2ce
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-26 23:54:31 -08:00
Yong Qin
c324ce5c73 cec: add device match for tl1 [1/1]
PD#172587

Problem:
add device match for tl1

Solution:
1.add cecb ver
2.add ceca status reg flag

Verify:
1.run TPM
2.run chip

Change-Id: I304abfd1d6f1f216f9f0c56ca19a8bdb2ccfeabb
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-26 23:53:19 -08:00
Yong Qin
620e0cb60d hdmirx: fix phy init err and add debug [1/1]
PD#172587

Problem:
1.cable clk is not match from clk measure
2.add some debug interface for tl1

Solution:
1.add audio clock source from tmds
2.add audio clock source from mpll
3.low FRQ phy audio clock out is 4xtmds clk
4.add 6G phy setting
5.match clock measure return value hz
6.phy initial enable terminal by input source
7.add channel switch control 0/1
8.last line,mode:4k2k 420 deep color problem
9.dump register, add error cnt for tl1
10.capture emp data into a file
11.modify tmds data align, snps phy disable

Verify:
1.run ptm
2.verify on chip

Change-Id: I9d003748c0df3dfbd25f7ab987449e2097251c58
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-11-26 23:35:18 -08:00
Nian Jing
190d82f23f cvbs: cvbsoutput support for tl1 [1/1]
PD#172587

Problem:
no cvbsoutput

Solution:
add cvbsoutput

Verify:
test pass on x301

Change-Id: I92f70d26e32f95de7c63ddbac9fe6664063c1902
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-11-26 22:31:48 -08:00
Brian Zhu
a5c39593ab video: vpp: add vd afbc YUV 422/444 support for tl1 [1/1]
PD#172587

Problem:
Bringup TL1 vidoe driver.
TL1 need support YUV422/444 AFBC.
TL1 need check afbc source from decode or vdin.
TL1 need afbc compress loss mode.

Solution:
Merge from branch bringup/amlogic-4.9/tl1-20181111.

Verify:
verify on tl1

Change-Id: I0af62e7638db4e1c349df874ccffdeddcaa715af
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-11-26 22:24:16 -08:00
Jian Cao
5174ce4455 osd: osd: screen blank when boot [1/1]
PD#172587

Problem:
screen blank when boot

Solution:
modify free_scale_switch

Verify:
verified on tl1 dev board

Change-Id: I3c53e832c83c71bd8e98f71fcd654865a467df3c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2018-11-26 22:00:53 -08:00
Jian Cao
3be570bc03 osd: osd: reserve vs_ctrl bit for VPP [1/1]
PD#172587

Problem:
reserve vs_ctrl bit for VPP

Solution:
Avoid operating VPP_OFIFO_SIZE bit19 on OSD code

Verify:
verified on t962x2_x301

Change-Id: Ic450d6f64e2349d97d02f0802058b4031564fea4
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2018-11-26 22:00:26 -08:00
pengcheng chen
40bfe9715a osd: add viu2 support for tl1 [1/1]
PD#172587

Problem:
add viu2 support for tl1.

Solution:
add viu2 support for tl1.

Verify:
verified by x301

Change-Id: Ie728f6ee7e0c4c4062e5e12e3d80515d99d020f8
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-11-26 22:00:07 -08:00
pengcheng chen
4073682721 osd: tl1 hold line fix needn't shift workaround [1/1]
PD#172587

Problem:
tl1 hold line fix needn't shift workaround.

Solution:
remove shift workaround int tl1

Verify:
verified by x301

Change-Id: I96d99758ba6f93622c34a8e69c4a3f769fdfad49
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-11-26 21:33:22 -08:00
wenfeng.guo
bf1a301bb7 deinterlace: add support for tl1 [1/1]
PD#172587

Problem:
bringup tl1

Solution:
add deinterlace driver support for tl1

Verify:
verified on tl1 x301

Change-Id: I3bf008a4f948cdc2c11f14f81944695d6a185b14
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
2018-11-27 12:37:23 +08:00
Zhiwei Yuan
19712d403c dtv_demod: add DTV demod driver for tl1 [1/1]
PD#172587

Problem:
add DTV demod driver for tl1

Solution:
add DTV demod driver for tl1

Verify:
verified by t962x2_x301

Change-Id: I27e88090aa51c0385867cee4d31a5a75192cf650
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
2018-11-26 19:28:10 -08:00
Nian Jing
e26609d428 tvafe: add tvafe support for tl1 [1/1]
PD#172587

Problem:
tl1 do not support tvafe

Solution:
add tvafe support

Verify:
test pass on x301

Change-Id: I34185a3f10e7540b7c2317c270a306b8904e0ca3
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-11-26 18:48:41 -08:00
ruixuan.li
8e93bc9f2a arm: dts: tl1: update emmc dt for tl1 [1/1]
PD#165583

Problem:
bringup tl1 emmc

Solution:
1.set DDR52 MODE
2.add sdio node in dts
3.hs200 busmod

Verify:
test pass on tl1

Change-Id: I5b5c8bff18093f444e67b8e32e2a46c25ddf1a10
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
2018-11-26 18:30:20 -08:00
Bencheng Jing
3553a6cd0a amvecm: pq: lc: update local contrast setting [1/1]
PD#172587

Problem:
update lc setting

Solution:
update lc setting
add demo mode

Verify:
verified on ref board x301

Change-Id: Ie1542af5e4d8e4fe2c52bd04db66cbdf9130853f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-11-26 11:41:48 -08:00
nengwen.chen
cba247e20b atv_demod: add atv demod support for tl1 [1/1]
PD#172587

Problem:
1.add atv demod driver and dts config for tl1.
2.merge from bringup/amlogic-4.9/tl1-20181111.

Solution:
add atv demod driver and dts config for tl1

Verify:
verified by t962x2_x301

Change-Id: Ibbc00f9d478a9f5e52c6333b9a819aac381894ec
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-11-27 02:48:56 +08:00
Xing Wang
3710b197c9 audio: auge: fix drivers for tl1 [1/1]
PD#172587

Problem:
resample, eqdrc, dolby efuse, audio input (from atv, hdmirx)

Solution:
add drivers for them

Verify:
x301

Change-Id: I5187f9824d904283794f6e4be3dd9ce8463908e1
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-11-27 01:24:54 +08:00
Ruixuan Li
a8d0414ebf emmc: modify cophase for tl1 [1/1]
PD#172587

Problem:
emmc data crc error

Solution:
modify cophase under kernel for tl1

Verify:
test pass on skt

Change-Id: Id4997ef2288a53e6f401744664aaf6b05cf36e38
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2018-11-26 07:46:50 -08:00
Sunny Luo
4729baecba spicc: fix miss bytes/time consume/loopback issue [1/1]
PD#SWPL-215

Problem:
1. additional or missing bytes be sent on mosi sometimes.
2. Customer DSP load firmware through SPICC. the loading time is 12s with
buildroot release 20180907 while 6s with 20180131.
3. rx error when work in loopback mode at high speed.

Solution:
1. change to disable irq at the irq-handle begining;
change to enable irq after all data pulled.
2. pre-setup of every spi transfer spends most of time on clk_set_rate().
this time is not obvious while cpu work at a high frequence such as
1000MHz.
In fact, a slave speed is almost fixed and we needn't set it for every
transfer but set only when speed changed.
3. disable auto io delay when in loopback mode.

Verify:
verified on axg-s400-v03 and tl1-skt

Change-Id: I61bcceccc243b218879b2b0711d0aff7538151f6
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2018-11-26 04:23:33 -08:00
Yue Wang
752949d46a usb: bringup usb for tl1 [1/1]
PD#172587

Problem:
bringup usb for tl1

Solution:
bringup usb for tl1.
disable usb device sof interrupt for tl1.

Verify:
verify on tl1 skt.

Change-Id: Ifbcd3b406145ac39709ff2df795544086277f00e
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-11-26 04:23:13 -08:00
Zhongfu Luo
5f5f0d4a9d efuse: tl1: add efuse burning support [1/1]
PD#172587

Problem:
efuse: tl1: need to add efuse burning support

Solution:
efuse: tl1: add efuse burning support

Verify:
TL1 skt board verify pass

Change-Id: Id65f182c71fc6f3f2b2536bbb6b859ad2f558360
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2018-11-26 03:45:27 -08:00