Commit Graph

648551 Commits

Author SHA1 Message Date
rongrong zhou
976f4f980c video: disable video in early suspend [1/1]
PD#SWPL-2736

Problem:
suspend green screen

Solution:
disable video in early suspend

Verify:
Ampere

Change-Id: If5ad13d2964b1541791d95ffb239293ab1e4ffb6
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
2019-02-27 04:29:48 +09:00
Yi Zhou
90529301ad dv: set g12a/b core run_mode_delay as 0 [1/1]
PD#SWPL-3890

Problem:
when starting to play video, the manu bar shakes

Solution:
stb core don't need run mode delay.

Verify:
u212

Change-Id: If8634cfd33598343cef84b93d4757f5d5c9c72e5
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-02-27 04:29:48 +09:00
Yi Zhou
0b10161853 dv: add compatibility to prevent panic [1/1]
PD#SWPL-3889

Problem:
when the metadata parsed by decode is error, the array will overflow
in dv module.

Solution:
dolby type just appears once in metadata. After parsing dolby type,
breaking the circulation directly.

Verify:
U212

Change-Id: I715e28c1b9a8aab2fcb4059dd132b5b98c043f31
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-02-27 04:29:48 +09:00
Yong Qin
15f294f87f cec: too more log when cec bus error [1/1]
PD#SWPL-3921

Problem:
Too more log when cec bus error

Solution:
print the log at log level 1

Verify:
verified on tl1 android p

Change-Id: I8273e0a46470d59160f1ac8dc71494a9abb19b0f
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-02-27 04:29:48 +09:00
Zhuo Wang
728f507171 ethernet: setup tx_amp from efuse [1/1]
PD#SWPL-3552

Problem:
tx_v show different for each chip

Solution:
add new function to setup

Verify:
co-work with analog on G12B SOCKET board

Change-Id: I1f2711b9414464c7044efc3f3128cc3c3808cfc5
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2019-02-27 04:29:48 +09:00
Shunzhou Jiang
bc49e191c5 mailbox: mailbox: add eth calc data read interface [2/2]
PD#SWPL-3498

Problem:
ethernet need read data from efuse

Solution:
add interface to read data

Verify:
g12a_skt

Change-Id: I7ce7ffe2f194c875155e6db8acb55eb8ac5500a0
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2019-02-27 04:29:48 +09:00
Kaifu Hu
d9ab958858 hdmitx: disable spead spectrum when 4k mode [1/1]
PD#SWPL-3696

Problem:
Flash black screen when 4k mode

Solution:
Disable spead spectrum when 4k mode

Verify:
GXL/P215

Change-Id: I131633c26492548146cdc6e75a4d65b91cfd77ad
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2019-02-27 04:29:48 +09:00
Tao Zeng
0f7962161d mm: fix range mistake for virt_check [1/1]
PD#SWPL-3793

Problem:
Address 0xC0000000 is in lowmem, which should not be warned by

virt_check:d input of virt:c0000000
                           ~~~~~~~~
CPU: 1 PID: 5141 Comm: Binder:3297_5 Tainted: G           O    4.9.113 #1
Hardware name: Generic DT based system
[<c030e760>] (show_stack+0x20/0x24)
[<c06ee8a8>] (dump_stack+0x90/0xac)
[<c031c7b4>] (virt_check+0x64/0x68)
[<c049c45c>] (__check_object_size+0x184/0x1f8)
[<c07058c0>] (copy_page_to_iter+0x288/0x5b8)
[<c04425dc>] (generic_file_read_iter+0x390/0xa48)
[<c049f238>] (__vfs_read+0xec/0x13c)
[<c04a00e0>] (vfs_read+0x9c/0x164)
[<c05ce7e8>] (sdcardfs_read+0x28/0x50)
[<c049f194>] (__vfs_read+0x48/0x13c)
[<c04a00e0>] (vfs_read+0x9c/0x164)
[<c04a13ac>] (SyS_read+0x5c/0xbc)
[<c0308980>] (ret_fast_syscall+0x0/0x48)

Solution:
Not warning for 0xC0000000 if virt address is equal to it

Verify:
R311

Change-Id: I9a3f8efe89564f31f9a49ab4448323c93ddc761d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-02-27 04:29:48 +09:00
Nan Li
890db4524d sdio: optimize 1bit mode cfg [1/1]
PD#SWPL-3719

Problem:
optimize sdio 1bit cfg fail for dts.

Solution:
move MMC_PM_KEEP_POWER setting from
amlsd_get_host_caps(). so modify dts to
set 1bit mode.

Verify:
p212

Change-Id: I268f25a9550058e7bbf3562eec53c8cd92b58b1b
Signed-off-by: Nan Li <nan.li@amlogic.com>
2019-02-27 04:29:48 +09:00
Hui Zhang
6c5a7c4c5f codec_mm: not to be blocked to wait scatter cache done [1/2]
PD#SWPL-2206

Problem:
decoding thread was blocked to wait scatter memory to be cached done. it
may take 30+ ms and lead to cts/vts fail

Solution:
not to wait scatter cached done. it save timing of system

Verify:
Verified U212

Change-Id: I75fa3e892e0b9b8023c07b62a31ebd43d3c92044
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
2019-02-27 04:29:48 +09:00
Lifeng Cao
56f8cb246f video: dv: Change omx pts upper and lower threshold for dv [3/3]
PD#SWPL-2465

Problem:
DV av-sync test diff between audio and video too big

Solution:
Change omx pts upper and lower threshold

Verify:
Test pass by S905X2-U212

Change-Id: I916773300b29a9b6368d7e2283effae2a6440d14
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
2019-02-27 04:29:48 +09:00
Yao.Liu
1afc61ce46 ion: add invalid cache function [1/1]
PD#SWPL-3736

Problem:
H265 encoder use ge2d to do format convert, ge2d dst
buffer is allocated from ion heap and is cached buffer.
The cache consistency problem caused encoded stream error.

Solution:
ION add invalid cache function, invalid cache before
CPU access cache buffer

Verify:
U212

Change-Id: Ib14f2a9ee5b536c3546c5957fd0505cacae45f80
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
2019-02-27 04:29:48 +09:00
Zhongfu Luo
2a66e72ef3 defendkey: change defendkey read function process [1/1]
PD#SWPL-3204

Problem:
GXL: need to fix bug for defendkey read function

Solution:
1.change defendkey read function process

Verify:
GXL skt board verify pass

Change-Id: I61c7e7074eefa1ab20bdb8fa31f970b39bfe5a1b
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-02-27 04:29:48 +09:00
Zhongfu Luo
57b78ecf46 defendkey: change defendkey reserved memory process [1/1]
PD#SWPL-3706

Problem:
GXL: defenkey cause system crash

Solution:
1.change defendkey reserved memory process
2.limit reserved memory region

Verify:
GXL skt board verify pass

Change-Id: I23c6fe861803de96eccec9b643824eeae2c2e564
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-02-27 04:29:48 +09:00
Nan Li
a6d46cebd7 sdio: optimize data1 interrupt cfg reg error [1/1]
PD#SWPL-1908

Problem:
rtl 8822bs sdio wifi tx data crc when Online on demand.

Solution:
remove cfg reg invalid setting in enable_sdio
when data1 interrupt breaks.

Verify:
u212

Change-Id: I49e21a6d213d9c60e315d23bdf9937385b6d75e9
Signed-off-by: Nan Li <nan.li@amlogic.com>
2019-02-27 04:29:48 +09:00
Nanxin Qin
3cc19f1678 codec_mm: add the flush cache away for the highmem [1/1]
PD#SWPL-3588

Problem:
bad using virt_to_pfn in stream_input ko

Solution:
add the flush cache away for the highmem.

Verify:
p212

Change-Id: I70fd18f97b5b91c9154b7eeb9f488d16113daf8d
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2019-02-27 04:29:48 +09:00
Tao Zeng
cad9987c69 mm: check virt_to_xxxx macro on 32bit OS [1/1]
PD#SWPL-1909

Problem:
virt_to_page may get bad input with virtual address
in high mem.

Solution:
Check input address of this macro and get a warn print

Verify:
p212

Change-Id: I69d81f7aac43f1865d3d1112263276603de166ce
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-02-27 04:29:48 +09:00
rongrong zhou
37fb5606f0 dts: add netflix MGKID unify key [3/3]
PD#SWPL-2847

Problem:
    add netflix MGKID support

Solution:
    add netflix MGKID support

Verify:
    ampere NTS

Change-Id: I7bf7f7b7527a36dc7b50f1a98bdb5d0a60af8741
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
2019-02-27 04:29:48 +09:00
Pengcheng Chen
50ccfb1e8f osd: the border below has a green horizontal line [1/2]
PD#SWPL-3478

Problem:
the border below has a green horizontal line

Solution:
add freescale repeat last line, supported chip after G12B

Verify:
verify on T962X2-X301

Change-Id: I5dab91774eea3949062fe3254db7a074563fe1c4
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-02-27 04:29:48 +09:00
Brian Zhu
56007f2eef vpp: set the preblend horz size correctly for hdr input [2/2]
PD#SWPL-3478

Problem:
the border below has a abnormal line

Solution:
Set the preblend horz size correct

Verify:
verify on T962X2-X301

Change-Id: Ie7b20a6b030d40d3a0eb3458df07e7632491aa2c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-02-27 04:29:48 +09:00
Hanjie Lin
96897bc2a2 dts: fix g12b energy-cost config error [1/1]
PD#SWPL-1007

Problem:
g12b a53 core energy-cost config is error.

Solution:
modify with right cost value

Verify:
w400

Change-Id: I1ffba5b147879a4178f255247f338b594e440eed
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-02-27 04:29:48 +09:00
Yi Zhou
7892f34477 dv: fix the error setting in dv core [1/1]
PD#SWPL-3046

Problem:
movie player will keep video layer when playing video films.
Even if jumping to the next films, it will not close video layer.
When meeting this situation, dv core will keep the front
film's setting.

Solution:
when jumping the next film, we know the first frame.
So we clean the setting in the first frames.

Verify:
u212

Change-Id: I61ebc8f58baed32abc519018676e40b08d059cac
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-02-27 04:29:48 +09:00
Zhongfu Luo
61ae581366 defendkey: script signing tool: support upgrade check [5/5]
PD#SWPL-3204

Problem:
GXL/TXLX/G12A/G12B: script signing tool need to support defendkey

Solution:
1.change dtb decrypt process

Verify:
GXL/TXLX/G12A/G12B skt board verify pass

Change-Id: I165db827dec82837edb8a4a5197090bbd79d536d
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-02-27 04:27:18 +09:00
Luan Yuan
2709452f24 Revert "mm: check virt_to_xxxx macro on 32bit OS [1/1]"
This reverts commit 0d79066451.
2019-02-27 04:27:18 +09:00
Tao Zeng
a75946f01e mm: check virt_to_xxxx macro on 32bit OS [1/1]
PD#SWPL-1909

Problem:
virt_to_page may get bad input with virtual address
in high mem.

Solution:
Check input address of this macro and get a warn print

Verify:
p212

Change-Id: I69d81f7aac43f1865d3d1112263276603de166ce
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-02-27 04:27:18 +09:00
Huan Biao
464e681760 thermal: cooldev: fix cpucore cool devices driver issue [1/1]
PD#SWPL-3334

Problem:
cpucore cool devices upper date type no match
cpucore num set error

Solution:
modify cpucore upper num check

Verify:
w400 pass

Change-Id: I83f829d31cab565d5ca3b892bb58a4a68b8f0f20
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
2019-02-27 04:27:18 +09:00
Tao Zeng
c6c9248457 mm: fix too many wrong kasan report [1/1]
PD#SWPL-3583

Problem:
After merge change:
http://scgit.amlogic.com:8080/#/c/55018/
Too many wrong kasan report occur when booting kernel

Solution:
Fix kasan poison address range when free wasted memory.

Verify:
P212

Change-Id: I576a7edb7b4e70f9c6c782639f433ad45bafba1d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-02-27 04:27:18 +09:00
Zongdong Jiao
2970e4c969 hdmitx: fix KASAN Bug in set_disp_mode_auto [1/1]
PD#173549: hdmitx: fix KASAN Bug in set_disp_mode_auto
==================================================================
BUG: KASAN: global-out-of-bounds in set_disp_mode_auto+0x244/0x870
Read of size 32 at addr ffffff900a67e4c0 by task power@1.0-servi/2924

CPU: 2 PID: 2924 Comm: power@1.0-servi Tainted: G    B      O    4.9.113 #1
Hardware name: Amlogic (DT)
Call trace:
[<ffffff900908ecc0>] dump_backtrace+0x0/0x368
[<ffffff900908f0cc>] show_stack+0x24/0x30
[<ffffff900963bdb0>] dump_stack+0xa0/0xc8
[<ffffff90092ba234>] print_address_description+0x144/0x258
[<ffffff90092ba6ac>] kasan_report+0x264/0x338
[<ffffff90092b8ff4>] check_memory_region+0x12c/0x1c0
[<ffffff90092b90dc>] __asan_loadN+0x14/0x20
[<ffffff9009c12804>] set_disp_mode_auto+0x244/0x870
[<ffffff9009c13994>] hdmitx_late_resume+0x1cc/0x288
[<ffffff9009da5f30>] early_suspend_trigger_store+0x1a8/0x1d0
[<ffffff9009640ac4>] kobj_attr_store+0x44/0x60
[<ffffff90093973b0>] sysfs_kf_write+0x98/0xb8
[<ffffff9009396134>] kernfs_fop_write+0x12c/0x270
[<ffffff90092c9888>] __vfs_write+0xd8/0x268
[<ffffff90092cae48>] vfs_write+0xd8/0x240
[<ffffff90092ccd8c>] SyS_write+0xc4/0x148
[<ffffff9009083f00>] el0_svc_naked+0x34/0x38

The buggy address belongs to the variable:
 all_fmt_paras+0x1460/0x14a0

Memory state around the buggy address:
 ffffff900a67e380: 00 07 fa fa fa fa fa fa 00 02 fa fa fa fa fa fa
 ffffff900a67e400: 00 07 fa fa fa fa fa fa 00 02 fa fa fa fa fa fa
>ffffff900a67e480: 00 07 fa fa fa fa fa fa 00 02 fa fa fa fa fa fa
                                              ^
 ffffff900a67e500: 00 07 fa fa fa fa fa fa 00 03 fa fa fa fa fa fa
 ffffff900a67e580: 00 04 fa fa fa fa fa fa 00 04 fa fa fa fa fa fa
==================================================================

Change-Id: Ie2435c031c04ac23e801cfefa80a29071c120b4f
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-02-27 04:27:18 +09:00
Hanjie Lin
5fa1f9e501 sched: EAS: sched_energy for arm on g12b [1/1]
PD#SWPL-3316

Problem:
g12b/w400 has not sched-energy config in arm for EAS.

Solution:
port from arm64

Verify:
w400

Change-Id: I4f3ddd9d5f2abb9787ab95d6652db6cea1c54b24
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-02-27 04:27:18 +09:00
qingwei.xu
31f2867f7e dts: Optimize ion memory to 36MB for Android P 720P Project [1/1]
PD#SWPL-3324

Problem:
Ion's memory configuration is unreasonable for Android P 720P Project
, resulting in waste.

Solution:
More reasonable memory size configuration,Optimize ion memory to 36MB
for Android P 720P Project

Verify:
Verify by Android P 720P Project

Change-Id: Ibf13989f91c1cce5e030d900de2a30b0a16f7994
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
2019-02-27 04:27:18 +09:00
Pengcheng Chen
a96bf74964 osd: add dd functions used phys_to_page and vmap [1/1]
PD#SWPL-3153

Problem:
remove phys_to_vir caused dd functions disable.

Solution:
add dd functions used phys_to_page and vmap

Verify:
franklin

Change-Id: Ic28ac0107adfee58933d0b19a2a7c2893c06b789
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-02-27 04:27:18 +09:00
Yi Zhou
a8766cd067 dv: update the hsize and vsize of dv core 2 [1/1]
PD#SWPL-3223

Problem:
get parameters from vpp blend to core 2 is error

Solution:
we get the parameters from OSD blend instead vpp blend

Verify:
u212

Change-Id: I31a5e4cf90b5d665cfd291aab5554d311ec19346
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-02-27 04:27:18 +09:00
Tao Zeng
43aa53db22 mm: close vmap stack if open KASAN [1/1]
PD#SWPL-1219

Problem:
if open KASAN, kernel can't boot.

Solution:
Close vmap if open KASAN

Verify:
p212

Change-Id: I3ad4da890aca20fe59ff99dfd55592d8e9a08f3c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-02-27 04:27:18 +09:00
Blance Tang
86305792d9 buildroot: Enable ddr_window tool [1/1]
PD#SWPL-3340

Problem:
  DDR Window tool is no longer generated as a separate KO after DDR TOOL
  configuration setting changed CL:41064

Solution:
  Change DDR Window Tool configuration to tristate which can support
  standalone KO
  Enable DDR_TOOL in SmartHome default config

Verify:
  Local

Change-Id: I15370cabe428a5103c1fe9b345a085822c056932
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
2019-02-27 04:27:18 +09:00
Jian Cao
dff6883f85 osd: need information whether current OSD is blanked or not [1/1]
PD#SWPL-3254

Problem:
need information whether current OSD is blanked or not

Solution:
add sysfs node osd_status

Verify:
verified on u212

Change-Id: Ie73417f08c648a750a881af375800aae57a48762
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-02-27 04:27:18 +09:00
Rui Wang
500d68e3ca video: add freeze video function [1/1]
PD#SWPL-3154

Problem:
Implement video freeze

Solution:
Add freeze video function

Verify:
Test pass by r311

Change-Id: I6a3839d26ea99ead7097f20c283afe9b8103a668
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
2019-02-27 04:27:18 +09:00
tao zeng
c2c4f6fa09 mm: save wasted memory by slab [1/1]
PD#SWPL-1767

Problem:
When driver/kernel call kmalloc with large size, memory may waste
if size is not equal to 2^n. For example, driver call kmalloc with
size 129KB, kmalloc will allocate a 256KB memory block to caller.
Then 127kb memory will be wasted if this caller don't free it.

Solution:
Free tail of slab memory if size is not match to 2^n. This change
can save about 900KB memory after boot, and more than 100KB during
run time.

Verify:
P212

Change-Id: Iba378792ec30003358b64384361c0f0c4c2800d8
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2019-02-27 04:27:18 +09:00
Brian Zhu
6af742d8a4 tb_detect: add external canvas config when multi-dec source [1/1]
PD#IPTV-52

Problem:
vframe from multi-dec has no canvas index

Solution:
use external canvas index for vframe from multi-dec

Verify:
verified by u211

Change-Id: I767f86e492cddb9cc054c048de7078d2f6b85d33
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-02-27 04:27:18 +09:00
Zhuo Wang
b7fda3654f ethernet: resume/suspend NULL pointer [1/1]
PD#SWPL-3000

Problem:
repeat resume/suspend will NULL pointer

Solution:
use globle var

Verify:
verify in u200

Change-Id: If44e52a5907c85fb181a450af92b18fe37e09d4f
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2019-02-27 04:27:18 +09:00
tao zeng
8d222fd575 ddr_bandwidth: support multi-ports config for one channel [1/1]
PD#172256

Problem:
ddr bandwidth prot config can only set 1 port for 1 channel. But
dmc controller support measure many ports on 1 channel.

Solution:
Using bit mask to support multi-ports config for one channel.

Verify:
P212

Change-Id: Iad79e6ebd6aeb74b0e31b3f1bee08de4fd557cc1
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2019-02-27 04:27:18 +09:00
Jian Xu
af6bc5d706 audio: dts: config tdmb/spdif continuous clk to fix spdif no clk issue [1/1]
PD#SWPL-2491

Problem:
HDMI output no sound when system boot up

Solution:
When system bootup,there is no sound,Checked the issue, pcm_write always fail,
cat /d/aml_clkmsr/clkmsr ,[120][ 6000000]audio_spdifout_mst_clk.
the spdif has no clock.Seems after enable same source, the spdifa clock
is not configured correctly. now configure that to continous clock.
TBD, need check the root cause in alsa kernel code.

Verify:
verify by galilei, reboot 20 times.

Change-Id: I0c50c71d2436894d63b83d4040a77a8a9aa6977c
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
2019-02-27 04:27:18 +09:00
Kaifu Hu
861cb69b97 hdmitx: default set frac_rate_policy to 1 [1/1]
PD#SWPL-1955

Problem:
The /sys/class/amhdmitx/amhdmitx0/frac_rate_policy is 0 when
uboot not contain frac_rate_policy

Solution:
Default set frac_rate_policy to 1

Verify:
T962e/R321

Change-Id: Ifff2dbaeef0a3012a730d14405963d994f3eeed3
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2019-02-27 04:27:18 +09:00
Bichao Zheng
9883d931c7 gpio-led: g12b: add system led control for w400 [2/2]
PD#SWPL-3008

Problem:
g12b_w400 need add led control

Solution:
Add system led control for w400

Verify:
g12b_w400

Change-Id: I7b27af95c92f06bb0ca89e00aeccc65f398dad70
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2019-02-27 04:27:18 +09:00
Cheng Tong
1ec4120162 dts: add LiveTv support [2/2]
PD#SWPL-3105

Problem:
dts didn't have dvb config

Solution:
add dvb dts config
defalut commented out as reference

Verify:
Verify by Android P franklin

Change-Id: I47ab10c22b32f6bfd51a0c113a692f0c5863178b
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
2019-02-27 04:27:18 +09:00
Zhiwei Yuan
2522f651ca dtv_demod: "No signal" is seen when video is playing [1/1]
PD#SWPL-3019

Problem:
Unplug the DTV signal, then do AC off then on, enter DTV source, plug the DTV signal, then change channel, the current channel will display abnormally, the video will display with "no signal" together

Solution:
sync the signal status(using read sts interface) with tuning result

Verify:
verified by T962-P321-DDR4

Change-Id: I3ba01dc976c40391f3f305a3754632d2cccfd571
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
2019-02-27 04:27:18 +09:00
Shuyu Li
b1ade9f925 audio: auge: The recorded data L/R channel has 7.5 degree phase diff [1/1]
PD#SWPL-3145

Problem:
The L/R channel has 7.5 degree phase diff

Solution:
Change reg_tdmin_in_rev_ws of EE_AUDIO_TDMIN_X_CTRL 1->0

Verify:
Verify by T962x2_X301 board

Change-Id: I6ca624db10ff96481dd7f413d9f184aeee8c95b3
Signed-off-by: Shuyu Li <shuyu.li@amlogic.com>
2019-02-27 04:27:18 +09:00
shuyu.li
83aa4314fb audio: codec: add tl1_acodec support for tl1 [1/1]
PD#SWPL-1759

Problem:
add tl1_acodec support

Solution:
add code, update xxx.dts and aml_codec_tl1_acodec.c

Verify:
verify by T962x2_X309 board

Change-Id: Ia91e4e0f113af3d537d1828c5c4cfabc127eac8f
Signed-off-by: shuyu.li <shuyu.li@amlogic.com>
2019-02-27 04:27:18 +09:00
Xing Wang
55bc24640a audio: auge: fix drivers for tl1 [1/1]
PD#172587

Problem:
resample, eqdrc, dolby efuse, audio input (from atv, hdmirx)

Solution:
add drivers for them

Verify:
x301

Change-Id: I5187f9824d904283794f6e4be3dd9ce8463908e1
Signed-off-by: Xing Wang <xing.wang@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/mesontl1.dtsi
	arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts
	arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts
2019-02-27 04:27:18 +09:00
Zhiwei Yuan
7ca30cf598 dtv_demod: TL1,dtmb,change frequency,show "no signal" at first [1/1]
PD#SWPL-3025

Problem:
Different frequency channel switch, the channel first pops up "no signal" and then displays the channel

Solution:
do dtmb sw reset before re-tune

Verify:
verified by t962x2_x301

Change-Id: Ibc14de37f2f3f6b07af4d125e9fb58dd308e61c4
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
2019-02-27 04:27:18 +09:00
Zhiwei Yuan
83486a6818 dtv_demod: TL1 timeshift display have a lot mosaic [1/1]
PD#SWPL-2618

Problem:
TL1 timeshift display have a lot mosaic

Solution:
tune ts clk to a smaller value

Verify:
verified by t962x2_x301

Change-Id: I89c8cdb3317e42101fc8f161436d33ccd0761945
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
2019-02-27 04:27:18 +09:00