platform/kernel/linux-amlogic.git
6 years agoreboot: make system reboot when panic occurs
Yixun Lan [Fri, 18 May 2018 09:28:39 +0000 (17:28 +0800)]
reboot: make system reboot when panic occurs

PD#166529: reboot: make system reboot when panic occurs

CONFIG_PANIC_TIMEOUT=0 means no reboot when panic occurs,
This will make VTS stuck forever, fix this by making
the default reboot timeout as 5s.

Change-Id: Ib8888a4f87c6c178891d7e7fed2f186a6bfed119
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
6 years agodts: add defendkey function for G12A
Zhongfu Luo [Thu, 10 May 2018 12:16:00 +0000 (20:16 +0800)]
dts: add defendkey function for G12A

PD#164929: G12A need to support defendkey

add defendkey function in all G12A dts

Change-Id: Id269d4c14f2c2a6ad0674191aff353122a13d558
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
6 years agoethernet: fix wol_error when test eye_pattern
Zhuo Wang [Fri, 18 May 2018 09:56:11 +0000 (17:56 +0800)]
ethernet: fix wol_error when test eye_pattern

PD#166642: add eye pattern function for 4.9

Change-Id: If57f74262589c02e12cbff3f01745c70a687da9e
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
6 years agodefendkey: support secure upgrade check
Zhongfu Luo [Thu, 17 May 2018 11:50:11 +0000 (19:50 +0800)]
defendkey: support secure upgrade check

PD#164929: G12A need to support defendkey

Change-Id: I3c805c4dda03a39156fb91b53cc55ee8930f9e03
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
6 years agowifi: enable cfg80211 testmode for qca6174
libo [Thu, 17 May 2018 08:53:36 +0000 (16:53 +0800)]
wifi: enable cfg80211 testmode for qca6174

PD#166420: enable cfg80211 testmode for qca6174

Change-Id: I65f6fa499e02fdc48bc23f1e7541fd8e7fee4850
Signed-off-by: libo <bo.li@amlogic.com>
6 years agohdmitx: fix no display under frac_mode
Yi Zhou [Fri, 18 May 2018 04:41:38 +0000 (12:41 +0800)]
hdmitx: fix no display under frac_mode

PD#166241: hdmitx: fix no display under frac_mode

1.update pll parameters
2.4k60hz444/rgb8bit doesn't frac_mode

Change-Id: I45c8bade4cd8f83a7b4d36aadbdbbaa9dfca32f1
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
6 years agobacklight: ldim: add remap function restrictions by ldim_func [2/2]
Evoke Zhang [Thu, 17 May 2018 05:16:52 +0000 (13:16 +0800)]
backlight: ldim: add remap function restrictions by ldim_func [2/2]

PD#166583: backlight: ldim: add remap function restrictions by ldim_func
also optimize iw7027 driver

Change-Id: I2a863d17d3cef521b6d7af016f4c47e29ef5b44b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agovpp: fix the vskip overflow when playing interlace video
Brian Zhu [Sat, 5 May 2018 08:49:12 +0000 (16:49 +0800)]
vpp: fix the vskip overflow when playing interlace video

PD#164722: vpp: fix the vskip overflow when playing interlace video

Change-Id: Id65e8c58aedf35da4762280ae19cf933f08786f9
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
6 years agospicc: g12a: spicc0 pins_c debug
Sunny Luo [Fri, 18 May 2018 06:29:13 +0000 (14:29 +0800)]
spicc: g12a: spicc0 pins_c debug

PD#166556: spicc: g12a: spicc0 pins_c debug

Change-Id: I4f5f118410617cc3de8a1132100a1f7e21bc9f66
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
6 years agou221: disable cvbsout [2/2]
Evoke Zhang [Wed, 2 May 2018 09:34:00 +0000 (17:34 +0800)]
u221: disable cvbsout [2/2]

PD#165555: u221: disable cvbsout
s905y2 don't support cvbsout

Change-Id: If29a9c6e9fa38cafcbcf6e75f942fb03b2cd5e1b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agohdr: add hlg support
MingLiang Dong [Wed, 16 May 2018 09:24:32 +0000 (17:24 +0800)]
hdr: add hlg support

PD#166567: hdr: add hlg support

Change-Id: I00acc352ce534485c8950f979704f96880811faa
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
6 years agotsync: do not operate tsync_mode_switch before first video toggled.
shuanglong.wang [Mon, 14 May 2018 06:49:39 +0000 (14:49 +0800)]
tsync: do not operate tsync_mode_switch before first video toggled.

PD#165355: do not operate tsync_mode_switch before first video toggled.
Some stream in tunnel mode, first audio pts is large than
AV_DISCONTINUE_THREDHOLD_MAX(60s). In audio_hw it will check pcr and
apts diff, so large difference between pcr and apts will lead sync mode
from amster to vmaster
[ 2414.316223@3] vdec_init, dev_name:ammvdec_vp9,
vdec_type=VDEC_TYPE_STREAM_PARSER
[ 2414.326361@3] vp9: ver (201602101,0) decinfo: 1920x1080 rate=4000
[ 2414.326827@3] mem_start_virt failed
[ 2414.330600@3] init_pic_list ok, used_buf_num = 12
[ 2414.336555@2] set pts unstable
[ 2414.338121@2] success set parent hevc_p1_composite rate to 666666666
[ 2414.356287@0]
A-discontinue,pcr=1500,vpts=0,apts=1500,diff_pts=16209420,lugsp_5ts6
207920
[ 2414.359685@0] discontinue-tsync_mode:A->Vvptatr:S->adji
ffies=204004utsize 12179
[ 2414.366696@0] debugcnt=0x10,diff_pts=16209420,tsync_mode=0

Change-Id: I7e33abb5e6c27169ecec86fb6e4df33de6bd80cf
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
6 years agoavsync: av not sync problem cased by vp9 trig
shuanglong.wang [Mon, 14 May 2018 08:33:49 +0000 (16:33 +0800)]
avsync: av not sync problem cased by vp9 trig

PD#161895: av not sync problem cased by vp9 trig

1)vp9 initialization stream do not post VIDEO_START event,
so do not post VIDEO_STOP in unregister when not post
VIDEO_START which occured in vp9 tirg reset codec operation.
2)AV audio master adjust pcr according apts diff in
tsync tsync_set_apts need to reopen which was commented in
the begining tree of 4.9 codec
3)summit as Tim's patch

Change-Id: I9fb62aecb27f75d1ea9dff938452e0dd4f11b901
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
6 years agodi: fix nr4 param sys interface crash
kele bai [Tue, 15 May 2018 06:44:32 +0000 (14:44 +0800)]
di: fix nr4 param sys interface crash

PD#166354: di: fix nr4 param sys interface crash

1) nr4 param array access violation

Change-Id: Ia79bd0ef8118715c6f1a94c5427c2c4b715f8bf8
Signed-off-by: kele bai <kele.bai@amlogic.com>
6 years agohdmirx: improve the snow noise issue during timing switching
Lei Yang [Wed, 16 May 2018 07:11:01 +0000 (15:11 +0800)]
hdmirx: improve the snow noise issue during timing switching

PD#166184: hdmirx: improve the snow noise issue during timing switching

Change-Id: If143d418758f3b0d4895a7ecab87cebe98d8c457
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
6 years agoosd: add afbc arb reset which caused screen blank
pengcheng chen [Sat, 12 May 2018 08:05:19 +0000 (16:05 +0800)]
osd: add afbc arb reset which caused screen blank

PD#166248: osd: afbc arb reset which caused screen blank

Change-Id: I35035a40a50d5123394d527c60df2abb58e10b9a
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agoaudio: codec: add suspend and resume for ad82584f
Xing Wang [Wed, 16 May 2018 03:33:41 +0000 (11:33 +0800)]
audio: codec: add suspend and resume for ad82584f

PD#165897: audio: codec: add suspend and resume for ad82584f

Change-Id: I5a98b4d19f4cc411ea2f94ab62bd323658fb1c25
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
6 years agolcd: add retry flow to ensure power on state
Evoke Zhang [Mon, 14 May 2018 12:24:25 +0000 (20:24 +0800)]
lcd: add retry flow to ensure power on state

PD#166330: mipi panel status is incorrect sometimes when lcd enable

Change-Id: Iace4963e576752208815d672befa4e215f860097
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agolcd: premote a common lcd_extern_i2c_probe
Weiming Liu [Fri, 13 Apr 2018 10:58:06 +0000 (18:58 +0800)]
lcd: premote a common lcd_extern_i2c_probe

PD#164139: lcd: premote a common lcd_extern_i2c_probe

premote a common lcd_extern_i2c_probe() function,
so it will be shared by various display controller IC

Change-Id: I47638520f32a0865829a1fd776c3a9ca626798ba
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
6 years agoamvecm: fix G12A eye protect function unused
MingLiang Dong [Fri, 11 May 2018 09:25:10 +0000 (17:25 +0800)]
amvecm: fix G12A eye protect function unused

PD#165151: amvecm: fix G12A eye protect function unused

1. G12A use post matrix as wb adjust module
2. fix 905x eye protect function bug

Change-Id: Ic161cafbb455cf278283d20ef9d93f18c07f5811
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
6 years agousb: phy2: analog tuning for aml-phy
Jianxin Qin [Thu, 10 May 2018 06:50:56 +0000 (14:50 +0800)]
usb: phy2: analog tuning for aml-phy

PD#164286: usb: phy2: analog tuning for aml-phy

Packet lost occures with high probability in High Speed mode, This patch
re-configurate PHY parameters for improving this issue.

Change-Id: If51d300a01d8c30dce27454ad887a0d14f2d1e52
Signed-off-by: Jianxin Qin <jianxin.qin@amlogic.com>
6 years agoscript: amlogic: add code scan script
Ao Xu [Tue, 15 May 2018 07:59:14 +0000 (15:59 +0800)]
script: amlogic: add code scan script

PD#166377: script: amlogic: add code scan script

Add code scan script.

Usage: ./script/amlogic/code_scan.sh [path]

Examples:
# scan all code
./script/amlogic/code_scan.sh

# scan specified directory
./script/amlogic/code_scan.sh drivers/amlogic

scan result is in src code's parent directory, named coverity_html

Change-Id: I069cd99d08014cc50a3bf127e199690649e196c8
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
6 years agohdmirx: fixed the pink screen issue when connect with roku box
yicheng shen [Fri, 4 May 2018 08:58:26 +0000 (16:58 +0800)]
hdmirx: fixed the pink screen issue when connect with roku box

PD#165686: hdmirx: fixed the pink screen issue when connect with roku box

Change-Id: Ia1723b9e88bcf7dd0773bc301301e682d35a9c5c
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
6 years agocec: add err initiator int for cec error [2/3]
hongmin hua [Wed, 9 May 2018 09:17:55 +0000 (17:17 +0800)]
cec: add err initiator int for cec error [2/3]

PD#163965: cec: add err initiator int for cec error

Change-Id: I7a10f4d6a90d2e3a15ec3ed969735aadb230db43
Signed-off-by: hongmin hua <hongmin.hua@amlogic.com>
6 years agohdmitx: update hdmi phsycial size during hotplug [1/1]
shuze.ma [Tue, 15 May 2018 10:52:28 +0000 (18:52 +0800)]
hdmitx: update hdmi phsycial size during hotplug [1/1]

PD#163001: update hdmi phsycial size during hotplug

Change-Id: I71e863c56abbe5ae8dd151de481b1465317cebf1
Signed-off-by: shuze.ma <shuze.ma@amlogic.com>
6 years agoarm64: dts: txlx: adjust the position of saradc node
Xingyu Chen [Tue, 15 May 2018 09:09:22 +0000 (17:09 +0800)]
arm64: dts: txlx: adjust the position of saradc node

PD#165196: arm64: dts: txlx: adjust the position of saradc node

In order to compatible with the saradc driver in uboot, the node
must be placed in the /{}.

Change-Id: I135a89866249b23b89f466699ecdb8cd7f21db82
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
6 years agohdmirx: add new atmos edid handle method
yicheng shen [Fri, 11 May 2018 03:23:12 +0000 (11:23 +0800)]
hdmirx: add new atmos edid handle method

PD#164867: hdmirx: add new atmos edid handle method

Change-Id: I03865be263d195b3b38bf782bd52b992e2084c71
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
6 years agoarm64: cpufeature: Pass capability structure to ->enable callback
Mark Rutland [Thu, 12 Apr 2018 11:11:09 +0000 (12:11 +0100)]
arm64: cpufeature: Pass capability structure to ->enable callback

PD#166068: arm64: cpufeature: Pass capability structure to ->enable callback

Fix CPU-hotplug fail to bringup issue once stopped CPU.

From: Will Deacon <will.deacon@arm.com>

commit 0a0d111d40fd1dc588cc590fab6b55d86ddc71d3 upstream.

In order to invoke the CPU capability ->matches callback from the ->enable
callback for applying local-CPU workarounds, we need a handle on the
capability structure.

This patch passes a pointer to the capability structure to the ->enable
callback.

Change-Id: I2c002dfbba4e923d0e44ab085ede46e6f47c9755
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com> [v4.9 backport]
Tested-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
6 years agoarm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
Mark Rutland [Thu, 12 Apr 2018 11:11:07 +0000 (12:11 +0100)]
arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early

PD#166068: arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early

From: James Morse <james.morse@arm.com>

Fix CPU-hotplug fail to bringup issue once stopped CPU.

commit edf298cfce47ab7279d03b5203ae2ef3a58e49db upstream.

this_cpu_has_cap() tests caps->desc not caps->matches, so it stops
walking the list when it finds a 'silent' feature, instead of
walking to the end of the list.

Prior to v4.6's 644c2ae198412 ("arm64: cpufeature: Test 'matches' pointer
to find the end of the list") we always tested desc to find the end of
a capability list. This was changed for dubious things like PAN_NOT_UAO.
v4.7's e3661b128e53e ("arm64: Allow a capability to be checked on
single CPU") added this_cpu_has_cap() using the old desc style test.

Change-Id: I29788b05eb636de777de5d4f423097804d465a7b
CC: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com> [v4.9 backport]
Tested-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
6 years agohdr: fix the bug that sdr can't switch to hdr for g12a
Jihong Sui [Mon, 14 May 2018 09:56:03 +0000 (17:56 +0800)]
hdr: fix the bug that sdr can't switch to hdr for g12a

PD#166004: hdr: fix the bug that sdr can't switch to hdr for g12a

Change-Id: Ia7c14f86d63aa8b00617c47abad14e2eab96d2f6
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
6 years agoarm64: dts: g12a: add cpufreq 1.92G.
Hong Guo [Mon, 14 May 2018 11:35:02 +0000 (19:35 +0800)]
arm64: dts: g12a: add cpufreq 1.92G.

PD#165143: cpufreq: add cpufreq 1.92G.

Change-Id: I8b9dddf8c4c138bf4b5763f707c174ad48e8a53a
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
6 years agoaudio: add 16K mic aux and 32bit feature
bin pang [Mon, 14 May 2018 09:37:57 +0000 (17:37 +0800)]
audio: add 16K mic aux and 32bit feature

PD#164543: audio: 16K mic aux and 32bit support[2/2]

Change-Id: I7e19374cae45821c6189c60eff4b1e2d872ba4c6
Signed-off-by: bin pang <bin.pang@amlogic.com>
6 years agoarm64: dts: g12a: add default drive strength for i2c controllers
Jian Hu [Mon, 14 May 2018 05:29:53 +0000 (13:29 +0800)]
arm64: dts: g12a: add default drive strength for i2c controllers

PD#165715: arm64: dts: g12a: add default drive strength for i2c controllers

Change-Id: I4d909e25d08fa29ac6ebdf756af76bef86bf0bf6
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
6 years agoatv_demod: Add atv color and sound system setting separately [7/8]
nengwen.chen [Thu, 10 May 2018 11:32:49 +0000 (19:32 +0800)]
atv_demod: Add atv color and sound system setting separately [7/8]

PD#165560: Add atv color and sound system setting separately.

Change-Id: I8279143706ddfd705bce95c3f40f701ae9af7829
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
6 years agothermal: fix thermal issue
Huan Biao [Fri, 11 May 2018 02:57:31 +0000 (10:57 +0800)]
thermal: fix thermal issue

PD#166068: thermal: fix cpu cooldev work issue and gpupp not match

Change-Id: I26f4626b309cad984e59f3c2f30eb60f1ec5121b
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
6 years agoethernet: bypass wol_reg12 check when 10M
Zhuo Wang [Mon, 14 May 2018 04:43:29 +0000 (12:43 +0800)]
ethernet: bypass wol_reg12 check when 10M

PD#166287: 10M wol_reg12 error

Change-Id: I1b9bd412786509d2a4889c58ef634f6391b54e9e
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
6 years agodtv_demod: modified dtv demod
Jihong Sui [Thu, 10 May 2018 11:18:01 +0000 (19:18 +0800)]
dtv_demod: modified dtv demod

PD#165971: dtv_demod: modified dtv demod

1. change folder name(amldemod ->dtv_demod);
2. set status 0 when not support;

Change-Id: I96c23b0b333ee0967d5013ebc8915fdffa097433
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
6 years agoMerge "audio: add audio spdif format kcontrol [1/2]" into amlogic-4.9-dev
Jian Xu [Fri, 11 May 2018 14:39:17 +0000 (07:39 -0700)]
Merge "audio: add audio spdif format kcontrol [1/2]" into amlogic-4.9-dev

6 years agovpp: fix the bypass pps condition for non-linear scaler
Brian Zhu [Wed, 9 May 2018 14:12:52 +0000 (22:12 +0800)]
vpp: fix the bypass pps condition for non-linear scaler

PD#164896: vpp: fix the bypass pps condition for non-linear scaler

Change-Id: Ie4e30499b6fe12253da52194d2b89002faf28bd2
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
6 years agohdmirx: optimize for cases do hdcp1.4 interaction very early
Hang Cheng [Thu, 26 Apr 2018 08:48:08 +0000 (16:48 +0800)]
hdmirx: optimize for cases do hdcp1.4 interaction very early

PD#165229: hdmirx: optimize for cases do hdcp1.4 interaction very early

Change-Id: I8b07c2f1be524eed47bde77681c3724b110db618
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
6 years agodts: g12 socket: change max freq
Sandy Luo [Fri, 11 May 2018 08:41:02 +0000 (16:41 +0800)]
dts: g12 socket: change max freq

PD#164108: change max freq to 2G Hz

Change-Id: I6ccb051485ee2ff04ddb6558a63340cd52151464
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
6 years agoaudio: add audio spdif format kcontrol [1/2]
Zhe Wang [Fri, 11 May 2018 06:53:30 +0000 (14:53 +0800)]
audio: add audio spdif format kcontrol [1/2]

PD#165552: add audio spdif format kcontrol

1) remove drc control for ground noise
2) fast attrack for volume
3) add spdif format kcontrol

Change-Id: I3b4574170d808dd7fe955d249e3414880285eb3e
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
6 years agodebug: drop sscanf, use kstrto variant instead
Yixun Lan [Fri, 11 May 2018 06:20:29 +0000 (14:20 +0800)]
debug: drop sscanf, use kstrto variant instead

PD#165796: debug: drop sscanf, use kstrto variant instead

kstrto is kernel reconmmend function which is more safe than sscanf
this will also fix the following checkpatch.pl warning

WARNING: Prefer kstrto<type> to single variable sscanf
+       ret = sscanf(buf, "%ld", &val);

Change-Id: I9a4673b9aa43c10f51a20778ba520461ee0a7984
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
6 years agohdmirx: fix deadlock issue
Lei Qian [Thu, 10 May 2018 13:17:58 +0000 (21:17 +0800)]
hdmirx: fix deadlock issue

PD#164867: fix deadlock issue

Revert "hdmirx: add new atmos edid handle method"

This reverts commit 6bf27f9a5a1777fe965f0d381296f886085a3c87.

Change-Id: Ica0d99c9b4b3f05ccb86c85693c5cc4d2871bd7a
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
6 years agocvbs: cvbs performance for g12a Rev.B
Nian Jing [Thu, 19 Apr 2018 11:46:03 +0000 (19:46 +0800)]
cvbs: cvbs performance for g12a Rev.B

PD#164108: cvbs performance for g12a Rev.B

Change-Id: If140535984762cf6d843878e78ab285e014868e7
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
6 years agoethernet: chage u200 buildroot default as internal phy
wenbiao zhang [Wed, 9 May 2018 09:19:08 +0000 (17:19 +0800)]
ethernet: chage u200 buildroot default as internal phy

PD#163830: ethernet: chage u200 buildroot default as internal phy

Change-Id: I1be5bfddae6fc0c43e3da5f604a80cca36cfad6e
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
6 years agodtv_demod: modify dtv demod to adapter tuner
Jihong Sui [Wed, 9 May 2018 03:25:27 +0000 (11:25 +0800)]
dtv_demod: modify dtv demod to adapter tuner

PD#165971: dtv_demod: Modify atv demod to adapter tuner

1. add get_strength;
2. call release when switch to not-support format;
3. chang DVBT/DVBC from DVBFE_ALGO_SW to DVBFE_ALGO_HW;

Change-Id: I5d58542dd1dded1579e950ec36c395d6a01e6cd7
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
6 years agoi2c: fix i2c clock-frequency inaccurate in fast-mode
Jian Hu [Thu, 3 May 2018 03:01:00 +0000 (11:01 +0800)]
i2c: fix i2c clock-frequency inaccurate in fast-mode

PD#165568: i2c: fix i2c clock-frequency in fast-mode

1.When i2c controller used in U-boot,may affect i2c
  controller in Kernel,should clear i2c registers.
2.Add i2c default clock-frequency for axg.
3.Add i2c clock-frequency debug sysfs, for i2c-0:
  /sys/class/i2c-adapter/i2c-0/device/speed
4.change clock high/low = 1:2 to 2:3

Change-Id: I44ca7ecd8e2e7aec978f3240ff837121ae478ba7
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
6 years agovdin: fix atv nosignal after snowon
Nian Jing [Tue, 8 May 2018 08:16:42 +0000 (16:16 +0800)]
vdin: fix atv nosignal after snowon

PD#164655: dynamic config clamp for signal stable

Change-Id: I29c42053d2014b2ba17ab62b9a670b82b0d3550e
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
6 years agopwm: fix min and max duty cycle
Jian Hu [Wed, 9 May 2018 05:50:29 +0000 (13:50 +0800)]
pwm: fix min and max duty cycle

PD#165774: pwm: fix min and max duty cycle

When the duty equal 0% and 100%, there is one high or low
count ,the constant bit should be enabled;and constant
bit should be disabled for other duty_cycle.

Change-Id: I36eefee3613f113f6c30db076e41cd8223086c54
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
6 years agocpuidle: enable cpu idle
Shunzhou Jiang [Tue, 10 Apr 2018 02:41:02 +0000 (10:41 +0800)]
cpuidle: enable cpu idle

PD#163959: G12A: enable cpu idle

Change-Id: If5493f037f51092358b8f1c4151655aafec6e379
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
6 years agoaudio: add an interface for HDMI out disable [1/2]
qi.yuan [Fri, 20 Apr 2018 11:08:29 +0000 (19:08 +0800)]
audio: add an interface for HDMI out disable [1/2]

PD#165284: add an interface control for audio hdmi out disable

1)add a gpio control switch for ARCIN and SPDIFIN
2)clean global value in audio driver
3)rewrite HDMITX audio control interface
4)remove HDMITX user space control SYSFS
  Forbidden user space control of HDMITX audio, must via AUDIO

Change-Id: Ifc69c8553df903631d80f414771d91966045f85f
Signed-off-by: qi.yuan <qi.yuan@amlogic.com>
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
6 years agoir: fix ir memory overflow issue
jiamin ma [Wed, 9 May 2018 00:44:20 +0000 (08:44 +0800)]
ir: fix ir memory overflow issue

PD#164774: kernel panic after mtk_cfg80211_set_power_mgmt

two possible overflow cases:
1. dev->debug_current + len == dev->debug_buffer_size
2. len > dev->debug_buffer_size

for the first case(currently triggered case)
  the last byte of string pointed to by fmt, aka.'\0', will
overwrite the first byte of memory pointed to by header(in
function __register_sysctl_table), which is just the LSB of
ipv4_table[]'s base address. Leading to "Unable to handle
kernel paging request at virtual address xxxx" panic

for the second case
  a bunch of memory pointed to by header(in function
__register_sysctl_table) will be overwritten

Change-Id: I6bc42308323b7ffb52fe4d1fa9d22742a31e8b1f
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
6 years agoworkqueue: add more debug when null pwq
jianxin.pan [Mon, 7 May 2018 05:51:20 +0000 (13:51 +0800)]
workqueue: add more debug when null pwq

PD#158184: print work and worker function when null pwq

Change-Id: I552c6585935e47abfb9593f4a2d2f1588906aaf8
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
6 years agotvafe: reset vdin asynchronous fifo in tvafe reset
Nian Jing [Wed, 9 May 2018 08:19:02 +0000 (16:19 +0800)]
tvafe: reset vdin asynchronous fifo in tvafe reset

PD#165571: fix greenscreen on repeatly power on/off

Change-Id: Iefa412c2c4f86ba525bfdebbf395d38d34b77a30
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
6 years agodebug: add watchdog trigger in sysrq
jianxin.pan [Mon, 7 May 2018 06:25:48 +0000 (14:25 +0800)]
debug: add watchdog trigger in sysrq

PD#165796: watchdog trigger to debug wdt related behavior
"echo x > /proc/sysrq-trigger" to trigger watchdog

Change-Id: Iddd92cd64c9a7ccdf452f23706b396eaf50ae448
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
6 years agodebug: hard lockup detect
jianxin.pan [Sat, 20 Jan 2018 07:24:50 +0000 (15:24 +0800)]
debug: hard lockup detect

PD#165796: detect dead lock in isr and dead lock with irq disabled

Change-Id: I0aace28fd29e5aeb8c514f6ab1700ac1248f836c
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
6 years agohdmitx: remove setting BT2020 in 4k color deptch mode
Yi Zhou [Wed, 9 May 2018 07:48:20 +0000 (15:48 +0800)]
hdmitx: remove setting BT2020 in 4k color deptch mode

PD#162864: hdmitx: remove setting BT2020 in 4k color deptch mode

some TVs flash when changing colormetry
such as bt2020 to bt709, or bt709 to bt601

Change-Id: I360dfc1ea3299d4ec75903d435530425afb4f546
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
6 years agohdmirx: add new atmos edid handle method
yicheng shen [Mon, 23 Apr 2018 02:50:25 +0000 (10:50 +0800)]
hdmirx: add new atmos edid handle method

PD#164867: hdmirx: add new atmos edid handle method

Change-Id: I4f6fa58ebfe106cedb9f814c92657f08dc6d2aaf
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
6 years agoddr: fix wrong bandwidth result on g12 platform
tao zeng [Thu, 26 Apr 2018 03:14:25 +0000 (11:14 +0800)]
ddr: fix wrong bandwidth result on g12 platform

PD#161475: ddr: fix wrong bandwidth result on g12 platform

Correct function name get_ddr_freq to get_dmc_freq in order
to avoid misunderstanding.

Change-Id: I9000970f100394cf63468149d431d05ece2aaa1d
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
6 years agoarm64: dts: g12a: dvfs voltage duty modify.
Hong Guo [Wed, 25 Apr 2018 06:06:56 +0000 (14:06 +0800)]
arm64: dts: g12a: dvfs voltage duty modify.

PD#165143: cpufreq: dvfs voltage duty modify for 0.731mv.

Change-Id: I85370ea18b68eb3b37636629a9e0da8b26491f83
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
6 years agopwm: optimizing pwm duty calculation
Jian Hu [Fri, 27 Apr 2018 09:16:44 +0000 (17:16 +0800)]
pwm: optimizing pwm duty calculation

PD#165143: pwm: optimizing pwm duty calculation

1.Fix duty equal 0% and 100% duty count incorrect
2.Change period unit to ps to increase accuracy

Change-Id: Ied478f21ac4b4f9f3d1508d69dfbcdbb9ca4e732
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
6 years agosd: add sd_uart to g12a.
Nan Li [Mon, 7 May 2018 09:11:24 +0000 (17:11 +0800)]
sd: add sd_uart to g12a.

PD#165584: add sd_uart on g12a.
test on u211.

Change-Id: Ia8e5cde6c60b3019329324445593d82cf2543afe
Signed-off-by: Nan Li <nan.li@amlogic.com>
6 years agohdmitx: set frac_rate_policy as 1.[1/2]
Zongdong Jiao [Tue, 8 May 2018 02:55:28 +0000 (10:55 +0800)]
hdmitx: set frac_rate_policy as 1.[1/2]

PD#165862: hdmitx: set frac_rate_policy as 1
For most video/films or NTSC, they are 23.976/29.97/59.94fps, so
hdmitx should adjust set frac_rate_policy as 1.

Change-Id: I9671935c5121634d1af6879d8ccd91eb4f92c9cb
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
6 years agodtv_mode: R311 add tuner mxl661
manhao liang [Tue, 8 May 2018 07:22:01 +0000 (15:22 +0800)]
dtv_mode: R311 add tuner mxl661

PD#165368: dtv_mode: R311 add tuner mxl661

Change-Id: Ifbc3ffece7d30d29e295f3e70c37d9d25ee0ac69
Signed-off-by: manhao liang <manhao.liang@amlogic.com>
6 years agosd: sd & wifi TDMA crash.
Nan Li [Fri, 20 Apr 2018 10:10:33 +0000 (18:10 +0800)]
sd: sd & wifi TDMA crash.

PD#164804: when system run with SD card in,
system will be crashed. rm post_dma() crash error.

Change-Id: I99c10fcbf151a4c349bf6b0584056cd9080349e8
Signed-off-by: Nan Li <nan.li@amlogic.com>
6 years agoethernet: add delay after reset phy
Zhuo Wang [Tue, 8 May 2018 07:22:37 +0000 (15:22 +0800)]
ethernet: add delay after reset phy

PD#165891: can't readout phyid when bootup

Change-Id: I775f4fe9b8c4b2e76475f239e75539ecbe2bf843
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
6 years agovpp: use correct width to select the min skip ratio
Brian Zhu [Fri, 4 May 2018 16:11:22 +0000 (00:11 +0800)]
vpp: use correct width to select the min skip ratio

PD#165601: vpp: use correct width to select the min skip ratio

Change-Id: Idcf9ff250c4d6af089dd2b8a25285b81c849a78a
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
6 years agoatv_demod: Modify atv demod to adapter tuner
nengwen.chen [Fri, 4 May 2018 12:49:01 +0000 (20:49 +0800)]
atv_demod: Modify atv demod to adapter tuner

PD#165368: atv_demod: Modify atv demod to adapter tuner

Change-Id: Ifa69db980dfe9519c80932d22dffbb1fb6600fc9
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
6 years agomtd: add new slc nand type
Yi Zeng [Thu, 26 Apr 2018 05:43:12 +0000 (13:43 +0800)]
mtd: add new slc nand type

PD#165148: mtd: add new slc nand type

add the MFR id, flash id and factory bad block
management of Dosilicon & ATO into our code.

Change-Id: If00e026460c6c3f5d354832bef9ba95a0733fdf3
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
6 years agovideo_keeper: fixed greenscreen bug
Hui Zhang [Thu, 3 May 2018 12:47:49 +0000 (20:47 +0800)]
video_keeper: fixed greenscreen bug

PD#155455: fixed green screen bug

Change-Id: Idbb2ae30b1bd88d1782ff47b485e0cbf476641d0
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
6 years agodts: audio: disable dac for u211
Xing Wang [Thu, 3 May 2018 15:28:50 +0000 (23:28 +0800)]
dts: audio: disable dac for u211

PD#165585: dts: audio: disable dac for u211

Change-Id: I290cc1445e30c5b7de2003f579751d0cf6ce291f
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
6 years agolcd_extern: add mipi default driver [2/2]
Weiming Liu [Wed, 11 Apr 2018 02:33:23 +0000 (10:33 +0800)]
lcd_extern: add mipi default driver [2/2]

PD#164036: lcd_extern: add mipi default driver

Change-Id: Id120299c2434a3cce9b154064cd0c7e5dd0bbe8e
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
6 years agodemux: add demux irq for txlx
Chuangcheng Peng [Sun, 29 Apr 2018 07:43:55 +0000 (15:43 +0800)]
demux: add demux irq for txlx

PD#165368: add demux irq for txlx

Change-Id: I165a524cd5e161b22ee21318d9379bb139622e2f
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
6 years agodtv_demod: add dtv demod for txlx
Jihong Sui [Sat, 28 Apr 2018 04:51:24 +0000 (12:51 +0800)]
dtv_demod: add dtv demod for txlx

PD#165005: dtv_demod: add dtv demod for txlx

Change-Id: I311fea46351644902a5e886be4623601e21ec6ac
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
6 years agomm: fixed tvp alloc failed
Bang Peng [Thu, 3 May 2018 08:25:41 +0000 (16:25 +0800)]
mm: fixed tvp alloc failed

PD#159668: fixed tvp alloc failed

[<ffffff80091c38a0>] shrink_inactive_list+0x578/0x584
[<ffffff80091c42c4>] shrink_node_memcg.isra.71+0x6a4/0x734
[<ffffff80091c43c8>] shrink_node+0x74/0x1e0
[<ffffff80091c46f0>] try_to_free_pages+0x1bc/0x4c0
[<ffffff80091b3f10>] __alloc_pages_nodemask+0x5a8/0xd0c
[<ffffff8009983898>] get_migrate_page+0x2c/0x34
[<ffffff8009203c84>] migrate_pages+0xe0/0x890
[<ffffff8009983548>] aml_alloc_contig_migrate_range+0x98/0x150
[<ffffff8009983788>] cma_boost_work_func+0x188/0x26c
[<ffffff80090c53e8>] kthread+0x10c/0x120
[<ffffff80090836e0>] ret_from_fork+0x10/0x30

Change-Id: Iada340b48dcb2ba2ebf7570a15cec21553fd0d0a
Signed-off-by: Bang Peng <bang.peng@amlogic.com>
6 years agohdmitx: fix frac_rate flag changed when setting mode
Yi Zhou [Thu, 3 May 2018 07:22:27 +0000 (15:22 +0800)]
hdmitx: fix frac_rate flag changed when setting mode

PD#165548: hdmitx: fix frac_rate flag changed when setting mode

Change-Id: Ie6d96ec6c7f58d17f02e241aa0aa122c7db1c0a2
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
6 years agosd: open the macro of sd_uart func.
Nan Li [Thu, 3 May 2018 07:06:51 +0000 (15:06 +0800)]
sd: open the macro of sd_uart func.

PD#165593: open the macro of sd_uart func.

Change-Id: Icf7c4c2faf7297a1da0bda47b4c648bb49faac2a
Signed-off-by: Nan Li <nan.li@amlogic.com>
6 years agodts: g12a: add system led control for u200 [2/2]
bichao.zheng [Thu, 26 Apr 2018 06:03:40 +0000 (14:03 +0800)]
dts: g12a: add system led control for u200 [2/2]

PD#165027: gpio-led: g12a_s905d2_u200 add system led

1.Turns on green light when booting and resume.
2.Turns off green light,turns on red light when suspend and shutdown

Change-Id: I170b4745b320a5525fe128c025f2670103950922
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
6 years agovideo_keeper: fixed unexpected green screen when seek
Hui Zhang [Thu, 3 May 2018 09:53:49 +0000 (17:53 +0800)]
video_keeper: fixed unexpected green screen when seek

PD#162351:
when start to toggle frame, the disable video cmd is set,
and seek immediately, play will be quit before enable video,
so keep failed and cur_dispbuf is uncertain, it may cause
unexpected green screen after seek

Change-Id: I62526b3dda0256d7a9476d378a13baffb4785bd6
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
6 years agocodec_mm: fixed scatter cached bug
Hui Zhang [Thu, 3 May 2018 09:43:44 +0000 (17:43 +0800)]
codec_mm: fixed scatter cached bug

PD#159652: it may occur in tvp mode, no tvp may a lost less.
some free slot not insert free list after first alloc.
this leads to a lot of wasted memory

Change-Id: Ia62d7f661ee5bc1563cac0980da604e5d8356113
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
6 years agodv: maintain previous md when md parser error to fix red screen
zhilei.wu [Thu, 3 May 2018 08:21:45 +0000 (16:21 +0800)]
dv: maintain previous md when md parser error to fix red screen

PD#157814: dv: maintain previous md when md parser error to fix red screen

Change-Id: Ie1b0c556ae65d275fdbd074356f633485bc5217a
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
6 years agoemmc: modify emmc shutdown time too long
Nan Li [Fri, 20 Apr 2018 05:53:51 +0000 (13:53 +0800)]
emmc: modify emmc shutdown time too long

PD#164859: modify emmc shutdown time too long.
Kingston EMMC08G-T227 POWER_OFF_LONG_TIME is 0xff,
shutdown time is too long.
modify mmc_delay 0 when POWER_OFF_LONG_TIME is 0xff.

Change-Id: Ie85be335a77d9ec82a12158996c2c773d113c41f
Signed-off-by: Nan Li <nan.li@amlogic.com>
6 years agodv: below 720p was chaged to HDR10 mode in Dolby
zhilei.wu [Thu, 12 Apr 2018 07:17:15 +0000 (15:17 +0800)]
dv: below 720p was chaged to HDR10 mode in Dolby

PD#163239: dv: below 720p was changed to HDR10 in Dolby

Change-Id: Ie6cedbc03582e4b36b6d3a8c628bbf41001862c2
Signed-off-by: zhilei.wu <zhilei.wu@amlogic.com>
6 years agovpp: adjust dmc for every YUV444 frame
Brian Zhu [Wed, 2 May 2018 14:57:04 +0000 (22:57 +0800)]
vpp: adjust dmc for every YUV444 frame

PD#165450: vpp: adjust dmc for every YUV444 frame

Change-Id: I07da12c337b2ba5b8af3b9d5c17e6a9ba080f83e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
6 years agoatv_demod: Modify atv io ctrl and memory alloc for atv crash.
nengwen.chen [Tue, 24 Apr 2018 08:51:22 +0000 (16:51 +0800)]
atv_demod: Modify atv io ctrl and memory alloc for atv crash.

PD#165008: Modify atv io ctrl and memory alloc for atv crash.

Change-Id: Ib6aa737ffad5d155022ad276ecf16ce2a7537138
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
6 years agodts: disable saradc feature for u221
Xingyu Chen [Wed, 2 May 2018 09:33:33 +0000 (17:33 +0800)]
dts: disable saradc feature for u221

PD#165535: dts: disable saradc feature for u221

Change-Id: I442690cfdae5c1964bcef3cfb7810421cfc77d01
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
6 years agopcie: disable pcie feature in u221.
Yue Wang [Wed, 2 May 2018 08:45:52 +0000 (16:45 +0800)]
pcie: disable pcie feature in u221.

PD#165524: pcie: disable pcie feature in u211.

Change-Id: I7fd8108a167a745622b0b4d0582ca25caf3f0286
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
6 years agoemmc: using rx delay to avoid invalid tuning
Yonghui Yu [Thu, 26 Apr 2018 15:10:57 +0000 (23:10 +0800)]
emmc: using rx delay to avoid invalid tuning

PD#165303: emmc: using rx delay to avoid invalid tuning

When emmc work at hs200@200Mhz, tuning result using fixed
adj mode may got a full window. The tuning result contains
invalid point. we have to adjust rx-delay to avoid it.

Change-Id: I33c5e234fe0f480180b0c9312641ba7a0a4e9cfb
Signed-off-by: Yonghui Yu <yonghui.yu@amlogic.com>
6 years agovdin: add force_color_range control[1/2]
yicheng shen [Thu, 26 Apr 2018 13:33:32 +0000 (21:33 +0800)]
vdin: add force_color_range control[1/2]

PD#165178: vdin: add force_color_range control[1/2]

Change-Id: I5f8a94ed0416867841bc8d1c744e176cced64fc6
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
6 years agodts: update q200/p241 buildroot dts
wenbiao zhang [Mon, 5 Feb 2018 02:16:30 +0000 (10:16 +0800)]
dts: update q200/p241 buildroot dts

PD#160248: dts: update q200/p241 buildroot dts

Change-Id: Ice6038373877ad2911e45a21888beed5a2f2f604
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
6 years agoosd: fix buildroot compile error issue
pengcheng chen [Sat, 28 Apr 2018 03:11:56 +0000 (11:11 +0800)]
osd: fix buildroot compile error issue

PD#163270: osd: fix buildroot compile error issue

Change-Id: I4745a302bc78a714a3f1cba464f4cfac86309378
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agohdmitx: add drm flag in hdmitx driver
Yi Zhou [Fri, 27 Apr 2018 09:00:15 +0000 (17:00 +0800)]
hdmitx: add drm flag in hdmitx driver

PD#165128: hdmitx: add drm flag in hdmitx driver

Change-Id: I56e4dc7ecf88a7ec330665d9dcff9744eac3d701
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
6 years agohdmirx: fix no HDR effect issue when the box is playing HDR videos
yicheng shen [Tue, 24 Apr 2018 07:53:50 +0000 (15:53 +0800)]
hdmirx: fix no HDR effect issue when the box is playing HDR videos

PD#164596: hdmirx: fix no HDR effect issue when the box is playing HDR videos

The previous irq_handle logic may miss some interrupts with a low probability.

Change-Id: I6ff1d8d9e25abc5b36dd60b7a479cab7700458ee
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
6 years agodi: mark di debug info default
Dezhi Kong [Tue, 24 Apr 2018 08:38:29 +0000 (16:38 +0800)]
di: mark di debug info default

PD#164230: di; mark di debug info default

Change-Id: Ib09afe967167f5974540232870e9c19e6c065bfb
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
6 years agor311: lcd: modify lvds panel backlight pwm polarity
Evoke Zhang [Sat, 28 Apr 2018 02:10:27 +0000 (10:10 +0800)]
r311: lcd: modify lvds panel backlight pwm polarity

PD#163711: r311: modify lvds panel backlight pwm polarity

Change-Id: Iaa9211554957cb0bed0794561192cc9e960d378c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agoldim: add iw7027 driver
Weiming Liu [Thu, 19 Apr 2018 02:16:52 +0000 (10:16 +0800)]
ldim: add iw7027 driver

PD#164701: ldim: add iw7027 driver

Change-Id: I75dd8e802b2eecf2d3d9d2f32935721f1a1bb285
Signed-off-by: Weiming Liu <weiming.liu@amlogic.com>
6 years agosr: fix calc issue
Dezhi Kong [Fri, 27 Apr 2018 10:44:54 +0000 (18:44 +0800)]
sr: fix calc issue

PD#159391: sr: fix calc issue

Change-Id: I4c52efe4fb09fd3b2516e8e46cef793a19a4003d
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
6 years agodi: fix pre timeout issue for pq load
kele bai [Thu, 26 Apr 2018 13:08:08 +0000 (21:08 +0800)]
di: fix pre timeout issue for pq load

PD#165280: di: fix timeout issue for pq load

1) freerun pre clock
2) skip ctrl&enable regsiters loaded from pq db

Change-Id: If9a5c7923195b29f7cef0cb97aaa2cc4c2533ff2
Signed-off-by: kele bai <kele.bai@amlogic.com>
6 years agodts: q201: fix osd driver probe fail issue
pengcheng chen [Fri, 27 Apr 2018 09:05:29 +0000 (17:05 +0800)]
dts: q201: fix osd driver probe fail issue

PD#163270: osd: fix q201 osd driver probe fail issue

Change-Id: I41276e09367079bafdbfedaea41cf8484815ac33
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>