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>
Qianggui Song [Thu, 28 Feb 2019 02:55:32 +0000 (10:55 +0800)]
pinctrl: fix tl1 bt656 wrong configuration [1/1]
PD#SWPL-5360
Problem:
According to TL1-core-pin-mux-register-spec.xlsx:
bt656 pins function number is 3 but not 2.
Solution:
bt656 func change 2-->3
Verify:
TL1-sktboard
Change-Id: I740e0a446ef2b6018b2eca706548148b8c9d1156
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Yi Zhou [Wed, 13 Feb 2019 02:34:30 +0000 (10:34 +0800)]
dv: hang when home during DoVi playback [1/1]
PD#SWPL-4406
Problem:
SDR meta size > 0 during DoVi to SDR transition
Solution:
fixed SDR meta size to 0 for SDR
Verify:
u212
Change-Id: I92129163da0df9c81bb508ce56b78268fbd87a2e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Hanjie Lin [Tue, 26 Feb 2019 06:57:44 +0000 (14:57 +0800)]
dts: g12b: modify sched-energy dts for w400 revision-b [1/1]
PD#SWPL-5020
Problem:
modify sched-energy dts for w400 revision-b
Solution:
modify dts
Verify:
local.
Change-Id: I6686abc10bf07ec0e601eb9a72b7657ca3e1d991
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
pan.yang [Mon, 4 Mar 2019 07:29:15 +0000 (02:29 -0500)]
dts: add new frequency for A53 core at all g12b RevB dts [1/1]
PD#SWPL-5020
Problem:
need 1.9G for A53 core in g12b RevB.
Solution:
add 1.9G frequency for A53 core in RevB dts.
Verify:
local test.
Change-Id: Ic4085c05b3b9d18f759720e3d268d5e4629faba7
Signed-off-by: pan.yang <pan.yang@amlogic.com>
Yingwei Long [Thu, 28 Feb 2019 12:01:24 +0000 (20:01 +0800)]
tsync: do not operate tsync_mode_switch before first video toggled [1/1]
PD#SWPL-5131
Problem:
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(egg:SYNC-HEVC-59FPS-DDP51)
Solution:
do not operate tsync_mode_switch before first video toggled
Verify:
verify by franklin
Change-Id: Icec2de71ea8f838146444aa3ea880f76ed8e0f13
Signed-off-by: Yingwei Long <yingwei.long@amlogic.com>
Chuangcheng Peng [Tue, 26 Feb 2019 03:31:36 +0000 (11:31 +0800)]
dvb: support swdemux [3/3]
PD#SWPL-2788
Problem:
support 4 demux at same time.
Solution:
support swdemux and swdsc.
Verify:
verify at r311 in android p.
support:
1.separte from cpu/platform, it add varible that may change
Change-Id: I580fa14133f20ddd71674aeb6963aebb44421f6d
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
Yong Qin [Tue, 8 Jan 2019 09:02:34 +0000 (17:02 +0800)]
di: aptimise di flow, add some protection [1/1]
PD#SWPL-3976
Problem:
To prevent “stall when access DDR through memory interface”
Solution:
1.aptimise NRWR register access flow
2.add arb on/off and status check
3.add reset protect
4.add nr_en disable before arb status check
5.add nr_write_done sel
6.modify VPU_WRARB_MODE_L2C1 from vlsi feijun's suggest
Verify:
tl1, txlx
Change-Id: Ifb0f4f0502d957ffb2b07805575c27f4166d5717
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Evoke Zhang [Wed, 27 Feb 2019 08:27:51 +0000 (16:27 +0800)]
lcd: optimize vbyone auto recovery with hw filter [1/1]
PD#SWPL-5172
Problem:
vbyone stable is easily affected by ESD
Solution:
increase hw filter time to anti ESD after vbyone stable,
but lower the hw filter time when vbyone training,
to avoid side effect to vbyone fsm working.
only support in TL1.
Verify:
x301
Change-Id: If8a8b14a47262abd682f5c95185e82cf3c0f58f2
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Pengcheng Chen [Tue, 26 Feb 2019 10:51:50 +0000 (18:51 +0800)]
osd: add afbc source crop support [2/2]
PD#OTT-2168
Problem:
media control bar can't displayed because afbc source crop not support
Solution:
add afbc source crop support
Verify:
verify on raven
Change-Id: Ib1f925aeea12ba18d8f976aba8c84f0738c41293
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Brian Zhu [Sat, 2 Mar 2019 12:52:35 +0000 (20:52 +0800)]
vpp: refresh the vd/osd blend ctrl when enable/disable video [1/1]
PD#SWPL-4932
Problem:
The vd/osd blend ctrl is not correct when disable video
Solution:
Refresh the vd/osd blend ctrl for that case
Verify:
Verified on tl1
Change-Id: I6a7bfc58c810279cdfbf55f3d6a51e94890b4899
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Hui Zhang [Fri, 1 Mar 2019 01:02:26 +0000 (09:02 +0800)]
ppmgr: use light reg for video decoder local reset [1/1]
PD#SWPL-5014
Problem:
ppmgr provider error sometimes in long time run under poor signal
Solution:
use light reg for video decoder local reset
Verify:
X301
Change-Id: I1500c9ddfdce76b3e9cb2b24a35cdee765f82d5f
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
zhiwei.yuan [Thu, 28 Feb 2019 07:30:09 +0000 (15:30 +0800)]
di: TL1 enable lmv_lock_win_en cause crash [1/1]
PD#SWPL-4999
Problem:
use vmalloc in interrupt context
Solution:
move di_map to cma allocate function(kernel thread)
Verify:
verified by t962x2_x301
Change-Id: I8cf8d9caf9703ba039b32da98d2382a4c875de30
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Kai Song [Wed, 13 Feb 2019 02:12:39 +0000 (10:12 +0800)]
codec_mm: Fix cma clear and rebuild map for codec_mm. [1/1]
PD#172483
Problem:
To avoid A73 core speculative data loading from protected
memory, which triggers SError fault, the mapping of the
protected region should be cleared. In codec_mm driver, the
page structure pointer used to clear the mapping is wrong.
Although the memory is allocated from CMA, because we are
using CMA_res mode the address from CMA_res_pool is actually
a physical address, similar as reserved memory case. As a
result, the mapping to protected address is not cleared.
Solution:
1.Add "mem->from_flags ==
AMPORTS_MEM_FLAGS_FROM_GET_FROM_CMA_RES" case processing.
Verify:
Run YTTV and there is no SError crash after the fix.
Change-Id: Ia912337c1d7d5a55800fc55ad1d61016f9710f4d
Signed-off-by: Kai Song <kai.song@amlogic.com>
Zhuo Wang [Fri, 1 Mar 2019 06:35:34 +0000 (14:35 +0800)]
ethernet: set RX delay for exphy and leds [1/1]
PD#SWPL-5295
Problem:
add RX delay for 8211f and add led setup interface
Solution:
tuning delay and leds
Verify:
verify on u200 board
Change-Id: I45e855894d570fdd976f90fd8f03151ad52a3683
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Nan Li [Wed, 27 Feb 2019 06:16:44 +0000 (14:16 +0800)]
sdio: set sdio hs mode co_phase [1/1]
PD#SWPL-5206
Problem:
Setup time in sdio highspeed mode of txlx is
inconsistent with the protocol standard.
Solution:
set co_phase = 2.
Verify:
r321
Change-Id: I3e5a1bca335faea6397513de772d3ee35ea76d40
Signed-off-by: Nan Li <nan.li@amlogic.com>
Nan Li [Tue, 26 Feb 2019 02:19:07 +0000 (10:19 +0800)]
sdio: set sdio hs mode co_phase [1/1]
PD#SWPL-5152
Problem:
Setup time in sdio highspeed mode of g12a is
inconsistent with the protocol standard.
Solution:
set co_phase = 2.
Verify:
u212
Change-Id: Ifc4576ce83c810c2ae5cbd57fe53d12959a9acca
Signed-off-by: Nan Li <nan.li@amlogic.com>
he.he [Tue, 19 Feb 2019 06:50:29 +0000 (14:50 +0800)]
usb: revB usb EL compliance test [2/1]
PD#SWPL-4941
Problem:
EL27,28,29,31 failed in the el compliance test.
tl1 frameworks test result(USB20CV) failed.
Solution:
Change the parameters (0x10 and 0x38) of usb phy
to solve the el failed problem and modified the
dwc_otg_pcd_handle_enum_done_intr function to solve
the USB20CV failed problem.
Verify:
verify on revB
Test: Pass
Change-Id: I9d7dc6472f95c6bcdf2c031222db4fed25be8a13
Signed-off-by: he.he <he.he@amlogic.com>
Huan Biao [Fri, 1 Mar 2019 02:25:12 +0000 (10:25 +0800)]
arm: dts: add tl1 skt ipa parameter [1/1]
PD#SWPL-5198
Problem:
tl1 thermal cts case fail.
Solution:
tl1 add thermal dts for skt.
Verify:
tl1 skt pass.
Change-Id: Ia20ee3f346cd7f518f8481990c29b63d618cf2f4
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Huan Biao [Thu, 28 Feb 2019 01:51:56 +0000 (09:51 +0800)]
arm: dts: add ipa parameter [1/1]
PD#SWPL-5198
Problem:
tl1 thermal cts case fail.
Solution:
tl1 add thermal dts.
Verify:
tl1 x301 pass.
Change-Id: I47f8e295f0ddc546f4540a8edd96556755ceef66
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Bencheng Jing [Tue, 15 Jan 2019 05:37:44 +0000 (13:37 +0800)]
amvecm: lc: add driver interface for pc tool [1/1]
PD#SWPL-3300
Problem:
local contrast interface for pc tool
Solution:
add driver interface for pc tool
Verify:
tl1
Change-Id: I874ebc6c234f1030fa64a48033580af644550048
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Hong Guo [Mon, 14 Jan 2019 07:53:22 +0000 (15:53 +0800)]
CPUFREQ: Setting different cpufreq tables according to efuse information. [1/1]
PD#SWPL-4035
Problem:
Setting different cpufreq tables according to efuse information.
Solution:
Setting different cpufreq tables according to efuse information.
Verify:
g12a_u200, verify pass
Change-Id: I1bf571f332244f5727ef3cd8743f215f71248146
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Hong Guo [Fri, 22 Feb 2019 09:18:35 +0000 (17:18 +0800)]
reboot: get corrent reboot reason in system panic [1/1]
PD#TV-2272
Problem:
can't get corrent reboot reason in system panic
Solution:
get corrent reboot reason in system panic
Verify:
test pass on T962x2_x301
Change-Id: If0fc95c2807d89542b4ccbc8e3709be20f17b03b
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Evoke Zhang [Thu, 10 Jan 2019 14:21:01 +0000 (22:21 +0800)]
lcd: optimize unifykey read flow to avoid crash [1/1]
PD#SWPL-4682
Problem:
lcd wait unifykey init timeout and read unifykey will crash
Solution:
incrase wait unifykey init time, and add read protection
Verify:
x301
Change-Id: Ib86a2b3b0c6c1491606404358420fd213dcfdaa8
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Evoke Zhang [Thu, 21 Feb 2019 04:23:45 +0000 (12:23 +0800)]
vout: add dummy_panel display mode [1/1]
PD#SWPL-5017
Problem:
need support dummy lcd for viu1
Solution:
add dummp_panel display mode.
when need viu1 + viu2 -> encl, and show viu2 data,
you can use below setting:
echo dump_panel >/sys/class/display/mode
echo panel >/sys/class/display2/mode
Verify:
x301
Change-Id: I8a7fb52e2272fc8f71d682424ff20dc37f02b726
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Wenfeng Guo [Wed, 20 Feb 2019 08:20:10 +0000 (16:20 +0800)]
deinterlace: fix 480i error into pulldown [1/1]
PD#TV-1949
Problem:
480i error into pulldown (by yanling)
Solution:
1. add flm22_comlev3 (by yanling);
Verify:
tl1 txlx
Change-Id: Ib5c168deb1327df0e803831dcf9f13e05faaa915
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
Nian Jing [Mon, 25 Feb 2019 06:38:27 +0000 (14:38 +0800)]
vdin: fix snowflake bottom screen [1/1]
PD#SWPL-5129
Problem:
cut window need restore when nosignal
Solution:
restore cutwin when nosignal
Verify:
verified by r341
Change-Id: If18dbd18df11cce5d1ddb99ee266901b75b065b3
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Nian Jing [Thu, 21 Feb 2019 12:17:07 +0000 (20:17 +0800)]
tvafe: optimize stable time on manual setting [1/1]
PD#SWPL-5052
Problem:
optimize swith channel time
Solution:
lower wait time on manual colorfmt setting
stable time optimized from 500ms -> 300ms
Verify:
x301
Change-Id: I7e7d711d1c3ab0630d41e933c53ce34d0025e860
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Shunzhou Jiang [Wed, 9 Jan 2019 09:42:52 +0000 (17:42 +0800)]
mailbox: mailbox: add chip performance info read from efuse [2/2]
PD#SWPL-4035
Problem:
cpu driver need read efuse data
Solution:
add interface to read data
Verify:
g12a_skt
Change-Id: Ia5d74c3fa057d06426b4277652e508714400a30f
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Pengcheng Chen [Tue, 26 Feb 2019 09:08:35 +0000 (17:08 +0800)]
osd: move wait hw vsync for afbc when phy_addr==0 only before chip g12A [1/1]
PD#SWPL-5148
Problem:
bootvideo stuck when starting to play
Solution:
wait hw vsync for afbc when phy_addr==0 only before chip g12A
Verify:
tl1
Change-Id: I883c8f6699729854a852fc70c22b5629aa025c60
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Yinming Ding [Thu, 14 Feb 2019 05:59:19 +0000 (13:59 +0800)]
device: amlogic: Add config for dtv tuner si2169 [2/3]
PD#SWPL-2763
Problem:
Add config for dtv tuner si2169
Solution:
Add dtv tuner si2169 as default
Temp disable spdif pin mux and uart_A because GPIO conflict
Verify:
Verified by R314
Change-Id: I2557043e9d34ef8db8048eab9cd53d04c26c29c4
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
yicheng shen [Wed, 20 Feb 2019 08:21:33 +0000 (03:21 -0500)]
hdmirx: fix hdmirx compatibility issue [1/1]
PD#SWPL-4261
Problem:
1.black screen(timing info error);
2.74.5m not stable
3.nvidia 4k420 10bit noisy dot
Solution:
1.update timing stable judgement logic;
2.update phy setting;
3.add 340-525m bandwidth phy setting
Verify:
TL1
Change-Id: I3e47361af70cfff67a84daa8f768f3e0da3bce48
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
bing.jiang [Wed, 23 Jan 2019 01:35:18 +0000 (09:35 +0800)]
dts: Add new dts files for S400 SBR [1/3]
PD#SWPL-4435
Problem:
adapt Soundbar solution to S400 SBR platform
Solution:
new dts file axg_s400_v03sbr.dts changed from axg_s400_v03.dts
add reference remote control mapping in mesonaxg.dtsi
add tas5782m
Verify:
S400+D621 A113D
Change-Id: I6feee3993192656eb66b7ee5a9ff6c85d22075e4
Signed-off-by: bing.jiang <bing.jiang@amlogic.com>
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
Nian Jing [Wed, 23 Jan 2019 05:14:25 +0000 (13:14 +0800)]
vbi: use dma alloc instead reserved memory [1/1]
PD#SWPL-4510
Problem:
do not use reserved memory
Solution:
use dma_alloc_coherent instead reserved memory
Verify:
x301
Change-Id: I6498772809c8f1f48a7d4dd24aa18433eff3e618
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
huijie.huang [Tue, 26 Feb 2019 08:00:06 +0000 (16:00 +0800)]
audio: auge: fix hw resample crash when pcm disabled [1/1]
PD#SWPL-3365
Problem:
system would reboot when carshed by hw resample
Solution:
actrl of toddr is modified to null pointer, so it leads to crash.
fix to pass toddr pointer to function, not fetched by resample module.
Verify:
TL1 socket board
Change-Id: I9227ef2e1ca225e72b0408bc694e6a20d623c8a9
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
Shunzhou Jiang [Fri, 22 Feb 2019 09:18:36 +0000 (17:18 +0800)]
clk: g12a/g12b: fix syspll overflow when freq larger than 2.1g [1/1]
PD#SWPL-5076
Problem:
syspll overflow
Solution:
div 1000 when round rate
Verify:
test pass on g12a skt/w400
Change-Id: I021a1e8fd1280b27e21e5b4c8983b91fb89e84ba
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Qiang Li [Thu, 17 Jan 2019 05:47:23 +0000 (13:47 +0800)]
emmc: change the g12a portc emmc hardware reset pin. [1/1]
PD#SWPL-4276
Problem:
g12a portc emmc hardware reset pin is error.
Solution:
change the g12a portc emmc hardware reset pin.
Verify:
g12a_u200
Change-Id: Ifd3be5ae9f19eae9241b21faeceffc07aa70ce86
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
Qiang Li [Thu, 17 Jan 2019 06:19:32 +0000 (14:19 +0800)]
emmc: change the tl1 portc emmc hardware reset pin. [1/1]
PD#SWPL-4276
Problem:
Tl1 portc emmc hardware reset pin is error.
Solution:
change the tl1 portc emmc hardware reset pin.
Verify:
X301_T962X2
Change-Id: I133d35a62002410866fe535ca2016b63878392fd
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
nengwen.chen [Mon, 25 Feb 2019 02:26:58 +0000 (10:26 +0800)]
atv_demod: Tuner crashes easily when fast finetune [1/1]
PD#SWPL-4421
Problem:
Tuner crashes easily when fast fine tune
Solution:
Delay afc work to prevent tuner crash
Verify:
verified by x301
Change-Id: I011f7c3f71a30f95a9b7aa371d5fabe71f249051
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
nengwen.chen [Mon, 25 Feb 2019 02:10:27 +0000 (10:10 +0800)]
atv_demod: Add audio carrier offset detect [1/1]
PD#TV-2564
Problem:
Torture room teset report SND0810 sound carrier deviation
Solution:
Add audio carrier offset detect
Verify:
verified by x301
Change-Id: I2d715891fb268452f95e05f998864e9b7321ff38
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Yong Qin [Wed, 30 Jan 2019 06:45:25 +0000 (14:45 +0800)]
vlock: add phase lock function [1/1]
PD#SWPL-3644
Problem:
new feature on tl1
Solution:
add function
Verify:
verified on tl1 android p
Change-Id: I964054512f59a98f03d20df11b8c63d6802744d5
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Kaifu Hu [Thu, 20 Dec 2018 05:20:53 +0000 (13:20 +0800)]
dv: dolby vision support on t962x [1/1]
PD#SWPL-3318
Problem:
Android P not support dolby vision on t962x
Solution:
Porting code support dolby vision
Verify:
t962x/r311
Change-Id: I85afd05d2cb21a7105ea345f07e7e581bba5e927
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Shunzhou Jiang [Fri, 1 Feb 2019 01:45:46 +0000 (09:45 +0800)]
clk: g12a/g12b: update pcie clk parameter for jitter [1/1]
PD#SWPL-4745
Problem:
update pcie parameter for jitter
Solution:
clear pcie clk parameter
Verify:
test pass on g12a skt/w400
Change-Id: I354d643c412c37fb6c99fc49ac5bd70ab12be008
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Shunzhou Jiang [Thu, 24 Jan 2019 01:46:06 +0000 (09:46 +0800)]
clk: g12a: clear pcie cntl5 for save power [1/1]
PD#SWPL-4583
Problem:
cntl5 caused power increase
Solution:
clear pcie cntl5 when pcie clk disabled
Verify:
test pass on g12a skt
Change-Id: I495590af2ccb81eb5ae90c86008679def8673a70
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Jianxiong Pan [Mon, 25 Feb 2019 08:41:15 +0000 (16:41 +0800)]
dts: fix amlogic-dt-id error in g12b dts. [1/1]
PD#SWPL-5020
Problem:
amlogic-dt-id error in g12b dts.
Solution:
specify amlogic-dt-id by dts name.
Verify:
local test.
Change-Id: I11a737ec61221c2dc9fcd4e3761c380ac5b5044b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Jianxiong Pan [Fri, 15 Feb 2019 12:07:42 +0000 (20:07 +0800)]
printk: fix print_time bug when run dmesg [1/1]
PD#SWPL-4900
Problem:
printk_prefix() passes NULL buf to print_time() to get the length of
the time prefix; when printk times are enable, the current code just
return "snprint(NULL, 0, "[%5lu.000000]", (unsigned long)ts)"
but in the SMP case, we add cpu core id at the end of time prefix, the
format is "[%5lu, %06lu@%d]", this gives a wrong size(shorter).
this will make buf get out of boundary, when run dmesg.
Solution:
replace [%5lu.000000] with [%5lu.000000@0]
Verify:
g12a-u200
Change-Id: Ic74b9f466b5af5aac7e6569a1afc7a46d9594050
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
yujie.wu [Fri, 22 Feb 2019 05:47:22 +0000 (13:47 +0800)]
audio: Add binv setting [1/2]
PD#SWPL-4733
Problem:
The Speaker has noise
Solution:
The binv is not correct for TDM out c,
we will use amixer to set it
Verify:
A113
Change-Id: I7c8af8e00e3c8834533347947630a6944b7e2136
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
yujie.wu [Wed, 20 Feb 2019 06:43:10 +0000 (14:43 +0800)]
audio: Fix Linein Not work [2/2]
PD#SWPL-4737
Problem:
HDMI in and Line in use the same device.
But their input I2S inskew is not same.
Solution:
We need use separate skew setting for different
source.
Verify:
A113
Change-Id: I8e306af06d9c9d614c4032f2030dbedb64a7f6df
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
changqing.gao [Thu, 21 Feb 2019 09:19:06 +0000 (17:19 +0800)]
mm: The first 1MB mem is wasted for CPU series coming after TXLX [1/1]
PD#SWPL-3744
Problem:
For the previous Amlogic CPU series(before TXLX), the CPU booting vector
locates at physical address starting from 0x00. To avoid influencing cpu
booting procedure, we have to reserve the first 1MB physical memory. But
it has changed since TXLX, the normal text section can safely use 0~1M
physical address. So it's no need to reserve the first 1MB in DTS.
Solution:
Change the starting address of usable memory from 0x100000 to 0x0 for CPU
series coming after TXLX.
Verify:
Locally on W400
Change-Id: I2df7859a38feca48abd58459e8b231ee15ada9e2
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
Jianxiong Pan [Tue, 19 Feb 2019 06:57:21 +0000 (14:57 +0800)]
dts: fix the warnings when compiling the g12a device tree. [1/1]
PD#SWPL-4967
Problem:
warning when compiling the g12a device tree.
Solution:
fix the warning.
Verify:
locall.
Change-Id: I1f93c788d1914441e48305c04330701bfd718b87
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Jianxiong Pan [Thu, 21 Feb 2019 05:36:09 +0000 (13:36 +0800)]
config: fix compile error for axg-s400. [1/1]
PD#SWPL-5059
Problem:
compile error.
Solution:
add CONFIG_AMLOGIC_VIDEOSYNC which already exist in 64bit config
Verify:
locall.
Change-Id: I6d35b9388bbe1c28110cfce17f00de2a5b72f08e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Jihong Sui [Mon, 21 Jan 2019 08:52:35 +0000 (16:52 +0800)]
deinterlace: modify suspend function [1/1]
PD#SWPL-4196
Problem:
atv suspend/resume, DI deadlock causing hangup
Solution:
add unreg process and clear timer/tasklet
Verify:
tl1
Change-Id: Id50de8649455f0a2f77ad2fcb585bf233d5c362f
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Jianxiong Pan [Tue, 19 Feb 2019 05:01:57 +0000 (13:01 +0800)]
dts: g12b: copy g12b dts [1/1]
PD#SWPL-5020
Problem:
copy g12b dts.
Solution:
copy.
Verify:
local.
Change-Id: Ibd6423bd0cc99e98bf1d6359068f9f0719ad177f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
yicheng shen [Thu, 21 Feb 2019 12:01:13 +0000 (07:01 -0500)]
hdmirx: fix it_content info error issue [1/1]
PD#SWPL-4981
Problem:
it_content info is not correct
Solution:
optimize the method for getting it content
Verify:
TL1
Change-Id: Ie9202b6496742af6d880ae22f3f8f6154db8629a
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Zongdong Jiao [Fri, 22 Feb 2019 01:53:13 +0000 (09:53 +0800)]
hdmitx: rename HDMI_IEEE_OUI to avoid conflicts [1/1]
PD#SWPL-4705
Problem:
In 61207 patch, the define HDMI_IEEE_OUI is conflicted with the kernel
head file include/linux/hdmi.h
Solution:
rename HDMI_IEEE_OUI
Verify:
GXL/P212
Change-Id: I75a12734e85478f22edf0b48636ed86e60302b58
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Shaochan Liu [Fri, 18 Jan 2019 11:35:36 +0000 (19:35 +0800)]
lcd: add wait for gpio input value support in lcd power step [2/2]
PD#SWPL-3938
Problem:
add wait for gpio input value support in lcd power step
Solution:
add wait for gpio input value support in lcd power step
Verify:
verify by t962x-r311
Change-Id: Ie1c4ec6f9f5d91332b6b20e1d1bd2adde17e547b
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Shaochan Liu [Wed, 20 Feb 2019 06:55:29 +0000 (14:55 +0800)]
lcd: unify lcd driver frame_rate change function [1/1]
PD#SWPL-4680
Problem:
unify lcd driver frame_rate change function
Solution:
create a unified api(lcd_clk_change) to management the function
Verify:
verify by t962x2-r311
Change-Id: I1ab378aa2556db0636aabe8c20f3b97845b8184f
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Evoke Zhang [Tue, 22 Jan 2019 10:29:31 +0000 (18:29 +0800)]
lcd: optimize tcon_pll for tl1 [1/1]
PD#SWPL-3493
Problem:
tl1 can imporve tcon_pll performance
Solution:
1.update tcon_pll cntl2 register
2.extend ss_level to 12 level
Verify:
x301
Change-Id: Id10479196529083d2bf5048695a682793a4945ca
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Evoke Zhang [Mon, 11 Feb 2019 09:34:23 +0000 (17:34 +0800)]
lcd: tcon: change axi_mem cma alloc api to avoid memory clear [1/1]
PD#SWPL-4554
Problem:
tcon axi memory will clear when enter kernel
Solution:
change axi_mem cma alloc api
Verify:
t309
Change-Id: Ied6ef9976e503c597818a73109b222868c0f0387
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Nian Jing [Wed, 13 Feb 2019 06:28:18 +0000 (14:28 +0800)]
avin: fix avin detect incorrect report [1/1]
PD#SWPL-4840
Problem:
avin detect compare level setting too high
Solution:
adjust the compare level to 635mv
Verify:
x301
Change-Id: I5246482338b3181d98a3836dcff09a3f33da113e
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Bichao Zheng [Tue, 15 Jan 2019 08:46:00 +0000 (16:46 +0800)]
arm: dts: update vddcpu pwm regulator voltage-table [1/1]
PD#SWPL-4225
Problem:
TL1 hardware update DCDC of vddcpu
Solution:
update vddcpu voltage-table
[old]
voltage range: 1021mv - 721mv step size: 10mv step: 30
[new]
voltage range: 1049mv - 689mv step size: 10mv step: 36
Verify:
test pass on tl1_X301_v1 tl1_skt_v1
Change-Id: I3adea525940737490197566a8c85b5b00c375ed0
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Bichao Zheng [Wed, 16 Jan 2019 06:21:43 +0000 (14:21 +0800)]
pwm: meson: add relative_duty interface in pwm sysfs [1/1]
PD#SWPL-4225
Problem:
This interface is added to facilitate debugging the voltage-
table in pwm regulator, which can output different percentages
of waveforms in a fixed pwm cycle.
example:
echo 50 100 > sys/class/pwm/pwmchipx/pwmx/relative_duty
output 50% duty pwm
Solution:
add relative_duty interface in pwm sysfs
Verify:
test pass on tl1_X301_v1 tl1_skt_v1
Change-Id: Icd01e681694b81f3790f7cce8c326db02674a48c
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Che Song [Fri, 22 Feb 2019 03:06:12 +0000 (11:06 +0800)]
audio: fix tas5808 no sound [1/1]
PD#SWPL-3081
Problem:
1,lack suspend/resume function
2,lack reset pin control
Solution:
1,add suspend/resume function
2, add reset pin control
Verify:
962x2
Signed-off-by: Che Song <che.song@amlogic.com>
Change-Id: I1cb920fdba4ad32048518fdad93e3a5a81039dd9
Jiamin Ma [Tue, 19 Feb 2019 10:19:27 +0000 (18:19 +0800)]
debug: fail to show active cpu stacks [1/1]
PD#SWPL-4718
Problem:
Will have "PC=0, LR=0" issue when try to
show active cpu stacks via sysrq
Solution:
Save the addr of current interrupted task's context to the
interrupt stack first, so that we can easily obtain pt_regs
later
Verify:
Locally on Ampere
Change-Id: I1cc5095e0ec356bed90f76cdf9af1b2617ce7834
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Zhongfu Luo [Wed, 30 Jan 2019 05:58:10 +0000 (13:58 +0800)]
defendkey: TL1: support secure upgrade check [4/4]
PD#SWPL-5002
Problem:
TL1 need to support defendkey secure upgrade check
Solution:
1.modify the way of get random
Verify:
TL1 skt board verify pass
Change-Id: I76b29800de787c5e5b18e023d84c1161c9b1643a
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
Zhongfu Luo [Wed, 30 Jan 2019 07:16:47 +0000 (15:16 +0800)]
dts: TL1: defendkey: support secure upgrade check [3/4]
PD#SWPL-5002
Problem:
TL1 need to support defendkey secure upgrade check
Solution:
1.add defendkey support in TL1 dts
Verify:
TL1 skt board verify pass
Change-Id: If77408e86f10a25ab2aee29d81550c8dff1a486e
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
Zongdong Jiao [Mon, 18 Feb 2019 09:33:22 +0000 (04:33 -0500)]
hdmitx: add auto low latency mode(ALLM) [1/1]
PD#SWPL-4705
Problem:
Lack ALLM function
Solution:
Add ALLM function
Verify:
GXL/P212
If Rx supports ALLM, then
echo 1 > /sys/class/amhdmitx/amhdmitx0/allm_mode
otherwise it will set failed, cat allm_mode and will get 0.
Change-Id: I00233e5a5aac133b405590e7df78c7c4805ed0ef
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Hanjie Lin [Mon, 18 Feb 2019 12:03:16 +0000 (20:03 +0800)]
perf: arm: enable pmuserenr [1/1]
PD#SWPL-4673
Problem:
userspace can't access perf monitor cnt with "mrc ... c9,c13,0"
Solution:
actually userspace should check perf monitor cnt access permissions first
before use, so this is a workround.
enable pmuserenr with "mcr ... c9,c14,0" in several places:
1, perf probe
2, cpu idle (state>0) exit
3, cpu online
4, system resume after suspend
Verify:
u212
Change-Id: Ib09682d1d47545dfef8b088283ddbbf390630d3e
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Guosong Zhou [Tue, 19 Feb 2019 06:43:42 +0000 (01:43 -0500)]
camera: config adapter buffer size from dts [1/2]
PD#SWPL-4934
Problem:
kernel panic when adjust adapter memory size
Solution:
config adapter buffer size from dts
Verify:
verify by w411
Change-Id: Ie66cf57e870e140dd63516672c7f90f7d9ddda72
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Jiamin Ma [Mon, 18 Feb 2019 08:44:22 +0000 (16:44 +0800)]
license: add missing license header [1/1]
PD#SWPL-4728
Problem:
Missing license header
Solution:
Add correct license header
Verify:
Compling passed
Change-Id: I291a41172f9ecf2cde7f7705e99ecb20567c9c8f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Hanjie Lin [Tue, 19 Feb 2019 05:42:16 +0000 (13:42 +0800)]
perf: fix sys_cpu_status0 reg error dts [1/1]
PD#SWPL-4843
Problem:
CtsSimpleperfTestCases 1 Fail on p231
Solution:
gxl,gxm,txl perf sys_cpu_status0 reg config error
modify it
Verify:
p212
Change-Id: Ie6e8747e8e4f02734bd7883ce6dcbc3fd3d28829
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Nan Li [Thu, 14 Feb 2019 02:43:31 +0000 (10:43 +0800)]
sd: add sduart not supported flag [1/1]
PD#SWPL-4858
Problem:
tl1 not support sduart
Solution:
add not supported flag in match_data
Verify:
verify by tl1 skt
Change-Id: I651765433bb62892fad770c85a5eccd4805e7c79
Signed-off-by: Nan Li <nan.li@amlogic.com>
Nan Li [Fri, 1 Feb 2019 01:59:00 +0000 (09:59 +0800)]
emmc: optimize the conditions of fixdiv calc [1/1]
PD#SWPL-4857
Problem:
fixdiv calc Affect the use of other chips
Solution:
Adjust the usage conditions for the fixdiv calc func, witch
pdata->calc_f from dts.
Verify:
verify by g12b
Change-Id: I9598e2a24f76c76f4312c2694029fe4bb0f534d4
Signed-off-by: Nan Li <nan.li@amlogic.com>
Shuai Li [Fri, 15 Feb 2019 02:39:14 +0000 (10:39 +0800)]
audio: remove unused PDM controls which cause panic [1/1]
PD#SWPL-3907
Problem:
PDM controls are dynamically added or removed.
This will bring in panic.
Solution:
Remove the unused controls.
Verify:
Need stress test.
Change-Id: I69f63a0516e0812e9abb86e42f091ecb496004d4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Bichao Zheng [Fri, 15 Feb 2019 08:34:28 +0000 (16:34 +0800)]
gpio_led: g12a: give up using led-trigger cpu0 [1/1]
PD#SWPL-4876
Problem:
32bit will operate led-trigger cpu0 in cpu idle enter/exit causing
system led flashing.
Solution:
give up using led-trigger cpu0.
Verify:
g12a_u211 g12a_u212
Change-Id: I106a4fe0e35923919f5bbc34113fa73a4ca28577
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Tao Zeng [Mon, 18 Feb 2019 06:53:09 +0000 (14:53 +0800)]
mm: reclaim for unevictable cma pages [1/1]
PD#SWPL-3902
Problem:
If cma page is unevictable, migrate it will cost long time.
Solution:
1. Recalim unevictable cma file cache pages.
2. Using CMA after first water mark not ok.
Verify:
einstern
Change-Id: I0ecbf5dd535cb034430c4ea623891e7a7ae6e4dd
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
changqing.gao [Fri, 25 Jan 2019 11:00:05 +0000 (19:00 +0800)]
ramdump: support ramdump for g12b/gxl [6/6]
PD#SWPL-4350
Problem:
ramdump is not enabled on g12b/gxl.
Solution:
Add ramdump support on g12b/gxl in bl2.
Verify:
verified on g12b_w400_v1/gxl_p212_v1.
Change-Id: I3520fea366af332ef113809560587eeb4db7b6c5
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
Brian Zhu [Mon, 18 Feb 2019 13:56:29 +0000 (21:56 +0800)]
vpp: correct the vpp dummy reg for g12a/g12b/tl1 [1/1]
PD#TV-1565
Problem:
After g12a chip, vpp post dummy reg was changed. The
test_screen/rgb_screen sysfs did not work.
Solution:
Use the correct vpp post dummy reg for those chip
Verify:
Verified on X301 and W400
Change-Id: I1cb718a1f7040804b63d0197de0bb6aafe233357
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
yuehu mi [Thu, 17 Jan 2019 12:51:44 +0000 (20:51 +0800)]
usb: remove usbphy reset 500ms wait [1/1]
PD#SWPL-4949
Problem:
kernel slow startup
Solution:
remove usbphy reset 500ms wait
Verify:
marconi platform insert U disk, power on boot verify OK
Change-Id: Ieb01e59ad428f98c3df303c7b3bee28397970c74
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
Dianzhong Huo [Wed, 13 Feb 2019 02:36:29 +0000 (10:36 +0800)]
uart: change baud rate minimum value to 2400 [1/1]
PD#SH-327
Problem:
uart default min baud rate was set 9600, but PTZ PELCO-D
and PELCO-P need uart driver support 2400 and 4800 baud rate
Solution:
change baud rate minimum value to 2400
Verify:
Local
Change-Id: Iee20ea30a95b89f89a59fab95cecf7d559cbff51
Signed-off-by: Dianzhong Huo <dianzhong.huo@amlogic.com>
Pengcheng Chen [Sat, 2 Feb 2019 07:42:04 +0000 (15:42 +0800)]
gdc: unmap gdc dma_buf after gdc process stop [2/2]
PD#SWPL-4839
Problem:
have risk of unmap gdc dma_buf
Solution:
unmap gdc dma_buf after gdc process stop
Verify:
verify by w400
Change-Id: If86ac881fd85a5c4b3583567c9748e87149c1d78
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Pengcheng Chen [Sat, 2 Feb 2019 10:00:28 +0000 (18:00 +0800)]
ge2d: unmap ge2d dma_buf after ge2d process finished [1/2]
PD#SWPL-4839
Problem:
have risk of unmap ge2d dma_buf
Solution:
unmap ge2d dma_buf after ge2d process finished
Verify:
verify by w400
Change-Id: Ia84786b297f8e95cc9efc038300917c98d6b73f6
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Xing Wang [Mon, 18 Feb 2019 03:08:23 +0000 (11:08 +0800)]
audio: auge: fix hw resample crash when pcm disabled [1/1]
PD#SWPL-4387
Problem:
system would reboot when carshed by hw resample
Solution:
actrl of toddr is modified to null pointer, so it leads to crash.
fix to pass toddr pointer to function, not fetched by resample module.
Verify:
x301
Change-Id: I91c30260ee825d843e8ed17304031382b42ac119
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Hanjie Lin [Thu, 31 Jan 2019 02:58:01 +0000 (10:58 +0800)]
sched: eas: add sched-energy support for gxm [1/1]
PD#SWPL-4651
Problem:
Kernel 32bit Support for S912(kernel 4.9)
Solution:
add arm/arm64 sched-energy dts
Verify:
q201
Change-Id: I13077632b730d5f2b1427b3d9bee9ff24031cfcd
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Shuyu Li [Wed, 23 Jan 2019 11:11:46 +0000 (19:11 +0800)]
audio: codec: The tl1_acodec_probe takes 340ms time [1/1]
PD#SWPL-4345
Problem:
The tl1_acodec_probe operation takes 340ms time
Solution:
Using workqueue to replace the msleep func
Verify:
verify on T962x2_X309 board
Change-Id: I5316beb8a0e94ae022c948ec112b6fb219050212
Signed-off-by: Shuyu Li <shuyu.li@amlogic.com>
Tao Zeng [Fri, 15 Feb 2019 06:17:36 +0000 (14:17 +0800)]
mm: close vmap stack print for armv7 [1/1]
PD#SWPL-2681
Problem:
If cpu support idle/hotplug, there are many vmap stack prints:
[ 74.096973@1] cpu 1, vmap stack:[
e8e90000-
e8e91de0]
[ 74.097084@1] cpu 1, irq stack:[
e8e92000-
e8e93de0]
[ 74.105901@3] cpu 3, vmap stack:[
e8ee0000-
e8ee1de0]
[ 74.105984@3] cpu 3, irq stack:[
e8ee2000-
e8ee3de0]
Solution:
Close these debug print
Verify:
P212
Change-Id: I000df1f0952328af9f359f20341eb0fe88590056
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
jinrong.liao [Tue, 29 Jan 2019 07:23:14 +0000 (15:23 +0800)]
audio: enable spdif driver [1/1]
PD#SWPL-4223
Problem:
Add audio source switch feature for GVA
Solution:
enable spdif driver in dts
Verify:
verify by S420
Change-Id: Ia71b27ba95124b84415ec4f532fd344a24633911
Signed-off-by: jinrong.liao <jinrong.liao@amlogic.com>
Chao Liu [Tue, 12 Feb 2019 09:38:30 +0000 (17:38 +0800)]
dts: g12a/b: config hw rng with dts [1/1]
PD#OTT-2062
Problem:
Boot up time with power cable is longer than boot up with usb cable
Solution:
config hw rng with dts
Verify:
android p + u212
Change-Id: I61613e945dbc9be06f2cbb29aae5043c84fca1de
Signed-off-by: Chao Liu <chao.liu@amlogic.com>
Kaifu Hu [Mon, 28 Jan 2019 08:01:19 +0000 (16:01 +0800)]
hdmitx: add 3d framepack mode support [1/1]
PD#SWPL-4233
Problem:
3D framepacking mode display black screen
Solution:
Add vinfo 3d flag and hdmitx update
when work 3d mode
Verify:
U212
Change-Id: Ia2b7b25c9ed401dbec2c487ea2a5c6cc1e0d8b8d
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Jian Wang [Fri, 1 Feb 2019 08:08:05 +0000 (16:08 +0800)]
video: fixed video peek get first frame toggled err [1/1]
PD#SWPL-4048
Problem:
video peek can not get first frame toggled on 64bit
Solution:
add the cmd to amvideo_compat_ioctl
Verify:
verify on p212
Change-Id: I6933f305382d636f5f98f4bf19fddcf6ce9471c1
Signed-off-by: Jian Wang <jian.wang@amlogic.com>
Long Yu [Fri, 14 Dec 2018 09:13:36 +0000 (17:13 +0800)]
storage: emmc: Add HS400 busmode support for TL1 [1/1]
PD#SWPL-2311
Problem:
not support HS400 busmode
Solution:
add HS400 busmode support for TL1
Verify:
TL1-T962X2_X301
Change-Id: I95ac19e9c0c5b84c9225602cda6964aaaee4151e
Signed-off-by: Long Yu <long.yu@amlogic.com>
Pengcheng Chen [Fri, 1 Feb 2019 01:58:04 +0000 (09:58 +0800)]
osd: fix buidroot compile error issue [1/1]
PD#SWPL-4502
Problem:
buidlroot compile error
Solution:
fix buidroot compile error issue
Verify:
buildroot make linux-build
Change-Id: I0277c2b3f439946ab680f4c34f30c16e31ea6034
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
jintao xu [Thu, 31 Jan 2019 11:15:24 +0000 (19:15 +0800)]
omx: add print into level control [1/1]
PD#SWPL-85
Problem:
print into level control
Solution:
print into level control
Verify:
U212
Change-Id: Ib0fdc02f26e75c20e48171bca5ebef072947d78c
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
Jiamin Ma [Thu, 31 Jan 2019 08:41:15 +0000 (16:41 +0800)]
debug: fail to show active cpu stacks [1/1]
PD#SWPL-4718
Problem:
The task stack address is not saved to irq_stack_ptr-0x08,
so when switching from irq stack to task stack, we can not
obtain the right task stack address
Solution:
save task stack address to irq_stack_ptr-0x08
Verify:
Locally on Ampere
Change-Id: I8ad9a45cee33681cc00de3a0bb264dbd9f1b859f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
he.he [Fri, 25 Jan 2019 07:44:08 +0000 (15:44 +0800)]
usb: check SoC rev [1/2]
PD#SWPL-4582
Problem:
Need to check Soc rev to distinguish G12B revB.
Solution:
Check Soc rev set version and phy-interface for g12b revB.
Test: make w400 bootimage
Verify:
pass on W400
Change-Id: I338d7f0eed7bb61660625343404f756f0edf0d54
Signed-off-by: he.he <he.he@amlogic.com>
jintao xu [Wed, 16 Jan 2019 02:14:49 +0000 (10:14 +0800)]
omx: add two layer support [3/6]
PD#SWPL-85
Problem:
Need support two video layers feature
Solution:
1: Add videosync.
2: amlvideo support multi-instance
Verify:
U212
Change-Id: I3570fad361ba5bd388dd46c51a66da056fa7a1fd
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
Pengcheng Chen [Fri, 25 Jan 2019 01:51:11 +0000 (09:51 +0800)]
osd: rdma write miss caused afbc mosaic [1/1]
PD#SWPL-4502
Problem:
afbc mosaic when bandwidth is high, root cause is
rdma write regs missed.
Solution:
1. add vsync line detected, if rdma write nearly
vsync, wait vsync needed
2. add rdma write detected, if rdma write missed
wait vsync needed
3. add tl1/g12b afbc backup
Verify:
Locally on tl1
Change-Id: If4fd303c3808525fa44e1118742a3e26830323f5
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Qianggui Song [Tue, 22 Jan 2019 06:40:06 +0000 (14:40 +0800)]
pinctrl: rename m8b pinmux function gpio to gpio_periphs [1/2]
PD#SWPL-4501
Problem:
All platforms but m8b use "gpio_periphs" as gpio pinctrl function, that
breaks consistency.
Solution:
rename m8b pinctrl function "gpio" to "gpio_periphs" to make it
consistent with code and other platform.
ref:
https://patchwork.kernel.org/patch/
10720219/
Verify:
m200
Change-Id: I940d1e30882cc8b042c02022ed3435a659aa3921
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Yingyuan Zhu [Thu, 17 Jan 2019 11:02:20 +0000 (19:02 +0800)]
jtag: meson: fix jtag pinmux settings issue [2/2]
PD#SWPL-4501
Problem:
Standard pinmux APIs were not used
Solution:
Setting pinmux instead of require for gpio
Verify:
tl1,g12a,g12b,axg,txl,txlx,gxl
Change-Id: I0ad88f414832686d795d252f70e81a34f6cb0f9e
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
Brian Zhu [Thu, 17 Jan 2019 19:25:21 +0000 (03:25 +0800)]
vpp: add osd and video zorder control [2/6]
PD#SWPL-85
Problem:
Upper layer need control osd and video layer zorder
Solution:
1.Add video layer zorder interface by sysfs and ioctl
2.Switch the osd and video layer order in vsync
Verify:
Verify on U212
Change-Id: Ic50e81784b865cc57e4ab9a63d74806f7a8721cf
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>