Yong Qin [Wed, 20 Mar 2019 04:44:48 +0000 (12:44 +0800)]
di: flash green when play 265 SD video [1/1]
PD#SWPL-6097
Problem:
flash green garbages when play h.265 SD video
Solution:
afbc input not enable
Verify:
tl1
Change-Id: I310eeb6d922ab8b9035c815afc4e967c0e5390ff
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
zhiwei.yuan [Wed, 20 Mar 2019 07:07:21 +0000 (15:07 +0800)]
di: enable lock win will cause green screen [1/1]
PD#SWPL-3877
Problem:
lock window cause green screen
Solution:
disable lock win as default
Verify:
verified by t962x2_x301
Change-Id: I59f3047b9fdd7e4b6ad4750740ddca58bfe8d79a
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
wenbiao zhang [Wed, 13 Mar 2019 06:55:02 +0000 (14:55 +0800)]
hdmirx: send uevent when hdmirx port open/close [1/2]
PD#SWPL-4308
Problem:
gpu limit cause cts performance test fail
Solution:
limit gpu only when video playing or hdmiin
Verify:
P321
Change-Id: I682a908957491c8445fdb384dedd404169757e2b
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
Pengcheng Chen [Thu, 14 Mar 2019 10:02:35 +0000 (18:02 +0800)]
ge2d: fix ge2d buffer index error caused crash issue [2/2]
PD#SWPL-5685
Problem:
ge2d buffer index error when dma alloc called simultaneously
Solution:
add lock to ge2d buffer index
Verify:
verified by w400
Change-Id: I1efa4127fbcb939ade457a890769d59a146a0798
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Pengcheng Chen [Thu, 14 Mar 2019 09:44:33 +0000 (17:44 +0800)]
gdc: fix gdc buffer index error caused crash issue [1/2]
PD#SWPL-5685
Problem:
gdc buffer index error when dma alloc called simultaneously
Solution:
add lock to gdc buffer index
Verify:
verified by w400
Change-Id: Ia5e41562675b594029fd5a0166561c0069739536
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Brian Zhu [Tue, 19 Mar 2019 13:19:30 +0000 (21:19 +0800)]
vpp: add the pic_mode backup to check difference [1/1]
PD#TV-2929
Problem:
The pic_mode in cur_dispbuf was changed but not be detected.
Solution:
Add global pic_mode variable to check if the pic_mode in cur_dispbuf
is changed. If so, force vpp_set_filters.
Verify:
verified on x301
Change-Id: I5b95f512ad0823b031989f05526f114694887f2b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
renjiang.han [Tue, 12 Mar 2019 12:11:59 +0000 (20:11 +0800)]
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>
Tao Zeng [Wed, 20 Mar 2019 06:20:08 +0000 (14:20 +0800)]
numa: fix compile error after open NUMA config [2/2]
PD#SWPL-5301
Problem:
When open NUMA config on ARM64, there is compile error
Solution:
fix some compile problems
Verify:
p212
Change-Id: I1ae9ef975c680e3e5545186aac9ca2b57597bfe4
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
xianjun.liu [Thu, 7 Mar 2019 09:26:42 +0000 (17:26 +0800)]
MTD: spin_lock stuck problem about marking bad block for mtd driver [1/1]
PD#SWPL-5613
Problem:
boot fail because of the UBI write error
Solution:
fixed nested-calls spin-lock when update bbt
Verify:
AXG-S420
Change-Id: I56b603ebffa5557ab7949ead2fddd41323346d09
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
Tao Zeng [Thu, 7 Mar 2019 02:17:29 +0000 (10:17 +0800)]
vmap: print pfn for register in vmalloc range [1/1]
PD#SWPL-5564
Problem:
When open VMAP for kernel stack, if we meet kernel panic log, we
can't know physical address of stack and hard to debug.
Solution:
Print pfn for register in vmalloc range
Verify:
p212
Change-Id: Iee120df1feab88e412ef63e87c2e2bb4ad0645fb
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
he.he [Tue, 12 Mar 2019 04:52:14 +0000 (12:52 +0800)]
USB: amldevread data failed [1/1]
PD#SWPL-5292
Problem:
g12b-revB, some u disk amldevread test failed.
Solution:
Changing the register 0x54 to 0x2a, enabled the hs rx idle noise filter,
and the abnormal u-disk has no problem in the amldevread test.
Verify:
g12b revB
Change-Id: Ibbf924c93d193d7e40c4d8121a4616a8d1caeaaa
Signed-off-by: he.he <he.he@amlogic.com>
huijie.huang [Tue, 12 Mar 2019 10:19:39 +0000 (18:19 +0800)]
audio: open audio out for g12b socket board [1/1]
PD#SWPL-5833
Problem:
No audio out for g12b socket board
Solution:
Open audio codec
Verify:
test pass on g12b socket board
Change-Id: Ieec710edec218a13da41d249889515b0ac53a3e9
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
Yong Qin [Mon, 18 Mar 2019 09:20:09 +0000 (17:20 +0800)]
di: exit play local 4k video flashing [1/1]
PD#SWPL-5877
Problem:
1.afbc mode, play h.265 local video, when exit playing,
screen will flashing sometimes.
2.when exit playing, there cost 5s time.
Solution:
4k video di bypass, afbc hw module used by vpp, when
DI unreg, needn't to disable AFBC moudule.
Verify:
tl1
Change-Id: I2ac66a145a009042d286dda50e7259657f4bfc8e
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
yujie.wu [Fri, 15 Mar 2019 02:13:02 +0000 (10:13 +0800)]
audio: Add Mute function for tas5782 [1/1]
PD#SWPL-5961
Problem:
There is no mute control for tas5782
Solution:
Add mute function for tas 5782
Verify:
A113
Change-Id: I75f8b82a359778f28494636fe76c7bc4db848643
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
zhiwei.yuan [Fri, 15 Mar 2019 09:37:04 +0000 (17:37 +0800)]
di: TL1 Scrolling subtiltes jitter seriously than p321 [1/1]
PD#SWPL-3877
Problem:
mcinfo canvas configuration is incorrect
Solution:
correct canvas config
Verify:
verified by t962x2_x301
Change-Id: I93958044faed25994d83a53948e226729357d2aa
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
huijie.huang [Thu, 28 Feb 2019 11:02:42 +0000 (19:02 +0800)]
power: S905Y2 limit cpu and gpu freq to reduce HDMI TX consumption [1/1]
PD#SWPL-4653
Problem:
optimize the S905Y2 power consumption
Solution:
limit CPU and GPU frequency, reduce hdmi tx consumption
Verify:
test pass on u221
Change-Id: I1d95068f8beb5616c9aeea91122b5233e479db8b
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
Pengcheng Chen [Mon, 4 Mar 2019 04:43:49 +0000 (12:43 +0800)]
gdc: ge2d: fix ge2d dma-buf no free memory issue [1/1]
PD#SWPL-5685
Problem:
gdc&ge2d dma buf memory leak
Solution:
clear dmabuf alloc flag when dmabuf really free
Verify:
verified by w400
Change-Id: I914d93d795311fd6e3e34ca5bd64aaf4db3d4c7a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
nengwen.chen [Fri, 15 Mar 2019 13:50:54 +0000 (21:50 +0800)]
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>
nengwen.chen [Wed, 9 Jan 2019 12:41:49 +0000 (20:41 +0800)]
atv_demod: modify atv demod support multi tuner load [1/3]
PD#TV-1539
Problem:
modify atv demod support multi tuner load.
Solution:
1.add fine tune.
2.add set/get if info.
3.add tuner type set/get.
4.add multi tuner config in dts.
5.atv demod ver: V2.09.
Verify:
verified by x301
Change-Id: I23328bfab3d3508db67cef3e327002563eb1a87e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Xing Wang [Wed, 27 Feb 2019 06:12:11 +0000 (14:12 +0800)]
audio: auge: fix PAO for frhdmirx [1/2]
PD#SWPL-4010
Problem:
Not detect audio type by PAO for frhdmirx
Solution:
Add hw detect for frdhmirx PAO
audio type is checked by hw for PCM too
Verify:
x301
Change-Id: Ib60d738c69f336866250a8181609503912bf0485
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
qingwei.xu [Thu, 14 Mar 2019 02:16:13 +0000 (10:16 +0800)]
dts: Ion and vdin0 CMA Memory Optimization [1/1]
PD#SWPL-5896
Problem:
The memory consumption of modules ion and vdin0 is too large
Solution:
Ion CMA memory optimization to 32M,vdin0 to 160M
Verify:
X301、T309
Change-Id: If9e54390baeda6d330bb2c96b14ef3975333a2f1
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
deng.liu [Thu, 14 Mar 2019 11:42:45 +0000 (19:42 +0800)]
common: NN API implementation [1/3]
PD#SWPL-86
Problem:
Android tensorflow lite ,NN API implementation
Solution:
NN API implementation
Verify:
Local on galilei
Change-Id: I699a53b3fa2fd199cea7ef4db2f439ef49536a9c
Signed-off-by: deng.liu <deng.liu@amlogic.com>
Hong Guo [Thu, 14 Mar 2019 02:55:36 +0000 (10:55 +0800)]
cpufreq: set fixpll to 1G when cpufreq init. [1/1]
PD#SWPL-5392
Problem:
set fixpll to 1G when cpufreq init.
Solution:
set fixpll to 1G when cpufreq init.
Verify:
test pass on A311D-W400
Change-Id: I65eb70b86eca5192f8d153ac59a24a03d6018421
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Shuai Li [Fri, 15 Mar 2019 08:20:26 +0000 (16:20 +0800)]
audio: pull down audio I2S pins [1/1]
PD#TV-2362
Problem:
A DC voltage is always there about 300ms.
And coupled with LRCLK and SCLK which
may cause a toggle an DAC side.
Solution:
Pull down the data pin to clear
the DC level.
Verify:
Local verified.
Change-Id: Ib7aff22c44dcec2f653b7ed29495e5e52c16e038
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Bichao Zheng [Fri, 1 Mar 2019 06:33:02 +0000 (14:33 +0800)]
irblaster: meson: refactored irblaster driver [1/1]
PD#SWPL-1856
Problem:
refactored irblaster code
Solution:
1. Refactor the code according to the core, provider, and consumer
frameworks.
2. Provide software encode to let irblaster work according to different
protocols
3. Provide a unified consumer interface to allow other consumer drivers
to use irblaster.
Verify:
test pass on g12a_u200_v1
Change-Id: Ifd841ef0ed741b7fd721defc25691744ea2103f0
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Hang Cheng [Tue, 12 Mar 2019 09:25:32 +0000 (17:25 +0800)]
hdmirx: set rxsense sync with pddq for tl1 [1/1]
PD#SWPL-5668
Problem:
recognized as dvi after suspend/resume
when connect xiaomi mtk box
Solution:
when resume, add rxsense pulse to avoid
sda pulled low by xiaomi mtk box
Verify:
TL1-T962X2_X301
Change-Id: I480cbb4376bbb0c3b38318df2e26f5cc85db3d59
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Lei Yang [Mon, 11 Mar 2019 11:09:33 +0000 (19:09 +0800)]
hdmirx: add debug interface for HBR 8CH modde. [1/1]
PD#SWPL-5813
Problem:
HBR audio cannot work on TL1
Solution:
add a debug interface force hdmi afifo in 8ch mode
Verify:
t962x2
Change-Id: Ied02f772634e2c326e18f6d6463c0ae000430e29
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Xiaoming Sui [Mon, 11 Mar 2019 09:03:06 +0000 (17:03 +0800)]
video: timming gets error when switching channels [1/1]
PD#TV-3062
Problem:
When switching channels, Hisense platform needs hold video,
and the timming obtained at this time is wrong
Solution:
because we have add hold video function, so get width and
height interface give the last video frame width and height,
and so on change the video
Verify:
X301
Change-Id: I331a4589dcb5f5785dce7eea6d8cd03c92d733d2
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
Zongdong Jiao [Fri, 8 Mar 2019 10:57:49 +0000 (18:57 +0800)]
hdmitx: add dongle_mode case for low power [2/2]
PD#SWPL-5302
Problem:
For dongle products, it is connected to TV directly, and some
parameters are different from mbox.
Solution:
Add dongle mode for driver's usage
Verify:
U211/S905Y2
Change-Id: Ibe45b167800d3b830d78ca8e9d7b67efd64d8564
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Bencheng Jing [Thu, 14 Mar 2019 14:22:01 +0000 (22:22 +0800)]
amvecm: fix g12a/g12b sharpness0 addr wrong [2/2]
PD#SWPL-5919
Problem:
add offset for g12a/g12b sharpness0
Solution:
db offset for g12a/g12b sharpness0
Verify:
u212
Change-Id: I9d800d7c8b4446cb19dc39777bc1f940b0d6124c
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Shuai Li [Wed, 13 Mar 2019 05:56:26 +0000 (13:56 +0800)]
audio: add spdif/HDMI mute ctrl [1/1]
PD#TV-3016
Problem:
HDMI SPDIF mute interface has no effect.
Solution:
Add these interfaces for auge platform.
Verify:
Tested locally.
Change-Id: I168c0940e0f2b3d94091d43c6b8190f6f833c0f1
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Brian Zhu [Fri, 15 Mar 2019 07:43:56 +0000 (15:43 +0800)]
vpp: add log switch in vpp_set_filters [1/1]
PD#SWPL-5942
Problem:
Too many log when DI process called the vpp_set_filters with AFBC.
Solution:
Add log switch to disable it.
Verify:
verified on X301
Change-Id: I34c8573bed78e49d27ec386279e929e617bf76d5
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Hang Cheng [Thu, 14 Mar 2019 10:35:45 +0000 (18:35 +0800)]
hdmirx: optimize audio fifo config [1/1]
PD#SWPL-5579
Problem:
audio fifo underflow after switch audio pattern
on chroma 2233: only 2ch audio in, but audio fifo
is configed to read out 8ch afifo. chroma 2233
may change from multi-channel(witch audio overflows
and workaround to config read out all subpackets)
to 2-channel audio pattern, then issue happens.
so need to reset audio fifo config.
Solution:
except for workaround case, always config audio
fifo to only store valid subpackets.
Verify:
tl1
Change-Id: If32a55330fa7ebd9f6359a460eea4ad62872207b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Yong Qin [Wed, 6 Mar 2019 10:51:42 +0000 (18:51 +0800)]
di: pretect reg unreg flow [1/1]
PD#SWPL-4918
Problem:
when reg unreg event called too fast, di cause system crash
Solution:
pretect reg and unreg flow
Verify:
tl1
Change-Id: I9b3e28c2b0b709d4f53f60b1f044a390933117ce
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Zongdong Jiao [Mon, 11 Mar 2019 07:55:09 +0000 (15:55 +0800)]
hdmitx: sync hdmi_audio uevent to hdmi hpd [1/1]
PD#SWPL-5827
Problem:
When Mbox->AVR->TV connected, if TV switch input sources, there
may be up 3 times short HPD in Mbox side. And this may cause
audio module lost downstream's capability.
Solution:
Remove original 2s delay in 'hdmi_audio' event.
Verify:
S905X2/U212
Change-Id: I39512030f058ab9c72ee4c779f3b692898440271
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
shichang.zhai [Wed, 13 Mar 2019 07:31:03 +0000 (03:31 -0400)]
dts: add sensor name for imx307 [1/1]
PD#OTT-2643
Problem:
when bringup imx307,sensor name in dts need to update
Solution:
add sensor name for imx307 in dts
Verify:
W400
Change-Id: Ic5614326b0debd01efa028f66e7c6337d78ec242
Signed-off-by: shichang.zhai <shichang.zhai@amlogic.com>
Nanxin Qin [Tue, 12 Mar 2019 12:35:54 +0000 (20:35 +0800)]
codec_mm: changes the prot of pages to PAGE_KERNEL. [2/2]
PD#SWPL-4597
Problem:
Probabilistic full-screen display mosaic after seek 8K H265
Solution:
alloc mem area with the cached which from the vmap. this way
can improve the efficiency of I/O.
Change-Id: Icf18b9cd57bdc54f832aa827a535399939b28611
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
nengwen.chen [Mon, 11 Mar 2019 06:00:31 +0000 (14:00 +0800)]
atv_demod: Fix ATV audio output noise when switching channels to play [1/1]
PD#SWPL-2297, PD#SWPL-5450, PD#TV-2311
Problem:
Fix ATV audio output noise when switching channels to play.
Solution:
1.Add the judgment of SNR to prevent the weak signal
from entering the OV mode.
2.Wait for the signal to be completely stable before OV detection.
3.OV detection is turned off by default,
and will be turned on again when non-standard signals are encountered.
4.The OV detection moves from afc timer to monitor.
5.Optimize detection of A2/FM.
6.atv demod ver: V2.08.
Verify:
verified by x301
Change-Id: I3064230472ce51e1192a2d08ef6cc6f4ba10abaa
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Lei Yang [Wed, 13 Mar 2019 07:26:05 +0000 (15:26 +0800)]
hdmirx: change irq toggle mode [1/1]
PD#SWPL-5224
Problem:
missing DRM irq.
Solution:
1. modify irq toggle mode.
2. add double check for IP irq bit.
Verify:
T962x2
Change-Id: I6c77e5da92d5f21bc3710d9a6a744c10b1895e71
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Huan Biao [Mon, 4 Mar 2019 05:45:05 +0000 (13:45 +0800)]
thermal: cooldev: update cpucore cooldev for multi cluster chip [1/1]
PD#SWPL-5366
Problem:
g12b cpucore cooling devices hotplug a little core and a big
when hot trippoint trigger, need to update cooling devices that
hotplug one core one hotstep for big core to little core.
Solution:
1.modify cpucore cooling for new solution.
2.modify hotplug core for can hotplug all big core.
3.ipa dts no cluster id, all cpucore is one cooling device
dts have cluster id, one cluster is one cooling devices.
Verify:
test on g12b w400.
Change-Id: I3320b007e35e7ac415cf7623f74f0a5153fed9b5
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Yong Qin [Wed, 13 Mar 2019 06:05:34 +0000 (14:05 +0800)]
di: play 1080i timing always print di err[1/1]
PD#SWPL-5807
Problem:
1080i always print di err,modify di pre idle register
define are wrong
Solution:
1.modify register define according g12a
Verify:
g12a
Change-Id: I13400d8b18e0e85894ba8d10afc0ae119874aab4
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Yong Qin [Wed, 13 Mar 2019 12:12:58 +0000 (20:12 +0800)]
di: 1080p,the screen display anormal [1/1]
PD#SWPL-5874
Problem:
1080p the screen display anormal
Solution:
compress mode, modify vdin frame type.
Verify:
tl1
Change-Id: Ic1ee1472105861c8debce2a1645f70ed617fd132
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
rongrong zhou [Wed, 6 Mar 2019 09:59:28 +0000 (17:59 +0800)]
ptsserv: fix pts lookup fail issue [3/3]
PD#SWPL-3730
Problem:
playback not smooth
Solution:
if p2 lookup fail, set p2 = p
Verify:
verified by x301
Change-Id: I181eae2ba40edd937df12e0925c2a55c856162ba
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
Matthew Shyu [Mon, 17 Dec 2018 08:37:19 +0000 (16:37 +0800)]
crypto: fix and enable aes dma on G12B [1/1]
PD# SWPL-4823
Problem:
1. After stack optimization, stack memory cannot be
mapped as dma buffers and thus causing crypto dma failed to
generate correct result.
2. crypto dma was not enabled on G12B
Solution:
1. Move key_iv buffer from stack to memory provided by kzalloc
2. Enable crypto dma on G12B
3. Replace module_param with debugfs
4. Replace pr_err with dev_err
Verify:
verified on G12B
Change-Id: I6de682e3d1fc141f8c6179c7d91f9b4bff165eae
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
Evoke Zhang [Fri, 8 Mar 2019 05:47:14 +0000 (13:47 +0800)]
lcd: add vbyone large vswing support for tl1 [1/1]
PD#SWPL-5665
Problem:
some vbyone panel need large vswing
Solution:
add large vswing support for vbyone
Verify:
x301
Change-Id: I2e0e9ab6a73dab292e104a92b341867ceb5ecdbb
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Tao Guo [Wed, 16 Jan 2019 09:11:54 +0000 (17:11 +0800)]
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>
Jianxin Pan [Wed, 13 Mar 2019 08:25:03 +0000 (01:25 -0700)]
Merge "ANDROID: sdcardfs: Change current->fs under lock" into amlogic-4.9-dev
yuehu mi [Fri, 8 Mar 2019 05:52:18 +0000 (13:52 +0800)]
vrtc: add debug nodes, set alarm time and wake up system [1/1]
PD#TV-3085
Problem:
Add VRTC debug interface into TL1 Android P
Solution:
add wakeup and wakeup_time debug nodes
if you want to set alarm time, for example, set alarm wakeup time 10s
echo 10 > /sys/kernel/debug/wakeup_time
if you want to wake the system when an alarm is triggered, like this
echo 1 > /sys/kernel/debug/wakeup
Verify:
tl1_t962x2_x301
Change-Id: Ic40db0d9cb4ac2cab615206518d8db22b4095f72
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
Daniel Rosenberg [Fri, 20 Jul 2018 23:11:40 +0000 (16:11 -0700)]
ANDROID: sdcardfs: Change current->fs under lock
PD#SWPL-5666
Problem:
STS test fail
testPocCVE_2018_9515
Solution:
bug:
111641492 from security
Verify:
U212
Change-Id: I79e9894f94880048edaf0f7cfa2d180f65cbcf3b
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Shuai Li [Tue, 12 Mar 2019 06:40:20 +0000 (14:40 +0800)]
audio: fix H-voltage when tdm disable [1/1]
PD#SWPL-2952
Problem:
High voltage will cause the tdmout
data pin wrong I2S data which cause pop.
Solution:
Disable the bias of gpio.
Verify:
I2S data will be low when I2s closed.
Change-Id: If5d68e0f30df074f528dfec21cbe297795bc4ea7
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Zhe Wang [Tue, 12 Mar 2019 08:36:39 +0000 (16:36 +0800)]
audio: tune audio volume slew time [1/1]
PD#SWPL-5845
Problem:
audio playback too slow
Solution:
change audio volume slew time
Verify:
Locally test on X301
Change-Id: I48c920037cac852aaa01818bb02eaa8991c1df6b
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
nengwen.chen [Thu, 28 Feb 2019 06:43:14 +0000 (14:43 +0800)]
atv_demod: Fix non standard for analog signal [1/1]
PD#TV-1549, PD#TV-2829, PD#TV-2830
Problem:
Fix non standard for analog signal.
Solution:
1.Add non standard config 3 for analog signal.
2.Fix non standard default value.
3.Fix audio control register an bits.
4.After correcting the frequency offset success,
reset tuner to prevent audio from identifying errors.
Verify:
verified by x301
Change-Id: I65335dbe9ce9dc66d4ccaae3c1ff591660790616
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Peng Yixin [Sat, 16 Feb 2019 02:23:57 +0000 (10:23 +0800)]
media_module: add function to statistics drop frame on video layer [1/1]
PD#SWPL-1885
Problem:
We need a function to statistics drop frame.
Solution:
Add a function to statistics drop frame.
Verify:
Verified U212
Change-Id: I30b429c2f3710c5c8d0da6ec083060c9cc3e61ad
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
long yu [Wed, 6 Mar 2019 06:21:48 +0000 (14:21 +0800)]
storage: emmc: Compatible with G12B revA and revB [1/1]
PD#SWPL-5575
Problem:
not Compatible with G12B version a and b
Solution:
add revA match-data
Verify:
G12B-W400 RevA and RevB
Change-Id: Iee09861f7b162ee0660ea12dab60a238a9ae6be5
Signed-off-by: long yu <long.yu@amlogic.com>
yujie.wu [Tue, 12 Mar 2019 02:58:30 +0000 (10:58 +0800)]
audio: Add PDM lane mask [1/1]
PD#SWPL-5594
Problem:
The PDM input channel is not always in the
first lane, we need a mask to detect which
lane to use
Solution:
Add lane config in PDM module
Add lane-mask-in in W411 config
Verify:
W411
Change-Id: I48ca5927402282611ba5e225d75d034eeceacad6
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
yujie.wu [Fri, 8 Mar 2019 05:51:10 +0000 (13:51 +0800)]
audio: Merge code from RSR project [1/2]
PD#SWPL-5495
Problem:
There is some improvement code on RSR
project, we need to merge them back to
trunk.
Solution:
Merge the code from rsr branch
Verify:
A113
Change-Id: I0ba11c8ff412db659ff2f10bfc00d63c49f84bb5
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
Zhiqiang Han [Mon, 4 Mar 2019 03:01:09 +0000 (11:01 +0800)]
dvb: ca add DES for DVB DSC [1/2]
PD#SWPL-5358
Problem:
no DES support for DVB DSC
Solution:
add DSC support for DVB DSC
Verify:
Local build on R314
Change-Id: Ia66a69b49eaaa14ad249d7b2a459f3143e813185
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
Shaochan Liu [Tue, 5 Mar 2019 02:58:00 +0000 (10:58 +0800)]
lcd: add more panel clk ss step for tl1 [2/2]
PD#SWPL-5290
Problem:
add more panel clk ss step for tl1
Solution:
change 5000ppm to 2000ppm for a step
Verify:
verify by t962x2-x301
Change-Id: Id8e6795f657cc4edf1fa0411721f741e87a0fcba
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Shaochan Liu [Mon, 4 Mar 2019 07:39:02 +0000 (15:39 +0800)]
lcd: optimize vsync probe method, by string, not index value in dts [2/2]
PD#SWPL-4679
Problem:
optimize vsync probe method, by string, not index value in dts
Solution:
optimize vsync probe method, by string, not index value in dts
Verify:
verify by t962x2-x301
Change-Id: Ib87a2913b7dafb3ea3c9c5a936b29939ab7ee034
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Tao Zeng [Sat, 2 Mar 2019 12:38:49 +0000 (20:38 +0800)]
binder: replace vmalloc range if need more memory [1/1]
PD#SWPL-5553
Problem:
Binder will allocate about 1MB vmalloc memory for IPC for each process,
but under code like GTVS, there are about over 100 vmalloc ranges
allocated by binder, which cause vmalloc address range not enough for
other modules.
Solution:
1, only vmalloc 4KB at first;
2, if user space need more memory, try to allocate a new vmalloc
range with large size and move all related data to new place
3, dump vmalloc info if vmalloc failed
Verify:
P212
Change-Id: I07eea2623e5e19d410e0ff8a0bc6b11e2037023c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
sky zhou [Wed, 13 Feb 2019 10:12:38 +0000 (18:12 +0800)]
dts: add u212/w400 wayland+drm dts [1/4]
PD#SWPL-3996
Problem:
no dts for u212/w400 drm.
Solution:
add drm dts for u212/w400.
Verify:
verify on u212/w400.
Change-Id: I534e3e6e847dfa10fc3515c256048ea237bdcd68
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
lingjie li [Tue, 19 Feb 2019 11:47:06 +0000 (19:47 +0800)]
osd: update osd_count according to the chip [2/4]
PD#SWPL-3996
Problem:
g12b/g12a wayland-drm device print below error
"fb: error osd index=0" while start wayland-client.
while start wayland-client.
Solution:
set to the proper osd_count
Verify:
W400
Change-Id: I3c4c6d821ff0778cd4912a67046f7dbab60be2ad
Signed-off-by: lingjie li <lingjie.li@amlogic.com>
Yi Zeng [Fri, 25 Jan 2019 11:43:53 +0000 (19:43 +0800)]
mtd: nand: support new slc nand [1/1]
PD#SWPL-4511
Problem:
1Gb SLC Nand ZDND1G08U3D-IA requested by Marketing
aka ZDND1G08U3D-xx module number in code
Solution:
add the nand id into amlogic nand flash id table
Verify:
AXG_S400
Change-Id: I4e221497b801239aa62f62f844ff247fa05925d0
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
yujie.wu [Tue, 26 Feb 2019 12:06:47 +0000 (20:06 +0800)]
audio: Add tas5782 volume control [1/1]
PD#SWPL-4734
Problem:
There is no volume control for tas5782
Solution:
Add ch1/ch2 volume control for tas5782
Verify:
A113
Change-Id: I1e866a2bc024713278aea0c19cc8c91084a24b90
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
Evoke Zhang [Mon, 14 Jan 2019 08:53:57 +0000 (16:53 +0800)]
arm: dts: x301: enable vdin0 afbc function [1/1]
PD#SWPL-4115
Problem:
vdin0 afbc is disabled default
Solution:
enable vdin0 afbc
Verify:
x301
Change-Id: I482514095174b36d555c2b2d6f28f3a1f34cc5ab
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Zhe Wang [Tue, 26 Feb 2019 03:45:27 +0000 (11:45 +0800)]
audio: add kcontrol of EQ setting [1/2]
PD#TV-1808,TV-1809,TV-1810,TV-1811
Problem:
HW EQ on TL1 doesn't work
Solution:
Add kcontrol of EQ setting and getting
Verify:
test on X301
Change-Id: Iea1525b4a57241a99389c746c0238d96424df316
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Yong Qin [Thu, 28 Feb 2019 03:17:17 +0000 (11:17 +0800)]
di: support the interlace format from vdin afbc [2/2]
PD#SWPL-5205
Problem:
support afbc from vdin and decoder on tl1
Solution:
1.add this function
2.support from vdin and decoder
Verify:
tl1
Change-Id: I258d40ad5706f4a9a5749298dd9a33a9b4bbafa2
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Jian Hu [Mon, 4 Mar 2019 12:01:08 +0000 (20:01 +0800)]
clkmsr: axg: delete hard code which added during bringup [1/1]
PD#SWPL-5356
Problem:
when cat clkmsr node in sysfs, i2c bus does not work
Solution:
delete hard code
Verify:
verify on axg s400
Change-Id: Ib01f251f4b77685db5a57df395f1c1a75620c07b
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Xing Wang [Fri, 8 Mar 2019 08:19:51 +0000 (16:19 +0800)]
audio: auge: modify share buffer can be occupied by later module [1/2]
PD#SWPL-5300
Problem:
share buffer is not alaway used for tdm and spdif,
but raw data needs to output by spdif.
this would lead to spk silence for dual output
Solution:
share buffer can be occupied by later module.
when tdm and spdif output in share buffer, then play spdif,
spdif will release from share buffer,
only frddr is only used for tdm, another new frddr is used for spdif.
Verify:
x301
Change-Id: Ib0c2e02e575f496c0b0911d347857ede0d0cfa14
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Yong Qin [Thu, 28 Feb 2019 03:24:59 +0000 (11:24 +0800)]
vpp: support the interlace format from vdin afbc [1/2]
PD#SWPL-5205
Problem:
Now vdin support afbc+interlace format
Solution:
In vpp, add case to support vdin afbc with interlace
Verify:
tl1_x301, verify pass
Change-Id: I6540b03a6cb5308fc2bc202069aa87234fd35df6
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Brian Zhu [Fri, 8 Mar 2019 15:01:10 +0000 (23:01 +0800)]
vpp: config the vd1 canvas1 correctly when 3D enabled [1/1]
PD#TV-3086
Problem:
3D display abnormal. The vd1 canvas1 was incorrect.
Solution:
When enabled 3D function, config vd1 canvas1 correctly
Verify:
x301
Change-Id: I201cda2f33badf1af54ab4f177a17f761c7cea8d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Brian Zhu [Thu, 7 Mar 2019 09:35:36 +0000 (17:35 +0800)]
vpp: support 3D with afbc format [1/1]
PD#TV-3042
Problem:
3D function did not support afbc format before
Solution:
Add the support case which format is afbc.
Verify:
x301
Change-Id: I38189bfa78eec6ac811fb81631514d7d7b8b3d62
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Daogao Xu [Thu, 28 Feb 2019 07:01:10 +0000 (15:01 +0800)]
i2c: add retry-process when slave NACK. [1/1]
PD#SWPL-4761
Problem:
When slave device is busy processing, it is unable to handle the
incoming communication attempts. i2c master have to repeatedly attemp
communication until the slave sends an ACK after receiving its slave
address.
Solution:
add retry-process when slave NACK.
Verify:
mesonaxg_s420_32_release
Change-Id: Ieb195176cac4b80e223ea6adb502ffd3bc9ef728
Signed-off-by: Daogao Xu <daogao.xu@amlogic.com>
Xing Wang [Tue, 5 Mar 2019 02:45:46 +0000 (10:45 +0800)]
audio: auge: fix spdif reset when used for share buffer [1/1]
PD#SWPL-3655
Problem:
spdif output 8 channel, channel map in wrong order.
Solution:
reset spdif before enable as soon as quickly.
modification is limited for tl1 now
Verify:
x301
Change-Id: I224032390404be85c77d7436a9be9148df09c997
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Xuhua Zhang [Fri, 1 Mar 2019 12:12:38 +0000 (20:12 +0800)]
tvin: vdin: add vdin1 scaler preview for vdin0 preview [1/1]
PD#SWPL-4115
Problem:
vdin preview error when input 4K
Solution:
use vdin1 as double write function
Verify:
x301
Change-Id: I4ed15dd5c445ed3c38b4a2535be075210dcbdac7
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Rong Zhang [Wed, 23 Jan 2019 12:04:29 +0000 (20:04 +0800)]
media_module: vdec [1/1]
PD#OTT-1699
Problem:
not support multi-vdec user data read
Solution:
Add getting available user data vdec interface
Verify:
Verified U212
Change-Id: I9ec65367935ac42a83808db23f2fb08f694e1483
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
Nanxin Qin [Wed, 30 Jan 2019 03:42:22 +0000 (11:42 +0800)]
codec_mm: fixed some issues of the mem operation. [1/2]
PD#SWPL-3593
Problem:
the memory data might be discordant.
Solution:
1. opitimize the mem mapping and change the page type to nocache.
2. modified the way of flush mem which from lowmem or highmem.
Verify:
x301
Change-Id: I82351c235915c98a86fd201c2ff3994e4d2085ec
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
MingLiang Dong [Wed, 27 Feb 2019 07:05:40 +0000 (02:05 -0500)]
hdr: used line_n_int to trigger osd rdma [2/2]
PD#SWPL-4582
Problem:
g12b revb osd blend shift issue still exist
when hdr enable/disable
Solution:
used line_n_int to trigger osd hdr rdma,
this workaround can fix shift issue
Verify:
verify by g12b revb
Change-Id: I062c31dbb5729463bae539e2ea25281d715665c9
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Qianggui Song [Wed, 6 Mar 2019 08:41:03 +0000 (16:41 +0800)]
ir: ir support both NEC and RC5 [1/1]
PD#SWPL-5555
Problem:
Current driver does not support both NEC and RC5
Solution:
Add a macro to depecit both NEC and RC5 state
Verify:
X301
Change-Id: I06894d033eabdb22db6e34fc2ad76e0390ef565f
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Nian Jing [Thu, 28 Feb 2019 12:00:22 +0000 (20:00 +0800)]
tvafe: fix pali recognize for palcn [1/1]
PD#SWPL-3395
Problem:
recognized fsc358 flag when signal weak
Solution:
increase fsc358-flag recognized threshold
avoid fsc443 be recognized as fsc358
Verify:
verify on x301
Change-Id: I7b759bd0621c153e5abd3dee8fdf55a2426400a7
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Ruixuan Li [Thu, 7 Mar 2019 07:00:52 +0000 (15:00 +0800)]
storage: add sd node on tl1 ref dtsi [1/1]
PD#SWPL-5552
Problem:
Some project of tl ref need sd function
Solution:
Add sd node on tl1 ref dtsi which could instead sdio node if necessary
Verify:
tl1 ref
Change-Id: I1aca71624934fd4bcd97f8b1eb3f95f9a3dbdcf8
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
Bencheng Jing [Wed, 27 Feb 2019 11:53:49 +0000 (19:53 +0800)]
amvecm: Local Contrast ioctrl load interface support [1/4]
PD#SWPL-3301
Problem:
Local Contrast ioctrl load interface support
Solution:
add Local Contrast ioctrl load interface
Verify:
tl1
Change-Id: I1c2ed1f54a1fe85b589f95fe9e49f8c469f3e80d
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Blance Tang [Thu, 7 Mar 2019 02:13:41 +0000 (10:13 +0800)]
IPC: Disable
ad82584f in W411 DTS [1/1]
PD#SWPL-5574
Problem:
amixer return error due to
ad82584f not exist in W411 platform
Solution:
Disable
ad82584f, and remove it from TDM output list
Verify:
Yes
Change-Id: I7fcd5ad31ba57887399c45d67b130e8c3d08e671
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
zhiwei.yuan [Thu, 14 Feb 2019 11:11:36 +0000 (19:11 +0800)]
dtv_demod: TXL DTMB losing lock sometimes when playing [1/1]
PD#SWPL-4854
Problem:
TXL DTMB has losing lock issue
Solution:
set HHI_DEMOD_CLK_CNTL to 0x301 for TXL
Verify:
verified by t962_p321
Change-Id: I51b61949b5f9c96b64eae7e0054771ce44dbfd5b
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
zhiwei.yuan [Wed, 6 Mar 2019 07:55:43 +0000 (15:55 +0800)]
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>
Zhuo Wang [Tue, 5 Mar 2019 05:45:26 +0000 (13:45 +0800)]
ethernet: remove internal_phy_remove [1/1]
PD#SWPL-5478
Problem:
system will crash rately if not init success
Solution:
remote internal_phy_remove function for chip
later then g12a
Verify:
verify on u200 board
Change-Id: Id6c3bf77c2a448aee9675deff47dc106206146d6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Xingyu Chen [Tue, 26 Feb 2019 09:45:31 +0000 (17:45 +0800)]
saradc: saradc register initialization is incomplete [1/1]
PD#SWPL-4975
Problem:
some basic saradc registers are only initialized at bl2 stage, the ADC
value is abnormal when bl2 disable saradc init.
Solution:
to re-initialize the basic saradc registers in kernel.
Verify:
test pass on w400 and p212
Change-Id: Ie98e8789fd47cc43cafcb49d9862ccccbe1d9b66
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Xiaoming Sui [Wed, 6 Mar 2019 02:45:32 +0000 (10:45 +0800)]
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>
Hong Guo [Mon, 4 Mar 2019 06:15:31 +0000 (14:15 +0800)]
cpufreq: dts: adjust cpufreq table for tl1 [1/1]
PD#SWPL-5392
Problem:
adjust cpufreq table for tl1
Solution:
adjust cpufreq table for tl1
Verify:
test pass on tl1_x301
Change-Id: I45f273778bb7b92ab4f8e012b9d33acfa456386f
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Nian Jing [Wed, 27 Feb 2019 11:31:40 +0000 (19:31 +0800)]
vbi: add vbi debug print control [1/1]
PD#SWPL-5217
Problem:
vbi debug print too much
Solution:
add vbi debug print control
Verify:
verified by X301
Change-Id: If8848adb077aced68aac6b5443532037ee8dfff3
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Shuai Li [Fri, 1 Mar 2019 13:48:35 +0000 (21:48 +0800)]
audio: audio glitch at tdm startup [1/1]
PD#SWPL-5219
Problem:
audio glitch at tdm startup
Solution:
Pad 0 data to clear the remaining data
in the module.
Verify:
Local tested.
Change-Id: Iab526c6893a32030799567b57e05e7bb11b8fea0
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Pengcheng Chen [Wed, 20 Feb 2019 01:38:02 +0000 (09:38 +0800)]
rdma: used line_n_int to trigger osd, dv and hdr rdma [1/2]
PD#SWPL-4582
Problem:
g12b revb osd blend shift issue still exist
when dv and hdr enable/disable
Solution:
used line_n_int to trigger osd, dv and hdr rdma,
this workaround can fix shift issue
Verify:
verify by g12b revb
Change-Id: Ie9747b2f7aaa3a7997245f82d15831c4c3da41cf
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Evoke Zhang [Wed, 27 Feb 2019 03:31:18 +0000 (11:31 +0800)]
vdin: optimize game mode for tl1 phase lock [1/1]
PD#SWPL-4788
Problem:
sometimes hdmi source display broken in game mode
Solution:
use phase lock for tl1 game mode ahead 2 frames,
and ahead 1 frame for previous chips.
Verify:
x301
Change-Id: I00df9125c9ea7869ed6e111ba99a8b755c914129
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Yi Zhou [Mon, 25 Feb 2019 12:02:11 +0000 (20:02 +0800)]
dv: remove g12b ver B from the status of SDR mode [1/1]
PD#SWPL-4582
Problem:
g12 verA has a hardware bug.Therefore,dv cores
must keep working even if under sdr mode
Solution:
g12B verB has fixed this bug, so remove this chip id
Verify:
verify by g12b revb
Change-Id: Ice1aa1364319fa12d5a896fdfd106450f1a04d3d
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Pengcheng Chen [Mon, 14 Jan 2019 09:07:48 +0000 (17:07 +0800)]
osd: add g12b revb to check osd shift workaround [1/1]
PD#SWPL-4582
Problem:
g12b revb fix osd blend shift issue
Solution:
add g12b revb to remove shift workaround
Verify:
verify by g12b revb
Change-Id: I6cefba0b5b5cce35d928edafdc359adff0165866
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Xing Wang [Fri, 1 Mar 2019 08:29:31 +0000 (16:29 +0800)]
audio: auge: fix spdifout clk for share buffer [1/1]
PD#SWPL-4278
Problem:
spdif out clk is related to tdm clk for share buffer.
For play raw data 32k/44.1k, it's not correct for spdif out clk.
Solution:
separate spdif out clk and tdm clk
Verify:
x301
Change-Id: Ie6e3d7413d9577c9c80ea90e8b1f9ff4bf3eefcf
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Guosong Zhou [Fri, 18 Jan 2019 13:30:02 +0000 (08:30 -0500)]
amlvideo2: add port_type for TL1 [1/1]
PD#SWPL-4080
Problem:
tl1 video only port_type changed
Solution:
add port_type for tl1
Verify:
verify by tl1
Change-Id: I73e656703509a507d24f5febe26ab425cf69b61b
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
long yu [Thu, 21 Feb 2019 07:22:01 +0000 (15:22 +0800)]
storage: emmc: Add HS400 busmode support for G12B-RevB [1/1]
PD#SWPL-5040
Problem:
not support HS400 busmode
Solution:
add HS400 busmode support for G12B-RevB
Verify:
T962X-R311,TL1-T962X2_X301,G12B-W400
Change-Id: I11a1f47b9473fa341c7d754a51d6e270551758a7
Signed-off-by: long yu <long.yu@amlogic.com>
Brian Zhu [Thu, 28 Feb 2019 19:16:45 +0000 (03:16 +0800)]
vpp: sr: correct the sr core0 enable switch operation [1/1]
PD#SWPL-5113
Problem:
SR core0 enable switch register is latched as default. It
will cause the screen flicker when operating this bit in vsync.
Because the frame size will be out of sync with back-end module.
Solution:
1. For g12a, no latch ctrl. So did not disable sr core2 enable bit.
2. For g12b/tl1, disable the latch function.
Verify:
Verified on U212/w400/x301
Change-Id: I54027b71ef8a6066004b3bd32ed1633b4bfa351c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
liangzhuo.xie [Thu, 10 Jan 2019 03:13:44 +0000 (11:13 +0800)]
dts: add amlvideo2.0/2.1 for tl1 [1/1]
PD#SWPL-4080
Problem:
add screen capture for tl1
Solution:
add amlvideo2.0/2.1 on dts
Verify:
verify by tl1
Change-Id: I0ded6c995c6306b844cc87539443af6822f6c7f2
Signed-off-by: liangzhuo.xie <liangzhuo.xie@amlogic.com>