platform/kernel/linux-amlogic.git
5 years agocompile: fix smarthome compile error [1/1]
Jianxin Pan [Sat, 30 Mar 2019 16:32:00 +0000 (00:32 +0800)]
compile: fix smarthome compile error [1/1]

PD#SWPL-6186

Problem:
smarthome compile error

Solution:
fix smarthome compile error

Verify:
compile OK

Change-Id: I6909374b8abbeac8ccb4bca760208d309d24f4bd
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
5 years agocpufreq: dts: adjust cpufreq table for g12b [1/1]
Hong Guo [Fri, 15 Mar 2019 07:06:25 +0000 (15:06 +0800)]
cpufreq: dts: adjust cpufreq table for g12b [1/1]

PD#SWPL-5975

Problem:
adjust cpufreq table for g12b

Solution:
adjust cpufreq table for g12b

Verify:
test pass on g12b_w400

Change-Id: I037ab2a1718a2aae0f42a15b7d95f163bc77ca85
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agoaudio: add HW resample for HDMIRX [1/1]
Shuai Li [Wed, 27 Mar 2019 08:37:00 +0000 (16:37 +0800)]
audio: add HW resample for HDMIRX [1/1]

PD#SWPL-6118

Problem:
No resample will cause mismatch between
input and output if they are not at same
samplerate.

Solution:
Add resample for hdmirx case

Verify:
Local tested.

Change-Id: I298e401578bf49484d6b75fd736d2a74c38508e4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
5 years agovideo: reuse initial phase [1/1]
shuanglong.wang [Wed, 20 Mar 2019 08:25:57 +0000 (16:25 +0800)]
video: reuse initial phase [1/1]

PD#SWPL-5664

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

Solution:
reuse initial phase that Tim use in amazon

Verify:
verify by u212

Change-Id: I5d988e1c3a3dbf1bb728f55a921e8b8fb6990985
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
5 years agotvafe: lower shutdown power for tl1 [1/1]
Nian Jing [Wed, 27 Mar 2019 11:04:53 +0000 (19:04 +0800)]
tvafe: lower shutdown power for tl1 [1/1]

PD#SWPL-6165

Problem:
TL1 vdee power too high when shutdown

Solution:
close bandgap when shut down for tl1
close vafe ctrl
close adc pll

Verify:
X301

Change-Id: I374bbe09ecdd456ea07f1fda3391acd4ab0bc949
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agoPPMGR: modify phys_to_virt to codec_mm_vmap. [5/5]
renjiang.han [Thu, 21 Mar 2019 03:16:43 +0000 (11:16 +0800)]
PPMGR: modify phys_to_virt to codec_mm_vmap. [5/5]

PD#TV-2649

Problem:
Kernel panic with phys_to_virt.

Solution:
Replace phys_to_virt with codec_mm_vmap.

Verify:
on u212

Change-Id: Ib3f94f66d37463490720cd1348b4ec94ad12aa15
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
5 years agoge2d: sm1: add ge2d power control [1/1]
Jian Cao [Thu, 28 Mar 2019 09:42:39 +0000 (17:42 +0800)]
ge2d: sm1: add ge2d power control [1/1]

PD#SWPL-6186

Problem:
add ge2d power control

Solution:
add ge2d power control

Verify:
SM1-AC200 board

Change-Id: I3ea08c4d800f78e5187b6ae334849db02309ce0e
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agousb: add NN power control [1/1]
cancan.chang [Fri, 29 Mar 2019 10:00:49 +0000 (18:00 +0800)]
usb: add NN power control [1/1]

PD#SWPL-5380

Problem:
add NN power control

Solution:
add NN power control

Verify:
sm1

Test: pass

Change-Id: I729d782181490fc31b0b18bb27718ad12b3937c0
Signed-off-by: cancan.chang <cancan.chang@amlogic.com>
5 years agousb: add usb power control [1/1]
Yue Wang [Fri, 29 Mar 2019 09:32:18 +0000 (17:32 +0800)]
usb: add usb power control [1/1]

PD#SWPL-6186

Problem:
add usb power control

Solution:
add usb power control

Verify:
sm1

Test: pass
Change-Id: I6c2822105ae02f955e56dc4d64163e8e14a7e329
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
5 years agoaudio: fixed conflict of SM1-bringup and mainline [1/1]
Zhe Wang [Fri, 29 Mar 2019 09:21:05 +0000 (17:21 +0800)]
audio: fixed conflict of SM1-bringup and mainline [1/1]

PD#SWPL-6486

Problem:
merge to mainline conflict.

Solution:
add clk change in dts

Verify:
sm1_ac200, verify pass

Change-Id: I37e7317cd795cd8cb9815ff20db49bc8644f0087
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
5 years agopower: sm1: add power control driver [1/1]
Shunzhou Jiang [Thu, 21 Mar 2019 09:43:57 +0000 (17:43 +0800)]
power: sm1: add power control driver [1/1]

PD#SWPL-6186

Problem:
add power control register

Solution:
avoid same register access at the same time

Verify:
sm1_skt

Change-Id: I0ec61cda9721c1b95a9d78f7884458f442581fe5
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agoCPUFREQ: update cpufreq tables for sm1. [1/1]
Hong Guo [Mon, 25 Mar 2019 09:08:59 +0000 (17:08 +0800)]
CPUFREQ: update cpufreq tables for sm1. [1/1]

PD#SWPL-6205

Problem:
update cpufreq tables.

Solution:
update cpufreq tables.

Verify:
sm1_ac200, verify pass

Change-Id: I360264df88981a16267a20896f97c93dbd0e4b37
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agoaudio: auge: support earc rx for sm1 [1/2]
Xing Wang [Sat, 23 Mar 2019 10:12:24 +0000 (18:12 +0800)]
audio: auge: support earc rx for sm1 [1/2]

PD#SWPL-5389

Problem:
earc rx dmac reset and clk issue

Solution:
fix earc rx dmac and clk

Verify:
ac200

Change-Id: Ie8e5582f1ee358a8cf694965c9963ae1eeb6685a
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agoNNA: add NNA support on sm1 [1/1]
cancan.chang [Mon, 25 Mar 2019 10:42:53 +0000 (18:42 +0800)]
NNA: add NNA support on sm1 [1/1]

PD#SWPL-5380

Problem:
sm1 not support NNA now.

Solution:
add NNA support.

Verify:
sm1_ac200 & sm1_skt

Change-Id: I3de566bbc730ef69f26160ad9f915ac92b4f2e2b
Signed-off-by: Cancan Chang <cancan.chang@amlogic.com>
5 years agoclk: sm1: add sm1 special clk [1/1]
Shunzhou Jiang [Fri, 22 Mar 2019 11:09:42 +0000 (19:09 +0800)]
clk: sm1: add sm1 special clk [1/1]

PD#SWPL-5407

Problem:
not include sm1 special defined clk

Solution:
add this clk

Verify:
sm1_skt

Change-Id: Iaf20aebe377d077d95eb053f7eea99473e3ac45d
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agocec: add change for sm1 [1/1]
Hang Cheng [Fri, 22 Mar 2019 07:58:50 +0000 (15:58 +0800)]
cec: add change for sm1 [1/1]

PD#SWPL-5419

Problem:
cec change for sm1

Solution:
add cec change for sm1

Verify:
ac200

Change-Id: Ic808e4bd128358b7f10c7f0b21a629d72f1c71cc
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
5 years agovdin: add sm1 support [1/1]
Evoke Zhang [Mon, 18 Mar 2019 11:48:02 +0000 (19:48 +0800)]
vdin: add sm1 support [1/1]

PD#SWPL-6065

Problem:
need add vdin support for sm1

Solution:
add vdin support for sm1

Verify:
pxp

Change-Id: I55af5273607a88f4e5a2394de0acbb44811da8f9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoirqchip: sm1 support double-edge gpio irq trigger [1/1]
Qianggui Song [Fri, 8 Mar 2019 07:40:42 +0000 (15:40 +0800)]
irqchip: sm1 support double-edge gpio irq trigger [1/1]

PD#SWPL-5395

Problem:
sm1 support double-edge trigger, current code do not support.

Solution:
add relatvie bitmask to support this function.

Verify:
ptm & sm1_skt

Change-Id: I48ebc9b38db868f946c49b6fd5f98d427b2669df
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
5 years agoaudio: auge: support av out and amp spk for sm1 [1/2]
Xing Wang [Thu, 21 Mar 2019 14:52:17 +0000 (22:52 +0800)]
audio: auge: support av out and amp spk for sm1 [1/2]

PD#SWPL-6192

Problem:
no sound from av and amp spk

Solution:
1) fix tocodec for sm1
2) add no mclk control for ad82584

Verify:
ac200

Change-Id: I63f0ec94d2f5b980249ac5c9c810c8e4d8410ea3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agodvb: sm1 bringup add one asyncfifo [2/2]
Chuangcheng Peng [Fri, 22 Mar 2019 10:08:48 +0000 (18:08 +0800)]
dvb: sm1 bringup add one asyncfifo [2/2]

PD#SWPL-5403

Problem:
demux add one asyncfifo, need compatile

Solution:
demux compatile with previous code.

Verify:
verify at sm1

Change-Id: Iea0b7b5f69d3200062b9e757f2712b98926fb3b9
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
5 years agodi: add di for sm1 bringup [1/1]
Yong Qin [Fri, 22 Mar 2019 12:41:15 +0000 (20:41 +0800)]
di: add di for sm1 bringup [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
add the chipid

Verify:
sm

Change-Id: I9b738efea210b4fb3deb2dab9de6a443aabadb53
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agodts: add dts-id for sm1 and g12a_u200. [1/1]
Jianxiong Pan [Fri, 22 Mar 2019 06:48:48 +0000 (14:48 +0800)]
dts: add dts-id for sm1 and g12a_u200. [1/1]

PD#SWPL-5865

Problem:
add dts-id for sm1 and g12a.

Solution:
sm1_ac200_2g
g12a_u200_1g
g12a_u200_2g

Verify:
no test.

Change-Id: Id09b2b811529d11b85898e5f3e83f558dc7ba5f6
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agoCPUFREQ: delete different cpufreq tables for sm1. [1/1]
Hong Guo [Fri, 22 Mar 2019 06:09:36 +0000 (14:09 +0800)]
CPUFREQ: delete different cpufreq tables for sm1. [1/1]

PD#SWPL-6205

Problem:
delete different cpufreq tables.

Solution:
delete different cpufreq tables.

Verify:
sm1_ac200, verify pass

Change-Id: I99142d2f99847f45eafc876a1b2d785a28815e15
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agodts: arm: disable cpu idle [1/1]
Hanjie Lin [Fri, 22 Mar 2019 06:04:22 +0000 (14:04 +0800)]
dts: arm: disable cpu idle [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
cpu idle has not ready, disable it

Verify:
AC200

Change-Id: I5dd4bf8d2940587b10b8c85ff64122ce931bfb85
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
5 years agoge2d: change ge2d to independent power [1/1]
Jian Cao [Wed, 20 Mar 2019 09:37:08 +0000 (17:37 +0800)]
ge2d: change ge2d to independent power [1/1]

PD#SWPL-5391

Problem:
change ge2d to independent power

Solution:
add independent power switch

Verify:
verified on SM1-AC200 board

Change-Id: Ifce980fc88753db63317c11bc1126e492b677a64
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agolcd: add mipi-dsi support for sm1 [2/2]
Evoke Zhang [Wed, 20 Mar 2019 10:54:47 +0000 (18:54 +0800)]
lcd: add mipi-dsi support for sm1 [2/2]

PD#SWPL-6114

Problem:
add mipi-dsi support for sm1

Solution:
add lcd_chip_sm1

Verify:
verify by S905x3

Change-Id: I1b95676ad1300f8cbf859f89b557f680cccff117
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agoaudio: auge: add sound card for sm1 [2/2]
Xing Wang [Wed, 20 Mar 2019 14:44:51 +0000 (22:44 +0800)]
audio: auge: add sound card for sm1 [2/2]

PD#SWPL-6151

Problem:
sound card for sm1

Solution:
add sound card for sm1

Verify:
ac200

Change-Id: I4f65472af7a8399fb6fe003db608158e11bed566
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agosm1: emmc run hs200 busmode [1/1]
ruixuan.li [Wed, 20 Mar 2019 16:21:10 +0000 (00:21 +0800)]
sm1: emmc run hs200 busmode [1/1]

PD#SWPL-5404

Problem:
emmc report data crc error in hs200 busmode

Solution:
set hs200 co_phase to 2 and did not reset the
hs200 co_phase and tx_phase when adjust tuning is
find the error point in sm1

Verify:
verify pass on sm1_s905d3_ac200

Change-Id: I56aa8eb666fb55641db75878a3488f66c721bd6d
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
5 years agodebug: add atrace support [1/1]
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: Ieee441fc75b6f83e8e8a22350a402ec7e77f1134
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
5 years agodts: sm1: add sound card config [1/2]
Xing Wang [Wed, 20 Mar 2019 14:11:44 +0000 (22:11 +0800)]
dts: sm1: add sound card config [1/2]

PD#SWPL-6151

Problem:
sound card for sm1

Solution:
add sound card for sm1

Verify:
ac200

Change-Id: I1de0cfe1748d401ab0e21b0a244def37b277b1ff
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agodts: sm1: dts enable sdio node. [1/1]
Qiang Li [Wed, 20 Mar 2019 15:21:45 +0000 (23:21 +0800)]
dts: sm1: dts enable sdio node. [1/1]

PD#SWPL-5409

Problem:
dts sdio node disable.

Solution:
dts enable sdio node.

Verify:
SM1_AC200

Change-Id: Ifd33de0f08adb202af07eee13db8894fdf0c77fa
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
5 years agosm1: modify 400k co_phase [1/1]
ruixuan.li [Wed, 20 Mar 2019 11:06:24 +0000 (19:06 +0800)]
sm1: modify 400k co_phase [1/1]

PD#SWPL-5404

Problem:
emmc report response crc error in high speed mode

Solution:
modify 400k co_phas

Verify:
verify on ac200

Change-Id: I8bd0cbeb121e7a35a5f96791449187150e650d9e
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
5 years agocvbs: add cvbs support for sm1 [1/1]
Nian Jing [Wed, 20 Mar 2019 03:26:28 +0000 (11:26 +0800)]
cvbs: add cvbs support for sm1 [1/1]

PD#SWPL-6112

Problem:
need add cvbsout support for sm1

Solution:
add cvbsout support for sm1

Verify:
sm1

Change-Id: I037fbdb41b823d9ef93a9069f3798f8d38ac5796
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agodv: dv bringup for sm1 [1/1]
Yi Zhou [Mon, 18 Mar 2019 08:53:42 +0000 (16:53 +0800)]
dv: dv bringup for sm1 [1/1]

PD#SWPL-5408

Problem:
dv bringup for sm1

Solution:
dv bringup for sm1, add chip id

Verify:
sm1 ptm

Change-Id: Ifbf175cb5c495949f5e4bd02b98690f08239a735
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agoclk: sm1: add clk measure driver [1/2]
Shunzhou Jiang [Wed, 20 Mar 2019 07:33:25 +0000 (15:33 +0800)]
clk: sm1: add clk measure driver [1/2]

PD#SWPL-5407

Problem:
sm1 support clk measure

Solution:
support clk measure

Verify:
ac200

Change-Id: I43c74375c16fee73037a1df4e4531c429e1229fd
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agoclk: sm1: add clk measure driver [2/2]
Shunzhou Jiang [Tue, 19 Mar 2019 07:13:53 +0000 (15:13 +0800)]
clk: sm1: add clk measure driver [2/2]

PD#SWPL-5407

Problem:
sm1 support clk measure

Solution:
support clk measure

Verify:
ac200

Change-Id: If87c7c0bc53c8e2bcbf58a685f9ef7ac75462a70
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agovpp: sm1: add vpp and sr support [1/1]
Brian Zhu [Tue, 19 Mar 2019 16:13:20 +0000 (00:13 +0800)]
vpp: sm1: add vpp and sr support [1/1]

PD#SWPL-6101

Problem:
Need vpp and sr supprt for sm1

Solution:
add support for sm1

Verify:
test pass on sm1 ac200

Change-Id: I038ceba52a0b47512767e851d0047a3ee36e351c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agousb: modify usb dts for sm1 [1/1]
Yue Wang [Wed, 20 Mar 2019 07:24:46 +0000 (15:24 +0800)]
usb: modify usb dts for sm1 [1/1]

PD#SWPL-5385

Problem:
SM1 bring up

Solution:
modify usb dts for SM1 bringup

Verify:
g12a

Test: pass

Change-Id: Ie6f2925315ce12b3ad2964cf85aa3f4cee4bf2a7
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
5 years agodts: update chip name. [2/2]
Nanxin.Qin [Wed, 20 Mar 2019 07:46:56 +0000 (15:46 +0800)]
dts: update chip name. [2/2]

PD#SWPL-5261

Problem:
update chip name.

Solution:
the chip name used for media modules.

Verify:
AC200

Change-Id: I229ca3f991b29fdebf10f98dff5173768b910aaa
Signed-off-by: Nanxin.Qin <nanxin.qin@amlogic.com>
5 years agocpu: add the cpuid check interface [1/1]
zhiqiang liang [Wed, 20 Mar 2019 07:00:40 +0000 (15:00 +0800)]
cpu: add the cpuid check interface [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
add the cpuid check interface

Verify:
AC200

Change-Id: Ifa7dd8fb0b6ec621411652acf6b799e69c4069b7
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
5 years agoosd: add osd SM1 feature [1/1]
Pengcheng Chen [Wed, 20 Mar 2019 02:36:09 +0000 (10:36 +0800)]
osd: add osd SM1 feature [1/1]

PD#SWPL-6106

Problem:
bring up osd for SM1

Solution:
add osd SM1 feature

Verify:
Verified on SM1-AC200

Change-Id: I5cba13f7539e48f6cba1ca0fb3abcaad2ba8494d
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agopinctrl: add extra pins for sm1 base on g12b [1/1]
Qianggui Song [Fri, 8 Mar 2019 07:52:57 +0000 (15:52 +0800)]
pinctrl: add extra pins for sm1 base on g12b [1/1]

PD#SWPL-5405

Problem:
sm1 add some new pins base on g12b, pinmux need update.

Solution:
update extra pins to g12b pinmux.

Verify:
pxp

Change-Id: Idbdddb1e64ffb4e5a63ee3a69b5fc40e7ecfcc44
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
5 years agosdcard: sm1: fix dts problem. [2/2]
Qiang Li [Wed, 20 Mar 2019 03:15:04 +0000 (11:15 +0800)]
sdcard: sm1: fix dts problem. [2/2]

PD#SWPL-5409

Problem:
dts compile error.

Solution:
delect sd_emmc_b2 node.

Verify:
SM1_AC200

Change-Id: Ib3965a083fdc3f95a5c0a9de37bff98c898d0993
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
5 years agomedia: add codec support for SM1 [1/1]
Jian Cao [Tue, 19 Mar 2019 11:26:04 +0000 (19:26 +0800)]
media: add codec support for SM1 [1/1]

PD#SWPL-2867

Problem:
bringup codec for SM1.

Solution:
add the register ops for SM1

Verify:
Verified on SM1-AC200

Change-Id: I31db8f0b5816d67664e8161b3dc73574909afe31
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
5 years agosm1: disable emmc calc_f methods [1/1]
ruixuan.li [Tue, 19 Mar 2019 08:54:38 +0000 (16:54 +0800)]
sm1: disable emmc calc_f methods [1/1]

PD#SWPL-5404

Problem:
sm1 usb fixdiv mode set adjust cause error

Solution:
disable emmc calc_f in dtsi.

Verify:
test pass on sm1 ac200

Change-Id: I4459bf4faa2141a9e684b1e5bb95fb806eecbbfa
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
5 years agosdcard: sm1: add sdcard support. [1/2]
Qiang Li [Tue, 19 Mar 2019 06:44:14 +0000 (14:44 +0800)]
sdcard: sm1: add sdcard support. [1/2]

PD#SWPL-5409

Problem:
sm1 sdcard failed.

Solution:
change sm1 sdcard high speed mode co_phase.

Verify:
SM1_AC200

Change-Id: I295c6fac2594e611bf278f83a97bb503fb8bb13b
Signed-off-by: Qiang Li <qiang.li@amlogic.com>
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agovpu: fix mem_pd reg addr mistake [1/1]
Evoke Zhang [Tue, 19 Mar 2019 04:38:30 +0000 (12:38 +0800)]
vpu: fix mem_pd reg addr mistake [1/1]

PD#SWPL-5857

Problem:
vpu_mem_pd register address changed

Solution:
update vpu_mem_pd register address for sm1

Verify:
pxp

Change-Id: Iefcb190b40a5ac949351a4c88bea502e437cd59f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agothermal: dts: enable sm1 thermal [1/1]
Huan Biao [Tue, 19 Mar 2019 07:53:11 +0000 (15:53 +0800)]
thermal: dts: enable sm1 thermal [1/1]

PD#SWPL-6071

Problem:
enable thermal for sm1

Solution:
enable thermal for sm1

Verify:
test pass on sm1_skt

Change-Id: I54fd4431bec1a48135da0b0b9c05cd53d4055a56
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
5 years agovpu: add vpu support for sm1 [1/1]
Evoke Zhang [Thu, 14 Mar 2019 04:30:44 +0000 (12:30 +0800)]
vpu: add vpu support for sm1 [1/1]

PD#SWPL-5857

Problem:
sm1 is a new chip

Solution:
add sm1 support for vpu driver

Verify:
pxp

Change-Id: I88966a26fb4f8f90620081c4d9a86ad21a6e03fc
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agodts: modify the dts for skt and ac200 board [1/1]
zhiqiang liang [Mon, 18 Mar 2019 14:50:37 +0000 (22:50 +0800)]
dts: modify the dts for skt and ac200 board [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
modify the dts for skt and ac200 board

Verify:
AC200

Change-Id: I5e5d52329d7a190ad2b4bd967be837b4ae91ea11
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
5 years agodts: add the chipid for sm1 bringup [1/1]
zhiqiang liang [Mon, 18 Mar 2019 13:01:31 +0000 (21:01 +0800)]
dts: add the chipid for sm1 bringup [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
add the chipid

Verify:
PxP

Change-Id: I7164a4fff39932f81de1b5c4404f1ad0d878484c
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
5 years agodts: sm1: add sm1_s905d3_ac200 and sm1_s905d3_skt dts. [1/1]
Jianxiong Pan [Mon, 18 Mar 2019 06:53:06 +0000 (14:53 +0800)]
dts: sm1: add sm1_s905d3_ac200 and sm1_s905d3_skt dts. [1/1]

PD#SWPL-5865

Problem:
add sm1 dts.

Solution:
copy from g12a_s905d2_u200.dts.

Verify:
no.

Change-Id: Idcd997d2c1a52a247c55ad41b557941314dfcb2c
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agoclk: sm1: add clk driver [1/1]
Shunzhou Jiang [Wed, 6 Mar 2019 06:10:20 +0000 (14:10 +0800)]
clk: sm1: add clk driver [1/1]

PD#SWPL-5407

Problem:
sm1 not have clk driver

Solution:
add clk driver

Verify:
PxP

Change-Id: Id48257d88ef200fd4adb309bf2e4ada1be407753
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
5 years agohdmitx: hdmitx bringup for sm1 [1/1]
Yi Zhou [Mon, 4 Mar 2019 10:57:46 +0000 (18:57 +0800)]
hdmitx: hdmitx bringup for sm1 [1/1]

PD#SWPL-5408

Problem:
hdmitx bringup for sm1

Solution:
hdmitx bringup for sm1, add chip id

Verify:
sm1 ptm

Change-Id: I804dec4b743c660b180b7061d110ab76b9ec0468
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agodts: add the partition info for sm1 bringup [1/1]
zhiqiang liang [Fri, 15 Mar 2019 07:07:16 +0000 (15:07 +0800)]
dts: add the partition info for sm1 bringup [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
add the partition info

Verify:
PxP

Change-Id: I779369d92780f9380cb634a90cabb012df11859d
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
5 years agodts: use mesong12a-bifrost instead [1/1]
Jiyu Yang [Wed, 13 Mar 2019 02:30:06 +0000 (10:30 +0800)]
dts: use mesong12a-bifrost instead [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
commit dts for SM1 bringup

Verify:
PxP

Change-Id: Ifdbc751e2fa9ecb3d747c114ac820ab60021294d
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
5 years agodts: modify dts for SM1 bringup with SMP [1/1]
zhiqiang liang [Wed, 13 Mar 2019 03:14:11 +0000 (11:14 +0800)]
dts: modify dts for SM1 bringup with SMP [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
modify dts for SM1 bringup with smp

Verify:
PxP

Change-Id: Ie83ad7434acfb8c6232a8e373dfc63ef0ba9b87e
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
5 years agodts: rename dts for SM1 bringup [1/1]
zhiqiang liang [Tue, 12 Mar 2019 07:20:22 +0000 (15:20 +0800)]
dts: rename dts for SM1 bringup [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
rename dts for SM1 bringup

Verify:
PxP

Change-Id: I991b6a0fb65cf9a03c6cb75a1ad8823a067e6bdd
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agodts: commit dts for SM1 bringup [1/1]
zhiqiang liang [Mon, 11 Mar 2019 11:46:30 +0000 (19:46 +0800)]
dts: commit dts for SM1 bringup [1/1]

PD#SWPL-5865

Problem:
SM1 bring up

Solution:
commit dts for SM1 bringup

Verify:
PxP

Change-Id: Id117d7ff130c67feb8ca04657d8a4ad463793fed
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
5 years agodtv_demod: add AGC control for board t309 [1/1]
zhiwei.yuan [Tue, 19 Mar 2019 03:07:42 +0000 (11:07 +0800)]
dtv_demod: add AGC control for board t309 [1/1]

PD#SWPL-5175

Problem:
r842 agc control need be controlled by demod

Solution:
add agc control function

Verify:
verified by t962x2_x301 t962x2_t309

Change-Id: If712e22276b97c457e2e2ed1c79bdf3673813dff
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
5 years agoamvecm: dnlp new c curve and interface [1/4]
Bencheng Jing [Thu, 21 Mar 2019 14:45:16 +0000 (22:45 +0800)]
amvecm: dnlp new c curve and interface [1/4]

PD#SWPL-5338

Problem:
dnlp new c curve and interface

Solution:
dnlp new c curve and interface

Verify:
x301

Change-Id: I7a221b6c5546873ebc3c3182d4856d57ffc3df48
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agoamvecm: add ioctrl interface for hdr type. [1/1]
Bencheng Jing [Fri, 22 Feb 2019 05:29:34 +0000 (13:29 +0800)]
amvecm:  add ioctrl interface for hdr type. [1/1]

PD#TV-1592

Problem:
no interface to get hdr type

Solution:
add ioctrl interface for hdr type

Verify:
tl1

Change-Id: Ib7781fa8c924cbd7721b592acb18d3b834a04f06
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agotvafe: fix vertical stripes for tl1 [1/1]
Nian Jing [Tue, 26 Mar 2019 09:35:49 +0000 (17:35 +0800)]
tvafe: fix vertical stripes for tl1 [1/1]

PD#SWPL-6349

Problem:
av vertical stripes on colobar

Solution:
fix vertical stripes

Verify:
verify on x301

Change-Id: I590f2b1da9b9a8f36973b00973b70a1c1c9dfb9e
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agovlock: pretect display pll set in vlock [1/1]
Yong Qin [Mon, 25 Mar 2019 13:01:15 +0000 (21:01 +0800)]
vlock: pretect display pll set in vlock [1/1]

PD#TV-3683

Problem:
1.pretect display pll set in vlock, m and frac value
write at the sametime.

Solution:
1.optmis vlock flow
2.add notify_callback when mode change

Verify:
tl1

Change-Id: I72fab117c5b7247659c5c08eeff62fbc4d421839
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agolcd: supposed vlock_m and vlock_farc interface [1/1]
shaochan.liu [Tue, 26 Mar 2019 03:27:02 +0000 (11:27 +0800)]
lcd: supposed vlock_m and vlock_farc interface [1/1]

PD#TV-3683

Problem:
Repeatedly exit HDMI channel cause black screen

Solution:
1, support vlock_m and vlock_frac interface
2, optimized clk change and de timing

Verify:
verify on t962x2-x301

Change-Id: Iddedade08300290853e59b026b3ca1b9939eed79
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
5 years agodi: monkey test di cause crash [1/1]
Yong Qin [Tue, 26 Mar 2019 09:01:44 +0000 (17:01 +0800)]
di: monkey test di cause crash [1/1]

PD#SWPL-6133

Problem:
monkey test di cause crash,when is di reg processing, unreg event
attach, and released the di buffer, so cause crash.

Solution:
every unreg event received, need waitting reg process had done.

Verify:
tl1

Change-Id: I2f2bb068ed65ab14ab4f09de96b64d7290da5914
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agotsync: reduce the log information [1/1]
Xiaoming Sui [Tue, 26 Mar 2019 14:06:04 +0000 (22:06 +0800)]
tsync: reduce the log information [1/1]

PD#SWPL-6152

Problem:
in some special cases, there are many sync
log information from serial port.

Solution:
remove this log and add pts realign.

Verify:
X301

Change-Id: I81d1753ef6d4e6c1e39d6c7f38eb3836e07be05d
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
5 years agotvafe: add control for tvconfig snow config [1/1]
Nian Jing [Fri, 15 Mar 2019 11:20:40 +0000 (19:20 +0800)]
tvafe: add control for tvconfig snow config [1/1]

PD#SWPL-5985

Problem:
display snow when snow config disabled

Solution:
add control for tvconfig snow config

Verify:
verify it on x301

Change-Id: I3466efc98577f2403f3a6cd638ad7dbf70ce34dc
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
5 years agogdc: add gdc dmabuf 32bit compatible [2/2]
Pengcheng Chen [Thu, 28 Mar 2019 08:02:18 +0000 (16:02 +0800)]
gdc: add gdc dmabuf 32bit compatible [2/2]

PD#SWPL-5685

Problem:
gdc dmabuf not work under 32bit

Solution:
add gdc dmabuf 32bit compatible

Verify:
verified by w400

Change-Id: If26f41ff6cd679dc0220771f5bb2b50eba899aa9
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agoge2d: add ge2d dmabuf 32bit compatible [1/2]
Pengcheng Chen [Thu, 28 Mar 2019 07:12:16 +0000 (15:12 +0800)]
ge2d: add ge2d dmabuf 32bit compatible [1/2]

PD#SWPL-5685

Problem:
ge2d dmabuf not work under 32bit

Solution:
add ge2d dmabuf 32bit compatible

Verify:
verified by w400

Change-Id: I03011620fc67cdaf251f5ca1c7b0b512a8fc9a76
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agogdc: change dma_buf to cacheable [2/2]
Pengcheng Chen [Thu, 21 Mar 2019 10:44:56 +0000 (18:44 +0800)]
gdc: change dma_buf to cacheable [2/2]

PD#SWPL-5685

Problem:
gdc output dmabuf have high variance

Solution:
change dma_buf to cacheable

Verify:
verified by w400

Change-Id: Ide8cea975c7dd39bb9185fbb9ba0694d859c74e6
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agoge2d: change dma_buf to cacheable [1/2]
Pengcheng Chen [Thu, 21 Mar 2019 09:33:13 +0000 (17:33 +0800)]
ge2d: change dma_buf to cacheable [1/2]

PD#SWPL-5685

Problem:
ge2d output dmabuf have high variance

Solution:
change dma_buf to cacheable

Verify:
verified by w400

Change-Id: Iff9356dd256ce69bd87e7e5a2b1feb9e74c49744
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agocpu_affinity: restore the original cpu affinity correctly [1/1]
Jiamin Ma [Wed, 27 Mar 2019 10:32:44 +0000 (18:32 +0800)]
cpu_affinity: restore the original cpu affinity correctly [1/1]

PD#SWPL-5595

Problem:
set_cpus_allowed_ptr(current, cpu_all_mask) is always errorly
called to retore CPU affinity for current task. In some cases,
the current may be a bounded kworker thread, and we should not
set its CPU affinity to all CPUs

Solution:
Save the original CPU affinity and restore it

Verify:
W400 revB

Change-Id: I3cd65e79791563af9dacc09639b8645b97979c44
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
5 years agovpp: add black_threshold to disable video when window is too small [1/1]
Brian Zhu [Wed, 20 Mar 2019 17:15:54 +0000 (01:15 +0800)]
vpp: add black_threshold to disable video when window is too small [1/1]

PD#TV-3641

Problem:
Add new interface to disable video when window is too small

Solution:
Add the black_threshold interface to control the threshold size.
And set the default value is width=20, height=30.

Verify:
verified by x301

Change-Id: Ifeb376c2e2edbb5706b2cdc2d08421bd0086b01e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agohdmitx: fix flash screen when resuming and playing hdr [1/1]
Yi Zhou [Mon, 25 Mar 2019 11:19:26 +0000 (19:19 +0800)]
hdmitx: fix flash screen when resuming and playing hdr [1/1]

PD#SWPL-6169

Problem:
when resuming and playing hdr films, flash screen will happen
under LG TV

Solution:
quantization range has changed between UI and playing hdr
films. we keep quantization unchanged. Same as MTK.

Verify:
s905x2

Change-Id: I071abecfba705dbd44d33c2673d4938c39f419cf
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
5 years agovdin: fix vdin1 dest_cfmt for tl1 afbc preview support [1/1]
Evoke Zhang [Mon, 25 Mar 2019 11:49:03 +0000 (19:49 +0800)]
vdin: fix vdin1 dest_cfmt for tl1 afbc preview support [1/1]

PD#SWPL-5971

Problem:
preview window color is green with 1080p & 4k hdmirx

Solution:
vdin1 dest_cfmt follow vdin0 for the software double write for preview

Verify:
x301

Change-Id: I2e45b5f838cddcac1ca1c4e6710a7cc1f45ae9b5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
5 years agocpufreq: free clk if failed to set 1G for fixpll when cpufreq init. [1/1]
Hong Guo [Tue, 26 Mar 2019 07:47:49 +0000 (15:47 +0800)]
cpufreq: free clk if failed to set 1G for fixpll when cpufreq init. [1/1]

PD#SWPL-6394

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

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

Verify:
test pass on A311D-W400

Change-Id: I1a7af6fe459c067e34ff8752453a1a04985edb88
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agogdc: ge2d: output dma_buf need flush when alloc [1/1]
Pengcheng Chen [Mon, 11 Mar 2019 09:48:52 +0000 (17:48 +0800)]
gdc: ge2d: output dma_buf need flush when alloc [1/1]

PD#SWPL-5685

Problem:
gdc output mismatch

Solution:
output dma_buf need flush when alloc

Verify:
verified by w400

Change-Id: Ie206b4f51bd1338420f63e0e06563b67d6d63c88
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
5 years agovpp: including crop info when AFBC switch to normal frame [1/1]
Brian Zhu [Tue, 26 Mar 2019 11:13:27 +0000 (19:13 +0800)]
vpp: including crop info when AFBC switch to normal frame [1/1]

PD#SWPL-6347

Problem:
When AFBC switch to normal frame, excluding the crop information, the pps
parameters are calculated with wrong input size.

Solution:
1.Add the crop information, when afbc swicth to normal frame.
2.check ratio of compress_width/width, sync to crop value

Verify:
verified on x301

Change-Id: Ib943f8a11263ce577952e589bc172d8b7bafd954
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
5 years agoemmc: backward compatible with all HS400 clock sources [1/1]
long yu [Mon, 25 Mar 2019 09:46:07 +0000 (17:46 +0800)]
emmc: backward compatible with all HS400 clock sources [1/1]

PD#SWPL-6294

Problem:
TL1 and G12B uses clkin3,TXLX uses clkin2

Solution:
unifying the HS400 source clock name in DTS

Verify:
TL1-T962X2_X301 G12B-Reva G12B-Revb

Change-Id: I7acaf7b4392d757955f43a0b17ac1fad84f53d26
Signed-off-by: Long Yu <long.yu@amlogic.com>
5 years agopts: fix mvc play is not smooth. [1/1]
shihong.zheng [Tue, 26 Mar 2019 10:40:27 +0000 (18:40 +0800)]
pts: fix mvc play is not smooth. [1/1]

PD#SWPL-6094

Problem:
some mvc stream is not smooth.

Solution:
optimize the condition for pts loockup fail code.

Verify:
x301

Change-Id: I50bb3f317e1245735f9ce0ffcc44376c91e871ed
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
5 years agodtv_demod: playing dtmb is not smooth when signal is non-standard [1/1]
zhiwei.yuan [Mon, 25 Mar 2019 09:28:35 +0000 (17:28 +0800)]
dtv_demod: playing dtmb is not smooth when signal is non-standard [1/1]

PD#SWPL-6286

Problem:
tps of non-standard signal is incorrect

Solution:
ignore calculating amplitude tps

Verify:
verified by t962x2_x301

Change-Id: Ibd3ff7bfe56ca604ad99fa7c6f457202c227c9ae
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
5 years agoemmc: modify data delay_step [1/1]
Nan Li [Fri, 22 Mar 2019 02:40:43 +0000 (10:40 +0800)]
emmc: modify data delay_step [1/1]

PD#SWPL-6200

Problem:
emmc calibration delay set error.

Solution:
modify delay_step to 250ps.

Verify:
verify by s912.

Change-Id: I1c0e31ae6bdda8b0f105e12f3efc81b5474376d6
Signed-off-by: Nan Li <nan.li@amlogic.com>
5 years agoaudio: add tdm and spdif clk fine tuning interface [1/1]
Zhe Wang [Mon, 25 Mar 2019 11:53:30 +0000 (19:53 +0800)]
audio: add tdm and spdif clk fine tuning interface [1/1]

PD#SWPL-5518

Problem:
In DTV passthrough, the output clk drifts from input

Solution:
add clk fine tuning interface

Verify:
verify by X301

Change-Id: I969d3eb865fb1aba90f155965548454cc3040c99
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
5 years agodi: "DI: di_init_buf vmap fail" is seen when power on [1/1]
zhiwei.yuan [Thu, 14 Mar 2019 06:31:38 +0000 (14:31 +0800)]
di: "DI: di_init_buf vmap fail" is seen when power on [1/1]

PD#SWPL-5908

Problem:
execute vmap when di reserved memory is disable

Solution:
skip memory calculation in init buf  while using cma

Verify:
verified by t962x2_x301

Change-Id: Ib0c2e422f61f2b4182109cb7bbb3107029363ce0
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
5 years agoaudio: auge: transfer audio data to wake word algorithm [1/3]
Xing Wang [Fri, 25 Jan 2019 14:55:49 +0000 (22:55 +0800)]
audio: auge: transfer audio data to wake word algorithm [1/3]

PD#TV-3389

Problem:
add vad wake engine in kernel

Solution:
transfer audio data to wake engine

Verify:
x301

Change-Id: I7f44d0141141775bb40f01dbc344a295a72c9d87
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
5 years agohdmirx: update vb phy setting [1/1]
yicheng shen [Fri, 22 Mar 2019 07:10:29 +0000 (03:10 -0400)]
hdmirx: update vb phy setting [1/1]

PD#SWPL-6234

Problem:
flash line in the screen when HDMI connect iTV IV3010 box.

Solution:
1.update phy low frequency setting;
2.optimzie pll init sequence to save some detection time;
3.update verB pll setting(0323);

Verify:
TL1

Change-Id: I71225b06f02e4888ce093780a2beb0a381986293
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
5 years agodi: av to dtv , black screen [1/1]
Yong Qin [Mon, 25 Mar 2019 08:12:14 +0000 (16:12 +0800)]
di: av to dtv , black screen [1/1]

PD#SWPL-6096

Problem:
from local av switch to dtv,black screen,then search channel

Solution:
revert the modification "62617"

Verify:
tl1

Change-Id: I49ae627b9f0b1f6a776e5cbffc723a43e85cee72
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agosd: optimize sduart not supported flag [1/1]
Nan Li [Fri, 22 Mar 2019 11:42:12 +0000 (19:42 +0800)]
sd: optimize sduart not supported flag [1/1]

PD#SWPL-4858

Problem:
Soc not support sduart

Solution:
add not supported flag in dts

Verify:
verify by tl1 skt

Change-Id: Ifd1f975bd13b150aac9d99f60423ab4f0b903c98
Signed-off-by: Nan Li <nan.li@amlogic.com>
5 years agocpufreq: dts: adjust cpufreq table for tl1 [1/1]
Hong Guo [Wed, 20 Mar 2019 06:36:56 +0000 (14:36 +0800)]
cpufreq: dts: adjust cpufreq table for tl1 [1/1]

PD#SWPL-5823

Problem:
adjust cpufreq table for tl1

Solution:
adjust cpufreq table for tl1

Verify:
test pass on tl1_x301

Change-Id: I69f5efc5051c09102c07df34b7bd33b30c61361f
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agoaudio: add soc DRC tune interface [1/3]
Zhe Wang [Thu, 14 Mar 2019 14:16:36 +0000 (22:16 +0800)]
audio: add soc DRC tune interface [1/3]

PD#SWPL-5904

Problem:
Audio DRC in SOC is out of work

Solution:
Add DRC tune interface

Verify:
Verify on X301

Change-Id: I5e8ecc6dafd7fc3805b0c3e60a6ec4c945729119
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
5 years agostorage: emmc: reduce cmd/ds/data pins driver strength for TL1 SOC [1/1]
long yu [Fri, 15 Mar 2019 07:38:47 +0000 (15:38 +0800)]
storage: emmc: reduce cmd/ds/data pins driver strength for TL1 SOC [1/1]

PD#SWPL-5334

Problem:
TX window is not stable

Solution:
Reduce the drive capability of emmc controller pins

Verify:
TL1-T962X2_X301

Change-Id: Ib641c66131c2dee41eb68fb262f4770f431676b9
Signed-off-by: long yu <long.yu@amlogic.com>
5 years agodts: g12a and g12b no audio output [1/1]
Gongwei Chen [Thu, 21 Mar 2019 12:17:49 +0000 (20:17 +0800)]
dts: g12a and g12b no audio output [1/1]

PD#SWPL-6171

Problem:
no audio output

Solution:
modify dts spdifout_a_mute

Verify:
Verify by Android P AOSP fermi

Change-Id: Ie19d22326154b8f59ce06dce994f8dd072e93170
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
5 years agodi: The last frame of the video flash garbage [1/1]
Yong Qin [Fri, 22 Mar 2019 06:36:17 +0000 (14:36 +0800)]
di: The last frame of the video flash garbage [1/1]

PD#SWPL-6070

Problem:
flash garbages when unreg process.

Solution:
can't speed down the clkb rate, there is a mirror mode

Verify:
tl1

Change-Id: I5fcc29a1cda196992a457f40fee31992f4bc1528
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
5 years agoaudio: add I2S samesrc channel mapping to spdif [1/1]
Shuai Li [Thu, 21 Mar 2019 12:20:21 +0000 (20:20 +0800)]
audio: add I2S samesrc channel mapping to spdif [1/1]

PD#SWPL-6147

Problem:
I2S has 8 channels but spdif only 2.
Need map every single i2s lane to spdif sharebuffer.

Solution:
Add the DTS setting MASKS as former does.

Verify:
Local tested.

Change-Id: If212fc1b9c937a42778682948773874951b8a55a
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
5 years agoCPUFREQ: Setting different cpufreq tables. [1/1]
Hong Guo [Fri, 22 Mar 2019 05:23:36 +0000 (13:23 +0800)]
CPUFREQ: Setting different cpufreq tables. [1/1]

PD#SWPL-4035

Problem:
Setting different cpufreq tables.

Solution:
Setting different cpufreq tables.

Verify:
g12a_u200, verify pass

Change-Id: If93f1baa1f50aeeed6e3d7f9d2ffeb1e0a5b4e02
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
5 years agoaudio: Image signal delay of 1.5 seconds when switching to AV source [1/2]
nengwen.chen [Wed, 20 Mar 2019 13:10:40 +0000 (21:10 +0800)]
audio: Image signal delay of 1.5 seconds when switching to AV source [1/2]

PD#TV-3067

Problem:
Image signal delay of 1.5 seconds when switching to AV source.

Solution:
1.add av audio control for audio patch.

Verify:
verified by x301

Change-Id: I3e820923a26439b3aeb9841562b81cd6d55ed4ea
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
5 years agoamvecm: fix atv scaled when switch between different formats [1/3]
Bencheng Jing [Fri, 4 Jan 2019 15:03:28 +0000 (23:03 +0800)]
amvecm: fix atv scaled when switch between different formats [1/3]

PD#SWPL-3883

Problem:
atv picture flash when switch channel between different formats

Solution:
fresh atv overscan on vync

Verify:
txhd

Change-Id: I74f8e64c12031dbc321675c4b1dbc54adcd3721d
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agodi: disable cue for g12a [1/2]
Bencheng Jing [Wed, 20 Mar 2019 08:44:37 +0000 (16:44 +0800)]
di: disable cue for g12a [1/2]

PD#SWPL-6142

Problem:
disable cue for g12a

Solution:
disable cue for g12a

Verify:
U212

Change-Id: I276fa0b8605110b709feaceb6d23d9b566c16a44
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
5 years agodrm: a113d support drm issue [1/1]
Dezhi Kong [Thu, 7 Mar 2019 06:06:41 +0000 (14:06 +0800)]
drm: a113d support drm issue [1/1]

PD#SH-397

Problem:
use  modetest to test A113D DRM function, displaying is incorrect

Solution:
add linear addr config for a113d drm mode

Verify:
verified on s400

Change-Id: Id6a2c6ad94bc0148815076561d9dc2ae8ded6884
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>