yu.zhang [Wed, 16 Jan 2019 08:48:32 +0000 (16:48 +0800)]
dts: add ir cut control GPIO to g12b_a311d_w400_buildroot.dts [1/1]
PD#SWPL-4272
Problem:
g12b_a311d_w400_buildroot.dts do not include add ir cut control GPIO
Solution:
add ir cut control GPIO to g12b_a311d_w400_buildroot.dts
Verify:
g12b_a311d_w400_buildroot
Change-Id: I771ea08ad6ab189060079b820a471e059b5eb72a
Signed-off-by: yu.zhang <yu.zhang@amlogic.com>
Pengcheng Chen [Thu, 3 Jan 2019 07:50:50 +0000 (15:50 +0800)]
ge2d: add ge2d dma_buf support [1/2]
PD#SWPL-4036
Problem:
don't support dma_buf
Solution:
add ge2d dma_buf support
Verify:
test pass on w400
Change-Id: I1277d04fb30753e579d5edc5f46f2406dc27217a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Xing Wang [Tue, 15 Jan 2019 09:15:34 +0000 (17:15 +0800)]
dts: tl1: enable resample for tl1 [1/2]
PD#SWPL-3365
Problem:
not resample for audio in, so output in wrong sample rate
Solution:
1. enable resample in dts
2. fix to check whether resample is needed
Verify:
x301
Change-Id: I99238cc21a00ab53df6a1f8ab1703bc9ab48cbaa
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Zhiwei Yuan [Mon, 14 Jan 2019 10:38:15 +0000 (18:38 +0800)]
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>
Yi Zhou [Tue, 15 Jan 2019 07:31:13 +0000 (15:31 +0800)]
dv: close afbc2 when playing sources with unnecessary el [1/1]
PD#SWPL-915
Problem:
DOLBY only sets the enhancement for the first frame ->
Vd sets cur_dispubf2 according to enhance ->
codec_mm keeps the last frame according to cur_dispbuf2,
so it fails -> AFBC2 access to the released content causes the trigger.
Solution:
close afbc2
Verify:
r321
Change-Id: I03c431a6ea11b8aabf97b1f0b21f717024be2f62
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
MingLiang Dong [Wed, 16 Jan 2019 06:36:29 +0000 (01:36 -0500)]
amvecm: sdr2hdr function set by uplayer, driver default disable [1/1]
PD#SWPL-4255
Problem:
UI disable SDR TO HDR, reboot BOX,
TV flicker white and then display ok when connect hdr tv
Solution:
dr2hdr function set by uplayer, kernel default disable
Verify:
verify on G12A
Change-Id: Iea5a1e0be9b5665bb7deb785b6b5faa702ef1664
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Ruixuan Li [Tue, 8 Jan 2019 10:33:59 +0000 (18:33 +0800)]
emmc: modify dtb malloc method [1/1]
PD#SWPL-3951
Problem:
buffer malloc for dtb may failed
Solution:
malloc may sleep to wait for enough memory
Verify:
pass on p212
Change-Id: Ib4c266c17140d2a6abf2aea6c02b2ff591f0fe08
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
Jiamin Ma [Mon, 14 Jan 2019 10:56:54 +0000 (18:56 +0800)]
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>
MingLiang Dong [Mon, 14 Jan 2019 09:59:00 +0000 (04:59 -0500)]
amvecm: add disable gamma pattern [1/1]
PD#TV-2138
Problem:
after set gamma pattern, pattern can not resume
Solution:
add disable gamma pattern cmd
Verify:
verify on TL1
Change-Id: I5b123dce185c5f80e21b5e5e4a18ad65f7db626b
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Mon, 14 Jan 2019 06:07:07 +0000 (01:07 -0500)]
amvecm: DNLP curve read error [1/1]
PD#SWPL-4139
Problem:
DNLP curve buffer is not clean
Solution:
memset dnlp curve buf 0
Verify:
verify on TL1
Change-Id: Ibf37a8bfa52cdcb2d8c848c94a0d32d0391c8742
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Yi Zhou [Fri, 11 Jan 2019 03:31:16 +0000 (11:31 +0800)]
dv: keep dv enable when connecting to sdr TV [1/1]
PD#SWPL-3226
Problem:
turn off the dv core, the osd flutters
Solution:
keeping core2 open when dv enable under sdr TV
Verify:
u212
Change-Id: Idf57c6e67676fb5eec944e543cb596247c932df4
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
shuanglong.wang [Thu, 10 Jan 2019 13:12:12 +0000 (21:12 +0800)]
video: omx get first frame toggoled flag [1/2]
PD#SWPL-4048
Problem:
omx can not detect first frame have toggled
Solution:
omx get first frame toggoled flag
Verify:
verify by p212
Change-Id: I632824390287dd0257dca23a009ff8851054f68d
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
Guosong Zhou [Sat, 5 Jan 2019 07:17:20 +0000 (02:17 -0500)]
camera: support the dvp camera [1/1]
PD#SWPL-2133
Problem:
don't support dvp camera
Solution:
add dvp camera driver
Verify:
verify by u200
Change-Id: I8517913e0c3724247b396e8d054d6a4541a1993a
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Kaifu Hu [Tue, 15 Jan 2019 06:43:08 +0000 (14:43 +0800)]
hdmi: fix uboot logo flash [1/2]
PD#SWPL-4194
Problem:
Systemcontorl set display mode when attr is difference
Solution:
Fix color space property parser
Verify:
G12A/U200
Change-Id: Iddbcbbf3925b175833f534a287de413315ca1170
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Jian Cao [Fri, 11 Jan 2019 06:30:40 +0000 (14:30 +0800)]
ge2d: add enhanced hsc adv num support [2/2]
PD#SWPL-4075
Problem:
add enhanced hsc adv num support
Solution:
add enhanced hsc adv num support
Verify:
verified on g12b-w400
Change-Id: I13b52a0b10e8f3830c57ff691ef3472a34cbe89c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jian Cao [Thu, 10 Jan 2019 08:55:53 +0000 (16:55 +0800)]
ge2d: fix strechblit issue for GE2D [1/2]
PD#SWPL-4075
Problem:
dst data is not normal by using strechblit function
such as 1920x1080 --> 640x360
Solution:
add bit width restriction for
horizontal scaler initial phase
Verify:
verified on g12b-w400
Change-Id: Ibcd85cc08f49254e90100beb952e711736531134
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jian Cao [Thu, 3 Jan 2019 12:36:22 +0000 (20:36 +0800)]
ge2d: add support for nv16 [1/1]
PD#SWPL-3876
Problem:
add support for nv16
Solution:
add support for nv16
Verify:
verified on g12a-u200
Change-Id: I34c9179ed4fde43b9bd00caa9505ea4c8ee78eb0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Lei Yang [Thu, 10 Jan 2019 09:32:17 +0000 (17:32 +0800)]
hdmirx: add spin lock when R/D reg [1/1]
PD#SWPL-4073
Problem:
warning of CPU Tainted
Solution:
add spin lock when R/D reg
Verify:
verify by marconi
Change-Id: I8f47666f41c0ba3a010631f5d71416aad0e43beb
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Jihong Sui [Thu, 10 Jan 2019 12:48:47 +0000 (20:48 +0800)]
deinterlace: change holdline default value to 8 [1/1]
PD#SWPL-3384
Problem:
DI post holdline setting is not map with video
Solution:
change holdline to 8
Verify:
verified by gxl
Change-Id: Ia352604086cefb4c69d5dd268d12741c4cf4f173
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Yong Qin [Thu, 10 Jan 2019 06:52:03 +0000 (14:52 +0800)]
cec: framework suspend condition error [1/1]
PD#SWPL-3715
Problem:
set startup to TV,when DVD power on,the platform
autoshutdown after enter HDMI source
Solution:
suspend condition is wrong when not in suspend mode.
Verify:
TL1 (X301_T962x2)
Change-Id: I057cfe6b9a7f5806fa54eac063c02a7e3dc0179e
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Shuai Li [Sun, 13 Jan 2019 15:03:48 +0000 (23:03 +0800)]
audio: add stream mute and continuous clk [1/1]
PD#SWPL-2952
Problem:
Pop noise could be heard
when switching between sources.
Solution:
1. Add stream digital mute functions.
2. continuous clock to eliminate
the clk reset issue.
Verify:
Local verified.
Change-Id: I372f4c03aaf875d75aa903c9c2dfda00619af000
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Xiaoming Sui [Mon, 14 Jan 2019 08:55:27 +0000 (16:55 +0800)]
dts: tl1: add clk_81 to enable demux pcr [1/1]
PD#SWPL-3103
Problem:
dolby files have no sounds after replay
Solution:
in x301, the clk_81 is null when init, it is releated
to demux pcr, so add clk_81 to enable demux pcr
Verify:
verify by X301
Change-Id: Id11549fe7a8b156206ac7004e31575fd5d309254
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
long yu [Mon, 14 Jan 2019 03:23:47 +0000 (11:23 +0800)]
storage: emmc: Adjust the tuning mode of controller for HS200 [1/1]
PD#SWPL-2634
Problem:
eyetest mode is a little unstable
Solution:
adjust the tuning mode of the fixed adj
Verify:
R311
Change-Id: I6112e0078bf013d2a4cfe4ff04210f1d15e3439d
Signed-off-by: long yu <long.yu@amlogic.com>
Pengcheng Chen [Tue, 18 Dec 2018 05:15:36 +0000 (13:15 +0800)]
osd: fix some fence issue [2/2]
PD#SWPL-3348
Problem:
fix some fence issue
Solution:
1. add blank operation to FBIOPUT_OSD_SYNC_RENDER_ADD
2. move canvas_config to osd_setting_blend
Verify:
verify by franklin
Change-Id: I5d1ebb697ff542e5c36dab0dae9b322ec4e1fa16
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Cheng Tong [Mon, 14 Jan 2019 06:33:07 +0000 (14:33 +0800)]
dts: u212 2G ddr add dvb dts config [1/1]
PD#SWPL-4140
Problem:
u212 2G dts didn't have dvb config
Solution:
add dvb dts config
defalut commented out as reference
Verify:
Verify by Android P franklin
Change-Id: I1ffc631ff0a729e6701fd8cd17b28f70666b1e30
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
tao zeng [Tue, 27 Nov 2018 04:26:53 +0000 (12:26 +0800)]
mm: add cma debug interafce [1/1]
PD#GH-17
Problem:
sometimes cma allocation failed but it's hard to get
failed log and need recompile code.
Solution:
Add /proc/cma_debug to open cma debug message dynamic.
By default, no debug message is printed. If you write a
value large than 0 to this node, debug message will be
printed.
Verify:
p212
Change-Id: Ibcfd1d48be5f33f674f09df713dc2e493748c405
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Tao Zeng [Thu, 10 Jan 2019 02:35:14 +0000 (10:35 +0800)]
mm: fix dead loop if signal pending for cma alloc task [1/1]
PD#GH-17
Problem:
If a task be killed during CMA allocation, then it will abort
cma allocation in function compact_unlock_should_abort. But in
function aml_cma_alloc_range, it will return -EBUSY. Which cause
cma allocation loop won't exit and run again and again.
Solution:
return -EINT for this case to exit cma allocaion loop.
Verify:
newman platform
Change-Id: I6559bb184fc035ae68c8ccd001407767e1e22f0c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
long yu [Fri, 11 Jan 2019 06:55:35 +0000 (14:55 +0800)]
storage: emmc: Set core_phase to 2 for HS200 mode [1/1]
PD#TV-2112
Problem:
eMMC timing test failed on item tISU
Solution:
set core_phase to 2 for HS200 busmode
Verify:
TL1-T962X2_X301
Change-Id: I1025b6b6b66b2591b7a8faca68ff1852eeb9b85c
Signed-off-by: long yu <long.yu@amlogic.com>
Xing Wang [Sat, 29 Dec 2018 11:14:23 +0000 (19:14 +0800)]
audio: auge: fix sharebuffer channel map [1/1]
PD#SWPL-2645
Problem:
play ddp source, then play pcm source, no sound
Solution:
1. fix same source control and channel map issue
2. i2s 8ch, spdif 2ch, channels are not mapped, make spdif 8 channel mask
3. when same source used, keep mpll use same mpll
Verify:
x301
Change-Id: I2fe4bbcbcbfff0a1c1a6cebf61d1da5aba9b7a9d
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Pengcheng Chen [Fri, 11 Jan 2019 09:40:36 +0000 (17:40 +0800)]
osd: afbc decode error when write afbc start before afbc reset [1/1]
PD#SWPL-4016
Problem:
afbc decode error when write afbc start before afbc reset reg
Solution:
replace invalid reg when found afbc start before afbc reset reg
Verify:
test pass on franklin
Change-Id: Ia01608fe4d5c6132d0b54e63c48560e9e77bfe0a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Bencheng Jing [Fri, 11 Jan 2019 06:32:30 +0000 (14:32 +0800)]
amvecm: modify gamma_init to avoid lcd black screen after resume [1/1]
PD#SWPL-4101
Problem:
lcd black screen after resume
Solution:
init gamma data
Verify:
x301
Change-Id: Ibc04a96f00948bc4780c3eb1452bca1c6ae92961
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Kaifu Hu [Thu, 10 Jan 2019 07:14:49 +0000 (15:14 +0800)]
hdmi: support 1440x2560p60hz modes [1/1]
PD#IPTV-1032
Problem:
Need support 1440x2560p60hz
Solution:
Porting VESA code and 1440x2560p60hz
Verify:
g12b/w400
Change-Id: I3cf38bebc29b76aed50fe2ced7b47e27f2d1af06
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Yi Zhou [Fri, 11 Jan 2019 02:49:11 +0000 (10:49 +0800)]
dv: mute the first frame when playing video [1/1]
PD#SWPL-4091
Problem:
due to the ip bug, the first frame has dirty data
Solution:
mute the first frame
Verify:
u212
Change-Id: Ia21e96c338b22e25d1073f27083f10634a09edad
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
yicheng shen [Tue, 8 Jan 2019 11:02:09 +0000 (06:02 -0500)]
hdmirx: close hdcp2.2 when shut down. [4/4]
PD#SWPL-3828
Problem:
hdcp22 access ddr when power shutdown
Solution:
need notify hdcp22 close when power shutdown
Verify:
Local
Change-Id: Iffead6b2dfdd97e6e7ad16e856cb09b42e3783d1
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Shuai Li [Fri, 11 Jan 2019 04:53:44 +0000 (12:53 +0800)]
audio: fix no audio after resume of
ad82584f [1/1]
PD#SWPL-4090
Problem:
No audio after suspend and resume.
Suspend won't save the mute value,
and after resume, it could not be restored.
Solution:
Add a mute val to save when suspend,
and after resume, restore the mute value.
Verify:
Verified by QA.
Change-Id: Ie24bb11f5c565048391846a66b5d12bab1d55666
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
qiu.zeng [Wed, 9 Jan 2019 07:09:05 +0000 (15:09 +0800)]
BT: bt mac write [1/3]
PD#OTT-1590
Problem:
bt mac write
Solution:
Accept the MAC address from uboot and create nodes
Verify:
Verifying on Public Edition P212
Change-Id: I77ff3543aff937adc07bf3a0933a350c27e9dd20
Signed-off-by: Qiu Zeng <qiu.zeng@amlogic.com>
Dianzhong Huo [Thu, 10 Jan 2019 09:06:14 +0000 (17:06 +0800)]
galcore: removed reserve memory for galcore driver [1/1]
PD#SWPL-4087
Problem:
System Memory needs to be optimized.
Solution:
Removed reserve memory for galcore.
Verify:
local
Change-Id: I4fc1d7690b6beda1055aebe26570a05f28474813
Signed-off-by: Dianzhong Huo <dianzhong.huo@amlogic.com>
Zhiwei Yuan [Thu, 10 Jan 2019 05:52:36 +0000 (13:52 +0800)]
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>
Zhiwei Yuan [Wed, 26 Dec 2018 10:11:42 +0000 (18:11 +0800)]
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>
MingLiang Dong [Wed, 9 Jan 2019 09:22:26 +0000 (04:22 -0500)]
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>
MingLiang Dong [Tue, 8 Jan 2019 13:23:33 +0000 (08:23 -0500)]
hdr: sdr2hdr on/off switch, osd flutter [1/1]
PD#SWPL-3038
Problem:
sdr2hdr on/off switch, osd flutter
Solution:
always enable osd1 hdr, if osd hdr bypass, set hdr bypass parameters
Verify:
verify on G12A
Change-Id: I4d5ae0588b06c4989b3a4f22b00ba41ef80be0d0
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Nian Jing [Mon, 24 Dec 2018 09:33:51 +0000 (17:33 +0800)]
tvafe: add atv format get func [1/1]
PD#TV-1586
Problem:
no atv format get func
Solution:
Add atv format get func
Verify:
verified by x301
Change-Id: Ia43d5a67370d2b025e1b32833a5408a5e7d251d4
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Shuai Li [Tue, 8 Jan 2019 14:16:41 +0000 (22:16 +0800)]
audio: fix pop snd after bootup [2/2]
PD#SWPL-3178
Problem:
output big pop noise after system boot up.
Solution:
Add zero and then unmute the stream.
NOTICE: user should unmute the
AD82584F after boot.
Verify:
local verified.
Change-Id: I21555318f9347c5340a28f7e5cf0e3e2cde849a0
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Guosong Zhou [Sat, 29 Dec 2018 08:25:55 +0000 (03:25 -0500)]
amlvideo2: fix record apk exit [1/1]
PD#SWPL-209
Problem:
record apk exit when recording
Solution:
set right start vdin flag
Verify:
test pass on P321
Change-Id: I0130b5a898392d75d500987f8087dbe9ab778372
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
MingLiang Dong [Wed, 2 Jan 2019 10:11:43 +0000 (05:11 -0500)]
amvecm: cm parameters curve is wrong after disable/enable [1/1]
PD#SWPL-3809
Problem:
cm parameters curve is wrong after disable/enable
Solution:
TV cm parameters from pq db, don't need set by kernel
Verify:
verify on TL1
Change-Id: I9c87c414e009d04c6a4fdf8caf8e9bb429376d56
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Tue, 1 Jan 2019 06:30:07 +0000 (01:30 -0500)]
amvecm: local contrast default low effect parameters [1/1]
PD#SWPL-3779
Problem:
local contrast default parameters is too high
Solution:
local contrast default low effect parameters
Verify:
verify on TL1
Change-Id: Ib7ec9c03284a68057f8cf245a2be8ad2e81c0af3
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Tue, 1 Jan 2019 03:27:47 +0000 (22:27 -0500)]
amvecm: Flash a horizontal line when enable local contrast function [1/1]
PD#SWPL-3563
Problem:
1.Flash a horizontal line in the bottom of the screen in
HDMI with 4K 50/60Hz signal after enable local contrast function
2.local contrast block is obvious when platform reboot
Solution:
1.Local contrast write curve with RDMA
2.lc init reset lc module
Verify:
verify on TL1
Change-Id: Ifd4218e3688d5b0728a6fcba81558467a1c3e05f
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Evoke Zhang [Tue, 8 Jan 2019 05:29:50 +0000 (00:29 -0500)]
lcd: optimize tcon type for extensible usage [1/1]
PD#SWPL-3957
Problem:
tcon_type need extensible usage for special case
Solution:
tcon_type change to hex value
Verify:
x301
Change-Id: I26cb58ffc1cd2f525c8cf0f7c08b0d9cf66766e5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Tao Zeng [Fri, 4 Jan 2019 09:04:45 +0000 (17:04 +0800)]
ramdump: add ramdump support for TL1 [4/4]
PD#TV-1924
Problem:
On TL1, ramdump is not enabled.
Solution:
Add ramdump support for TL1 chips in kernel.
Also add sticky register config for other chips
Verify:
tl1_x301_v1
Change-Id: I67a11d128343ff9e615377b19914a3fc77b7acef
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Evoke Zhang [Mon, 7 Jan 2019 08:40:44 +0000 (03:40 -0500)]
lcd: add tablet mode lvds & vbyone support for tl1 [1/1]
PD#TV-2080
Problem:
need tablet mode support for tl1
Solution:
add tablet mode support for tl1
Verify:
x301
Change-Id: Ic7a6ae94255b6152236ab0d991bce9d748d670ac
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
shuanglong.wang [Tue, 9 Oct 2018 09:33:14 +0000 (17:33 +0800)]
video: drain and hold frame when pattern broken. [1/1]
PD#SWPL-795
Problem:
video video caton
Solution:
1. For 23.97 and 29.97fps, broken patten case, such as 2323..2233..2323
(23.97), 222..2213(2)22(29.97) will hold one sync to toggle.
For 23.97 and 29.97fps, broken patten case, such as 2323..233223...2323
(23.97), 222..223122...22(29.97), will drain frame one sync to toggle.
2. For 24 and 30fps, every 16.6s will occur pattern broken, one frame
will display less vsync. For 24, will happen
22221222, for 30, will
happen
3232223232. Here will escape one sync and also hold one sync to
ensure pattern detection not broken, which others will lead patten
broken, and nothold or drain frame, then frame frezee or lost will
happen.
3. add pts-trace debug. Follow command could help debug video av sync.
echo 0x400000 > /sys/module/amvideo/parameters/debug_flag
echo 1,1,1 > /sys/kernel/debug/video/pts_log_enable
Above command will print too many debug info, you can use follow
echo 0 > /proc/sys/kernel/printk && dmesg -c > /dev/null
dmesg > kernel.log
Verify:
verify by p212
Change-Id: Icc03faec772937c273ca74be67f5c52ae25fea39
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
rongrong zhou [Mon, 7 Jan 2019 08:14:56 +0000 (16:14 +0800)]
video: disable video in early suspend [1/1]
PD#SWPL-2736
Problem:
suspend green screen
Solution:
disable video in early suspend
Verify:
Ampere
Change-Id: If5ad13d2964b1541791d95ffb239293ab1e4ffb6
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
Hui Zhang [Fri, 4 Jan 2019 06:35:51 +0000 (14:35 +0800)]
dts: release memory of the reserved 1MB [2/2]
PD#SWPL-2372
Problem:
phy addr (0 - 0x100000) is reserved before. once it is release for system use.
it will be polluted by video decoder (avs2 & vp9)
Solution:
init hw addr (not 0) in decoder to avoid 0 address polluted.
then release reserved 1MB memory space in dts
Verify:
U212
Change-Id: I36f6caa09267ab1180ff12cfed9b9c7befff2842
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
shihong.zheng [Tue, 6 Nov 2018 12:29:19 +0000 (20:29 +0800)]
canvas: get canvas w/h for frame check [2/2]
PD#SWPL-1738
Problem:
support frame crc32 check and dump yuv.
Solution:
support frame check and yuv dump in media_module, add interface
to get canvas width/height.
Verify:
u212
Change-Id: Ieadc95521c4a21bec5685f8c8926d3bb2f92637b
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
Yi Zhou [Tue, 8 Jan 2019 05:59:32 +0000 (13:59 +0800)]
dv: set g12a/b core run_mode_delay as 0 [1/1]
PD#SWPL-3890
Problem:
when starting to play video, the manu bar shakes
Solution:
stb core don't need run mode delay.
Verify:
u212
Change-Id: If8634cfd33598343cef84b93d4757f5d5c9c72e5
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Yi Zhou [Tue, 8 Jan 2019 01:24:45 +0000 (09:24 +0800)]
dv: add compatibility to prevent panic [1/1]
PD#SWPL-3889
Problem:
when the metadata parsed by decode is error, the array will overflow
in dv module.
Solution:
dolby type just appears once in metadata. After parsing dolby type,
breaking the circulation directly.
Verify:
U212
Change-Id: I715e28c1b9a8aab2fcb4059dd132b5b98c043f31
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Shaochan Liu [Thu, 3 Jan 2019 06:57:23 +0000 (14:57 +0800)]
lcd: The panel's backlight is not stable with VAD enabled platform [1/1]
PD#SWPL-3713
Problem:
The panel's backlight is not stable when
enter standby mode after do suspend with
VAD enabled platform
Solution:
bypass undefind resume in lcd resume early
Verify:
verify by t962x2-x301
Change-Id: I8f040de9bebf3ccbdd3b2da3a46540fe676958f6
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Bencheng Jing [Thu, 27 Dec 2018 11:45:56 +0000 (19:45 +0800)]
amvecm: disable gamma init in aml_vecm_probe [1/1]
PD#SWPL-3143
Problem:
boot logo stretched
Solution:
disable gamma init in aml_vecm_probe
Verify:
x301
Change-Id: I01a5bb609536edd2875ecad0613565a8382f9aef
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
yicheng shen [Fri, 4 Jan 2019 08:06:49 +0000 (03:06 -0500)]
hdmirx: reduce the cpu occupancy rate of hdcp_rx22 [1/2]
PD#SWPL-3360
Problem:
hdcp_rx22 ocupy much of CPU resources.
Solution:
Optimize the method of hdcp_rx22 polling-rx-status function.
Verify:
Local
Change-Id: If1c54b9cc219e32f349b4f4c555fb3fbd3539491
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Xuhua Zhang [Tue, 8 Jan 2019 07:35:23 +0000 (15:35 +0800)]
tvin: vdin: fix TXLX ATv channel switching crash [1/1]
PD#SWPL-3964
Problem:
ATv channel switching crash
Solution:
stop vdin, close afbc
need judge platform, there is not afbce on txlx
Verify:
verify by einstein
Change-Id: Ibcff1da47b9fdca7e1758b0d45e7d6800bfc8080
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Rongjun Chen [Fri, 4 Jan 2019 03:55:48 +0000 (11:55 +0800)]
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>
Xuhua Zhang [Thu, 3 Jan 2019 07:30:17 +0000 (15:30 +0800)]
vdin: tl1: add viu loop back vpp path [1/1]
PD#SWPL-2676
Problem:
tl1 viu loop back error
Solution:
add viu loop back vpp path
Verify:
TL1 X301
Change-Id: I4069f6bbd6672d89bd93a0c8b275cfffc273c427
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Xuhua Zhang [Fri, 28 Dec 2018 06:58:49 +0000 (14:58 +0800)]
tvin: vdin: add vdin afbce memory power ctrl [1/1]
PD#SWPL-3635
Problem:
Miss vdin afbce memory power ctrl.
Solution:
Add vdin afbce memory power ctrl.
Verify:
x301_tl1
Change-Id: I94946e3d16027083688735d68b9d023b6bc5c8bf
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Evoke Zhang [Thu, 3 Jan 2019 11:40:26 +0000 (06:40 -0500)]
backlight: ldim: add analog pwm support [1/1]
PD#SWPL-3702
Problem:
local dimming need analog pwm function
Solution:
add analog pwm support
Verify:
x301
Change-Id: I502bb7505947c1f3670f44d0d307f9546f1d57fd
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Yong Qin [Mon, 7 Jan 2019 07:59:00 +0000 (15:59 +0800)]
cec: too more log when cec bus error [1/1]
PD#SWPL-3921
Problem:
Too more log when cec bus error
Solution:
print the log at log level 1
Verify:
verified on tl1 android p
Change-Id: I8273e0a46470d59160f1ac8dc71494a9abb19b0f
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Zhuo Wang [Tue, 25 Dec 2018 08:16:50 +0000 (16:16 +0800)]
ethernet: setup tx_amp from efuse [1/1]
PD#SWPL-3552
Problem:
tx_v show different for each chip
Solution:
add new function to setup
Verify:
co-work with analog on G12B SOCKET board
Change-Id: I1f2711b9414464c7044efc3f3128cc3c3808cfc5
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Shunzhou Jiang [Fri, 21 Dec 2018 09:12:01 +0000 (17:12 +0800)]
mailbox: mailbox: add eth calc data read interface [2/2]
PD#SWPL-3498
Problem:
ethernet need read data from efuse
Solution:
add interface to read data
Verify:
g12a_skt
Change-Id: I7ce7ffe2f194c875155e6db8acb55eb8ac5500a0
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Hang Cheng [Thu, 27 Dec 2018 05:40:12 +0000 (13:40 +0800)]
hdmirx: set rxsense sync with hpd [1/1]
PD#SWPL-3540
Problem:
rxsense is high ahead off hpd high, some device
may start hdcp, but hdcp auth always fail
Solution:
set rxsense sync with hpd
Verify:
TL1
Change-Id: I94b4c4f188587e15bac6aceb70803a3aa9082d3b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Xingyu Chen [Fri, 4 Jan 2019 05:24:22 +0000 (13:24 +0800)]
dts: add ramoops support for tl1 [1/1]
PD#SWPL-3868
Problem:
add ramoops support for tl1
Solution:
alloc reserved memory to save ramoops information in DTS
Verify:
test pass on tl1_skt
Change-Id: Ib5faf2ac54663f1e9eb431d2caa800daf244699e
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Evoke Zhang [Thu, 27 Dec 2018 09:41:44 +0000 (17:41 +0800)]
lcd: fix tcon crash with reserved-memory fail and tcon_clk mistake [2/2]
PD#SWPL-3664
Problem:
tcon will crash in kernel
Solution:
1.prior meson-fb & lcd_tcon reserved-memory
2.fix tcon_clk not enable mistake when use panel ini
Verify:
x301
Change-Id: I97baec22ecabea393f9b0d712456923720fac972
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Zhiwei Yuan [Mon, 24 Dec 2018 12:40:35 +0000 (20:40 +0800)]
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>
Yong Qin [Thu, 3 Jan 2019 09:32:28 +0000 (17:32 +0800)]
cec: remove print [1/1]
PD#SWPL-3750
Problem:
when debug on, too more log
Solution:
delete
Verify:
verified on android p
Change-Id: Iabaaa4fa205da5453a303c98bce8b71b55c5f77b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
yicheng shen [Mon, 24 Dec 2018 05:54:59 +0000 (00:54 -0500)]
hdmirx: add allm mode. [1/2]
PD#SWPL-1619
Problem:
need support allm mode
Solution:
add allm mode
Verify:
None
Change-Id: I34d05cfbef4b3fccbbb7c6b35fa613cda9b9cf36
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Evoke Zhang [Tue, 20 Nov 2018 10:38:38 +0000 (18:38 +0800)]
backlight: update ldim setting for tl1 [1/1]
PD#SWPL-2762
Problem:
ldim is changed for tl1
Solution:
update ldim setting for tl1
Verify:
x301
Change-Id: I21b10f27f4d1776db664c62fa7358b38801c7f53
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Xingyu Chen [Wed, 2 Jan 2019 05:09:59 +0000 (13:09 +0800)]
arm: dts: tl1: update the compatible string for timer node [1/1]
PD#SWPL-3791
Problem:
the compatible string with "arm,armv8-timer" is used for AARCH64, we
should use the compatible string with "arm,armv7-timer" for AARCH32
Solution:
update the compatible string for timer node
Verify:
test pass on x301
Change-Id: I17d0f84f61109e885c5584c2703e4256262b72ef
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Evoke Zhang [Tue, 25 Dec 2018 05:10:00 +0000 (13:10 +0800)]
lcd: update phy config for tl1 [1/1]
PD#SWPL-3109
Problem:
tl1 tcon phy config need update
Solution:
1.update tcon phy config for tl1
2.optimize phy config with independent file
Verify:
x301
Change-Id: I869cab8fc28fc9d323ca0365fc6eead1c6bc53d7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Guosong Zhou [Wed, 2 Jan 2019 11:00:30 +0000 (06:00 -0500)]
camera: add dvp camera [1/1]
PD#OTT-1204
Problem:
don't support dvp camera
Solution:
add dvp camera gc2145 camera driver
Verify:
test pass on U200
Change-Id: I5927d49a93952587af7bb460a5c405293d692153
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Kaifu Hu [Wed, 2 Jan 2019 02:54:09 +0000 (10:54 +0800)]
hdmitx: disable spead spectrum when 4k mode [1/1]
PD#SWPL-3696
Problem:
Flash black screen when 4k mode
Solution:
Disable spead spectrum when 4k mode
Verify:
GXL/P215
Change-Id: I131633c26492548146cdc6e75a4d65b91cfd77ad
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Lei Qian [Wed, 2 Jan 2019 07:59:53 +0000 (15:59 +0800)]
dts: txlx: reserve 1M memory for codec mm [1/1]
PD#SWPL-2735
Problem:
codec will occupy the first 1M memory with unknown reason.
Solution:
reserve 1M memory for codec mm until the real reason is found.
Verify:
verify by einstein
Change-Id: Ic21bfa59e74d21ae8f6b4477470b9d719bebc595
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
nengwen.chen [Fri, 21 Dec 2018 05:18:02 +0000 (13:18 +0800)]
atv_demod: modify atv demod code [1/1]
PD#SWPL-3469
Problem:
1.add mono audio only config.
2.fix offset -0.5M lose channel when scanning.
3.fix a2 audio mono mode detection threshold.
4.add audio detection when scanning.
5.Ver: V2.06.
Solution:
add mono audio only config
Verify:
verified by einstein
Change-Id: I774d7aa42ffbfcbec58b9b21f05368c5166331c8
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Tao Zeng [Wed, 2 Jan 2019 06:47:13 +0000 (14:47 +0800)]
mm: fix range mistake for virt_check [1/1]
PD#SWPL-3793
Problem:
Address 0xC0000000 is in lowmem, which should not be warned by
virt_check:d input of virt:
c0000000
~~~~~~~~
CPU: 1 PID: 5141 Comm: Binder:3297_5 Tainted: G O 4.9.113 #1
Hardware name: Generic DT based system
[<
c030e760>] (show_stack+0x20/0x24)
[<
c06ee8a8>] (dump_stack+0x90/0xac)
[<
c031c7b4>] (virt_check+0x64/0x68)
[<
c049c45c>] (__check_object_size+0x184/0x1f8)
[<
c07058c0>] (copy_page_to_iter+0x288/0x5b8)
[<
c04425dc>] (generic_file_read_iter+0x390/0xa48)
[<
c049f238>] (__vfs_read+0xec/0x13c)
[<
c04a00e0>] (vfs_read+0x9c/0x164)
[<
c05ce7e8>] (sdcardfs_read+0x28/0x50)
[<
c049f194>] (__vfs_read+0x48/0x13c)
[<
c04a00e0>] (vfs_read+0x9c/0x164)
[<
c04a13ac>] (SyS_read+0x5c/0xbc)
[<
c0308980>] (ret_fast_syscall+0x0/0x48)
Solution:
Not warning for 0xC0000000 if virt address is equal to it
Verify:
R311
Change-Id: I9a3f8efe89564f31f9a49ab4448323c93ddc761d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Nan Li [Fri, 28 Dec 2018 10:07:27 +0000 (18:07 +0800)]
sdio: optimize 1bit mode cfg [1/1]
PD#SWPL-3719
Problem:
optimize sdio 1bit cfg fail for dts.
Solution:
move MMC_PM_KEEP_POWER setting from
amlsd_get_host_caps(). so modify dts to
set 1bit mode.
Verify:
p212
Change-Id: I268f25a9550058e7bbf3562eec53c8cd92b58b1b
Signed-off-by: Nan Li <nan.li@amlogic.com>
Hui Zhang [Sat, 22 Dec 2018 08:55:43 +0000 (16:55 +0800)]
codec_mm: not to be blocked to wait scatter cache done [1/2]
PD#SWPL-2206
Problem:
decoding thread was blocked to wait scatter memory to be cached done. it
may take 30+ ms and lead to cts/vts fail
Solution:
not to wait scatter cached done. it save timing of system
Verify:
Verified U212
Change-Id: I75fa3e892e0b9b8023c07b62a31ebd43d3c92044
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
nengwen.chen [Tue, 1 Jan 2019 09:55:48 +0000 (17:55 +0800)]
camera: all sources are displayed as black screen except DTV.
PD#SWPL-3776
Problem:
all sources are displayed as black screen except DTV
Solution:
Revert "camera: add dvp camera [1/1]"
Verify:
verify by x301
Change-Id: I3f094ed18de4be382798515e5c68eb5505df2373
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Shaochan Liu [Sat, 29 Dec 2018 06:57:40 +0000 (14:57 +0800)]
lcd: modify lcd/power show debug node [1/1]
PD#SWPL-1005
Problem:
modify lcd/power show debug node
Solution:
1,modify lcd/power node to show lcd power on/off
Verify:
verified by t962x_r311
Change-Id: Ic2b293ac14a3139b572a2e36ac101f9f54da2139
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Lifeng Cao [Wed, 12 Dec 2018 03:22:07 +0000 (11:22 +0800)]
video: dv: Change omx pts upper and lower threshold for dv [3/3]
PD#SWPL-2465
Problem:
DV av-sync test diff between audio and video too big
Solution:
Change omx pts upper and lower threshold
Verify:
Test pass by S905X2-U212
Change-Id: I916773300b29a9b6368d7e2283effae2a6440d14
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
Xing Wang [Thu, 27 Dec 2018 12:58:52 +0000 (20:58 +0800)]
audio: fix no sound when atv switch to other source [1/1]
PD#SWPL-3440
Problem:
ATV switch to other source, such as DTV/HDMI/AV, no sound
Solution:
ATV switch to other source, atv demond is disabled when
audio is reading data, so it's blocked.
In normal, ATV sends audio data to FRATV,
then FRATV sends data to audio fifo, then to DDR.
If ATV stops to send audio data, no interrupt from FRATV to fifo,
no data is updated to DDR.
When exit from audio atv patch, it's a block signal to
wait in_read finished, but ATV is disabled
TimeCheckThread will check any routine is blocked,
if there is one, signal SIGABRT would rise and cause audio server restart
So we make a delay before ATV is disabled to waiting audio data is readed.
Verify:
x301
Change-Id: I47dc88d2c8565c16c739ffea69a88152fa4d5f13
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Guosong Zhou [Sat, 29 Dec 2018 02:17:04 +0000 (21:17 -0500)]
camera: add dvp camera [1/1]
PD#OTT-1204
Problem:
don't support dvp camera
Solution:
add dvp camera gc2145 camera driver
Verify:
test pass on U200
Change-Id: I0451160d013cd15b32a11469926fe8be4c35c466
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Xing Wang [Wed, 5 Dec 2018 15:12:54 +0000 (23:12 +0800)]
audio: auge: add vad driver [1/1]
PD#SWPL-2404
Problem:
VAD for wake up
Solution:
Add vad driver to fetch VAD buffer and ALSA buffer, in userspace, they
will be combined for wakeup engine
Verify:
x301
Change-Id: I3b4de5fdfe173ce18e58a187a3adeda601e226b3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Yao.Liu [Fri, 28 Dec 2018 12:38:21 +0000 (07:38 -0500)]
ion: add invalid cache function [1/1]
PD#SWPL-3736
Problem:
H265 encoder use ge2d to do format convert, ge2d dst
buffer is allocated from ion heap and is cached buffer.
The cache consistency problem caused encoded stream error.
Solution:
ION add invalid cache function, invalid cache before
CPU access cache buffer
Verify:
U212
Change-Id: Ib14f2a9ee5b536c3546c5957fd0505cacae45f80
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
Zhongfu Luo [Sat, 29 Dec 2018 05:12:08 +0000 (13:12 +0800)]
defendkey: change defendkey read function process [1/1]
PD#SWPL-3204
Problem:
GXL: need to fix bug for defendkey read function
Solution:
1.change defendkey read function process
Verify:
GXL skt board verify pass
Change-Id: I61c7e7074eefa1ab20bdb8fa31f970b39bfe5a1b
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
Zhongfu Luo [Fri, 28 Dec 2018 08:16:28 +0000 (16:16 +0800)]
defendkey: change defendkey reserved memory process [1/1]
PD#SWPL-3706
Problem:
GXL: defenkey cause system crash
Solution:
1.change defendkey reserved memory process
2.limit reserved memory region
Verify:
GXL skt board verify pass
Change-Id: I23c6fe861803de96eccec9b643824eeae2c2e564
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
Nanxin Qin [Wed, 26 Dec 2018 11:29:18 +0000 (19:29 +0800)]
codec_mm: add the flush cache away for the highmem [1/1]
PD#SWPL-3588
Problem:
bad using virt_to_pfn in stream_input ko
Solution:
add the flush cache away for the highmem.
Verify:
p212
Change-Id: I70fd18f97b5b91c9154b7eeb9f488d16113daf8d
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Nian Jing [Tue, 25 Dec 2018 08:24:04 +0000 (16:24 +0800)]
tvafe: fix black border for atv [1/1]
PD#SWPL-3573
Problem:
appear black border after unplug/plug signal
Solution:
reset de when nosignal
restore acd hsync when signal unstable
Verify:
verified by x301
Change-Id: Ia9e2e9dfb326061bd3b9b6f9a02be0d935cdf06f
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Xing Wang [Wed, 26 Dec 2018 11:42:37 +0000 (19:42 +0800)]
audio: codec: fix to resume ad82584's volume after suspend [1/1]
PD#SWPL-3456
Problem:
1) After suspend, volume is not resume
2) ARC connected, still sound out from spk
Solution:
1) save channel volume when suspend, then resume the volume
2) add mute mixer control for ad82584
Verify:
x301
Change-Id: Ic6e7502e3f9689cc2d1053295f26aaf4d5be2603
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
rongrong zhou [Tue, 11 Dec 2018 07:42:46 +0000 (15:42 +0800)]
dts: add netflix MGKID unify key [3/3]
PD#SWPL-2847
Problem:
add netflix MGKID support
Solution:
add netflix MGKID support
Verify:
ampere NTS
Change-Id: I7bf7f7b7527a36dc7b50f1a98bdb5d0a60af8741
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
Xuhua Zhang [Wed, 19 Dec 2018 03:32:30 +0000 (11:32 +0800)]
bt656: fix bt656 bugs [1/1]
PD#OTT-1022
Problem:
bt656 can not work well.
Solution:
1. add clock control
2. fix bt656 id bug
Verify:
G12A U200
Change-Id: I2aaecee33fd590497d5a11cf3618fc07264f02a5
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Evoke Zhang [Thu, 27 Dec 2018 09:17:47 +0000 (17:17 +0800)]
lcd: update panel parameters for tl1 [1/1]
PD#SWPL-3109
Problem:
tl1 tcon parameters need update
Solution:
1.update tcon parameters for tl1
2.add minilvds support
Verify:
x301
Change-Id: Ia9c1defb25f43b2b352400e2ab55c6a74b55d688
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Jian Hu [Tue, 18 Dec 2018 09:07:20 +0000 (17:07 +0800)]
clk: g12a: add bt656 clock [1/1]
PD#SWPL-3359
Problem:
the bt656 clocks were missing
Solution:
1.add bt656 clocks
2.fix several errors for media clocks
Verify:
test passed on u200
Change-Id: Iff69e790c78335930d6b2ea54f7544aca464e1fb
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Hanjie Lin [Fri, 23 Nov 2018 07:14:28 +0000 (15:14 +0800)]
dts: fix g12b energy-cost config error [1/1]
PD#SWPL-1007
Problem:
g12b a53 core energy-cost config is error.
Solution:
modify with right cost value
Verify:
w400
Change-Id: I1ffba5b147879a4178f255247f338b594e440eed
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>