Commit Graph

648647 Commits

Author SHA1 Message Date
Zhuo Wang
cc3795d74c 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>
2019-05-07 14:57:13 +08:00
Zhuo Wang
e9fed01c2d ethernet: set RX delay for exphy and leds [1/1]
PD#SWPL-5295

Problem:
add RX delay for 8211f and add led setup interface

Solution:
tuning delay and leds

Verify:
verify on u200 board

Change-Id: I45e855894d570fdd976f90fd8f03151ad52a3683
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2019-05-07 14:57:06 +08:00
Luan Yuan
8d01e0bf30 Revert "ethernet: handle tx timeout"
This reverts commit 6b195f8476.
2019-05-07 14:56:56 +08:00
Hong Guo
68a36a1938 cpufreq: cpufreq register notify for cluster0 [1/1]
PD#SWPL-7707

Problem:
cpufreq register notify for cluster0 

Solution:
cpufreq register notify for cluster0 

Verify:
test pass on g12b_w400

Change-Id: Ia57f320528082c9824dd96f17714d8e636519bb4
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-05-07 14:20:42 +08:00
Hong Guo
51000ac0e1 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-05-07 14:20:00 +08:00
Hong Guo
288477eef5 cpufreq: free clk if failed to set 1G for fixpll when cpufreq init. [1/1]
PD#SWPL-6394

Problem:
free clk if failed to set 1G for fixpll.

Solution:
free clk if failed to set 1G for fixpll..

Verify:
test pass on A311D-W400

Change-Id: I1a7af6fe459c067e34ff8752453a1a04985edb88
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-05-07 14:16:02 +08:00
Hui Zhang
826ef2cb51 19af5c5 dtv_demod: add AGC control for board t309 [1/1]
a9eb626 dtv_demod: Prevent NULL pointer crash caused by tuner attach failure [1/1]
d27b145 dtv_demod: TL1 dtmb suspend hangup issue [1/1]
27c05dd dtv_demod: tl1,dvbc, new method for fast channel searching [1/1]
fa80091 dtv_demod: txlx atsc-t loses lock when play video for a long time [1/1]
43db0c5 build: fix build err [1/1]
d4abd67 dtv_demod: TXLX ISDB-T can't search channel [1/1]
70f2c39 dtv_demod: TL1 dvbc search time more than 3 min [1/1]
16d4727 dtv_demod: TL1 dtmb cma allocate fail after dtmb->dvbc->dtmb by cmd [1/1]
b5aa9de media_module: h264/mpeg2/h265 [2/2]
3d6a5ed ppmgr: use light reg for video decoder local reset [1/1]
ppmgr: use light reg for video decoder local reset [1/1]

PD#SWPL-5014

Problem:
ppmgr provider error sometimes in long time run under poor signal

Solution:
use light reg for video decoder local reset

Verify:
X301

Change-Id: I1500c9ddfdce76b3e9cb2b24a35cdee765f82d5f
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>

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>

dtv_demod: TL1 dtmb cma allocate fail after dtmb->dvbc->dtmb by cmd [1/1]

PD#TV-1748

Problem:
[Hisense-T962X2-P-customer-DTV]:Failed to lock frequency in dtmb system

Solution:
leave the last mode before enter current mode to release the resources

Verify:
verified by t962x2_x301

Change-Id: Ibd7e1d4c67f5a5ad2191e0031fdd0b81812c8606
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>

dtv_demod: TL1 dvbc search time more than 3 min [1/1]

PD#SWPL-3555

Problem:
{DVB-C}Hisense needs less than 3 minutes for dvb-c search.(5/5,None)

Solution:
1.use demod internal state machine to optimize time
2.remove j.83b filter setting in dvbc mode for tl1 & txlx

Verify:
verified by t962x2_x301&t962x_r311

Change-Id: Ic922e3da727179e2e35a0fc80e52ac7242c54129
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>

dtv_demod: TXLX ISDB-T can't search channel [1/1]

PD#SWPL-3987

Problem:
[Einstein]use ISDB-T cannot search any channel

Solution:
release cma memory at leave_mode for ISDB-t&DVB-T

Verify:
verified by t962x_r311

Change-Id: I9b79687a4d5270932ab30afaa3e7d2817e900149
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>

build: fix build err [1/1]

PD#SWPL-4150

Problem:
When switch to the toolchain shipped with android P, multipile
"-Werror=maybe-uninitialized" error occurs, and the code fail
to be compiled

Solution:
Initialize variables if necessary

Verify:
Locally on Ampere

Change-Id: I280de648914565656831e211539bf41a7dee2b4a
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>

dtv_demod: txlx atsc-t loses lock when play video for a long time [1/1]

PD#SWPL-3418

Problem:
[Einstein]when AC off/on,enter live TV ,
TV display blank screen and no signal about 5S

Solution:
use post-eq to track(0x912=0x50)

Verify:
verified by t962x_r311

Change-Id: I924c55a8f1c92328e4371cb730e1b03bd720457f
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>

dtv_demod: tl1,dvbc, new method for fast channel searching [1/1]

PD#TV-2154

Problem:
[Hisense-T962X2-P-customer-DTV]:DVBC QAM is set to auto to search channels

Solution:
add new searching method
note:
use "demod_dvbc_speedup_en" to mark the new method
it's disabled as default, can be enabled if needed
we can make it always enabled after all testing are passed
enable: echo fast_search on > /sys/kernel/debug/demod/dvbc_channel_fast

Verify:
verified by t962x2_x301

Change-Id: Icaaab9f27eb058a062d7048c6ca9fa2e3bff008e
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>

dtv_demod: TL1 dtmb suspend hangup issue [1/1]

PD#SWPL-5202

Problem:
cma memory is not released when suspend

Solution:
provide suspend interface to release cma memory

Verify:
verified by t962x2_x301

Change-Id: I1d808a8a6119a2f385961c4c5bded5ab71c9c9d1
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>

dtv_demod: Prevent NULL pointer crash caused by tuner attach failure [1/1]

PD#TV-1539

Problem:
Prevent NULL pointer crash caused by tuner attach failure.

Solution:
Prevent NULL pointer crash caused by tuner attach failure.

Verify:
verified by x301

Change-Id: I57cf32947775626467eb952dd2298ae9ec84601d
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>

dtv_demod: add AGC control for board t309 [1/1]

PD#SWPL-5175

Problem:
r842 agc control need be controlled by demod

Solution:
add agc control function

Verify:
verified by t962x2_x301 t962x2_t309

Change-Id: If712e22276b97c457e2e2ed1c79bdf3673813dff
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-05-06 21:14:10 +08:00
Bencheng Jing
873044f29a di: fix moving character tow line [1/1]
PD#TV-4346

Problem:
di post buffer switch,motion read mif not switch

Solution:
fix the motion read mif

Verify:
verified by t962x2_x301

Change-Id: I6728e91bfff4241da1f5067398cc412545c7d96f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-05-06 14:41:30 +08:00
Tao Guo
3f59bb970f debug: add atrace support [1/1]
PD#SWPL-4956

Problem:
Need atrace to debug multimedia issue

Solution:
Add atrace functions

Verify:
P212

Change-Id: I0f07387dfa35a33c25e538a474a3a12bd88d5092
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-05-05 15:56:47 +08:00
Luan Yuan
d4e1f17308 Revert "emmc: Clear the value of txdelay in legacy mode on the resume process [1/1]"
This reverts commit 2582a96892.
2019-05-05 13:29:51 +08:00
Hong Guo
6b56ee7211 CPUFREQ: update cpufreq 1.512G to 1.5G for sm1. [1/1]
PD#SWPL-6205

Problem:
update cpufreq 1.512G to 1.5G for sm1.

Solution:
update cpufreq 1.512G to 1.5G for sm1.

Verify:
sm1_ac200, verify pass

Change-Id: Ic9c570b2c398e12efb84b4d707f24f773940bbe0
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-05-02 18:16:11 +08:00
he.he
707bf79822 usb: USB keyboard not recognized at low probability [1/1]
PD#TV-4365

Problem:
USB keyboard not recognized after reboot repeatedly.

Solution:
Reset the reset_FS_LS_Clock_Divider bit of the usb phy.

Verify:
tl1

Change-Id: I0f4bf35be04d3aff1094bf55641348ccaca072e4
Signed-off-by: he.he <he.he@amlogic.com>
2019-05-02 18:11:26 +08:00
shuanglong.wang
1f46fb8efc video: reuse initial phase [1/1]
PD#SWPL-5664

Problem:
for netflix 23.97fps non-tunnle playback 3:2 patten broken so many times

Solution:
reuse initial phase that Tim use in amazon

Verify:
verify by u212

Change-Id: I5d988e1c3a3dbf1bb728f55a921e8b8fb6990985
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
2019-05-02 17:51:46 +08:00
shuanglong.wang
32ed0e46f7 video: do not compensation when paused [1/1]
PD#SWPL-5664

Problem:
pcr not paused when netflix video non-tunnel mode pause

Solution:
do not compensation when diff between omxpts and pcr too large
Because when paused, continous compensation will lead diff
beween omxpts and pcr will alway inside pcr adjust threshold,
and pcr not set again, then pcr will increase

Verify:
verify by nts

Change-Id: Ib2acea35758d161d1e9db53dd6ff369ba7973351
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
2019-05-02 17:50:49 +08:00
shuanglong.wang
05b61dc375 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>
2019-05-02 17:50:45 +08:00
Jianxin Pan
31e3a8ac1f 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>
2019-05-02 17:43:45 +08:00
Long Yu
2582a96892 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-05-02 16:56:45 +08:00
Tao Zeng
cd3a23d8e8 bandwidth: add min bandwidth read in usage_stat [1/1]
PD#SWPL-7960

Problem:
There is no min ddr bandwidth data

Solution:
Add this value in sysfs

Verify:
p212

Change-Id: I9d90476d30c0ca7789046d8d205f0802de2b4acf
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-05-01 14:11:52 +08:00
Shuai Li
326b74f813 audio: add param check for resample [1/1]
PD#SWPL-7798

Problem:
Crashed when audio resample setting params
are invalid.

Solution:
Add check method if the params is invalid.

Verify:
Tl1.

Change-Id: I1e0396be8d401c0a49ff0de9fd7f160f0c8133ca
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-04-30 09:40:59 +08:00
Tao Zeng
8cf68eb198 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-29 20:45:00 +08:00
Zhuo Wang
408ded9202 ethernet: set tx_amp according chips [1/1]
PD#SWPL-7765

Problem:
g12b revb efuse not correct

Solution:
set tx_amp with chipid to work around

Verify:
verify on g12b skt board

Change-Id: Id1babce231d866293e4de52685834834a4b65227
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2019-04-29 20:19:47 +08:00
Luan Yuan
701354450a dts: add ppmgr for g12b [1/1]
PD#SWPL-6901

Problem:
lack of ppmgr in g12b

Solution:
add ppmgr

Verify:
verify by g12b

Change-Id: Id6d9894d2430cf286e42c90dc340dc10fd0f37c5
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-26 09:27:01 +08:00
Yan Wang
c734c302bd 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>
2019-04-25 20:26:14 +08:00
Guosong Zhou
99527e6e97 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>
2019-04-25 20:25:27 +08:00
Yingyuan Zhu
7a09ac9b0e 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>
2019-04-25 20:24:42 +08:00
Yi Zhou
6737ec4dcb 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>
2019-04-25 14:06:09 +08:00
MingLiang Dong
c39c3c3b53 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>
2019-04-25 10:57:15 +08:00
Zongdong Jiao
e5846b2a19 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-23 14:21:13 +08:00
Jiamin Ma
bbf91273ea 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: I01427f2d512c0bf1972dd545dc71570919c5bc07
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-04-22 16:34:48 +08:00
Brian Zhu
e6617c0031 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>
2019-04-19 20:19:40 +08:00
Luan Yuan
527be302e9 amvecm: add cm 12bit config for g12a/g12b/sm1
Change-Id: I82a2c54a5b7d7dc8fe0b2e7cc6c1a0af926c8ca3
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-18 16:27:28 +08:00
Bencheng Jing
e1a9bfc673 amvecm: fix CM/sat/bricon adjust not available [1/2]
PD#SWPL-6892

Problem:
fix CM/sat/bricon adjust not available

Solution:
fix CM/sat/bricon adjust not available

Verify:
U212

Change-Id: Ia6a1aebda35550801d4c7e16807714b8349431a4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-18 11:31:13 +08:00
MingLiang Dong
b8106f1e4b amvecm: ioctrl get hist ave error [1/1]
PD#TV-1950

Problem:
VPP_IN_H_V_SIZE register is removed on TL1

Solution:
use preblend size to config hist stts size

Verify:
verify on TL1

Change-Id: I0afc9fd45f69318b2ebd42424aee20e60400d809
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-04-18 11:31:08 +08:00
Bencheng Jing
c41066e24f 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>
2019-04-17 19:53:54 +08:00
Bencheng Jing
9cb5683ddf amvecm: add sharpness0 cvbs table in driver [1/2]
PD#OTT-2339

Problem:
Testing CVBS Video Index Part FAIL

Solution:
add sharpness0 cvbs table in driver

Verify:
U212

Change-Id: I91047de0e852c77e70ad95aad3e6830fde7097f4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-17 19:52:42 +08:00
Luan Yuan
79a2e874b6 Revert "amvecm: add sharpness0 cvbs table in driver [1/2]"
This reverts commit 4001dd156e.
2019-04-16 23:52:09 +08:00
Luan Yuan
06cfbd413d Revert "partition: change vendor size [1/2]"
This reverts commit a219789bb2.
2019-04-16 19:27:45 +08:00
Xiaoming Sui
46b3f61e5a avsync: tsync: fix blackscrean issue when replayed [1/2]
PD#TV-2802

Problem:
The image is stuck or blackscrean for a few seconds
when the DTV stream is replayed.

Solution:
when audio pts and video pts discontinue, then
adjust the pcr source clock.

Verify:
X301

Change-Id: Id0a74e2d4106a30b426bfa7a4faa70451db9b79e
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
2019-04-16 15:17:27 +08:00
Rongjun Chen
11e6bde6f9 WIFI: add mem size for bcm wifi [2/5]
PD#SWPL-3773

Problem:
wifi open fail issue

Solution:
add mem size to fix wifi open fail issue

Verify:
r311

Change-Id: Iab6cd8664026639f5aae108a3bd84faa38708487
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
2019-04-16 13:41:02 +08:00
Luan Yuan
2c2b94bef9 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: Luan Yuan <luan.yuan@amlogic.com>
2019-04-16 10:55:20 +08:00
Liang Ji
a219789bb2 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-15 20:54:50 +08:00
Bencheng Jing
4001dd156e amvecm: add sharpness0 cvbs table in driver [1/2]
PD#OTT-2339

Problem:
Testing CVBS Video Index Part FAIL

Solution:
add sharpness0 cvbs table in driver

Verify:
U212

Change-Id: I91047de0e852c77e70ad95aad3e6830fde7097f4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-15 20:35:49 +08:00
Zhongfu Luo
644d912568 defendkey: TL1: support secure upgrade check [4/4]
PD#SWPL-5002

Problem:
TL1 need to support defendkey secure upgrade check

Solution:
1.modify the way of get random

Verify:
TL1 skt board verify pass

Change-Id: I76b29800de787c5e5b18e023d84c1161c9b1643a
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-04-15 16:27:53 +08:00
Zongdong Jiao
396ad38985 hdmitx: fix wrong 420 valid_mode [1/1]
PD#SWPL-6896

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

Solution:
Add Y420 8bit check

Verify:
G12/U212

Change-Id: I0a128eb33aeb2b4bcbf253eff49e9c5186386af1
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-04-15 16:00:58 +08:00
Hong Guo
fed72eb16b 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>
2019-04-12 20:13:54 +08:00
Ting Li
2a480561fb 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>
2019-04-12 19:57:09 +08:00
Yingyuan Zhu
79883263fd AC200: fix home button has no function [1/1]
PD#SWPL-6694

Problem:
home button has no function in sm1-ac200

Solution:
add home button configuration in dst node

Verify:
test pass on sm1-ac200

Change-Id: I670480c6dfd7f833e737adaddbe5981d84091203
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
2019-04-12 16:12:21 +08:00
Evoke Zhang
6be67a49ba lcd: add mipi-dsi support for sm1 [2/2]
PD#SWPL-6114

Problem:
add mipi-dsi support for sm1

Solution:
add lcd_chip_sm1

Verify:
verify by S905x3

Change-Id: I1b95676ad1300f8cbf859f89b557f680cccff117
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-04-12 15:43:17 +08:00
renjiang.han
eead0b2e8a amvideo2: add keep last frame [1/1]
PD#OTT-2452

Problem:
Black screen in the middle of the cut.

Solution:
add keep last frame.

Verify:
on U212

Change-Id: Ib24f066e0682c7427024a74d9bf8cc9b8a310d62
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
2019-04-11 20:55:02 +08:00
xiaoliang.wang
ddf73459b7 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-11 20:36:33 +08:00