Commit Graph

649522 Commits

Author SHA1 Message Date
Xing Wang
27b3fa2f1b audio: auge: improve compatibility for eARC RX/TX connection [1/1]
PD#SWPL-15189

Problem:
1. earc rx fails to connect to a sony tv
2. earc tx fails to connect to AVR-X4500H

Solution:
1. reset earc_rx pll
2. reduce comma_th

Verify:
ab311

Change-Id: I162b9697d151b682df01093cdc086330a97f8fab
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2020-06-29 11:45:41 +09:00
Xing Wang
f31c0a9a3e audio: auge: add mixer for eARC RX/TX latency and capability [1/1]
PD#SWPL-6918

Problem:
lack function to read/write eARC RX/TX latency and capability

Solution:
add mixer for eARC RX set/get latency and capability
add mixer for eARC RX get latency and capability

Verify:
ab311

Change-Id: I0d8aa00af7d856493417dc881a1a8c40497b12a5
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2020-06-29 11:45:41 +09:00
Shuai Li
b24bddd7c9 audio: add lock for resampler [1/1]
PD#SWPL-8134

Problem:
kernel NULL pointer for aml_resample_enable

Solution:
add lock for resampler

Verify:
Need stress test for x301

Change-Id: I1bbf5d7aeab681399c93f0cba9cc59195d3be0d6
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:41 +09:00
Zhe Wang
58cf86024c audio: disable some audio print messages for ATV str test [1/1]
PD#TV-8460

Problem:
ATV str test is stucked

Solution:
disable some audio print messages

Verify:
Verfied on marconi

Change-Id: I284c8afde3a6bc9ff3b8ebfe19360abbb152c3f8
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:40 +09:00
Shuai Li
719d492856 audio: Fix audio stuck [1/1]
PD#SWPL-9142

Problem:
Audio stuck in stress test.

Solution:
Work around:
Wait until the fifo stops and then stop toddr.

Verify:
Tl1.

Change-Id: I8ce50732a7e23124b4b37374aa4505d79cd68cfe
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:40 +09:00
Zhe Wang
f52a9e725f audio: set audio path from frhdmirx through spdifin mode [1/2]
PD#SWPL-11054

Problem:
hdmiin source, audio input is randomly LR invert

Solution:
set audio path from frhdmirx through spdifin mode

Verify:
Verified on X301

Change-Id: Ib40d30b8b6d8bc28da69bf9b4f37ae2ef9228761
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:40 +09:00
Xing Wang
d204178ebf audio: auge: fix ARC to single mode [1/1]
PD#SWPL-8967

Problem:
ARC amplitude,The test value is 0.376V, requiring 0.4-0.6VPP

Solution:
update to single mode

Verify:
tl1

Change-Id: I59198596f6db22ec49eea35084325005f13bc5b6
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2020-06-29 11:45:40 +09:00
Shuai Li
6e25ccd91d audio: support 48k out & 16k loopback [1/1]
PD#SWPL-7741

Problem:
Enable the loopback function.
Fix 48k output & 16k loopback abnormal.

Solution:
Fix the resample source.
DO not touch output clk at loopback driver.

Verify:
Sm1, AC213

Change-Id: I210083813e9e6ec834941da333f8ce076e9afbcf
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:40 +09:00
Xing Wang
ab2e2f9786 audio: auge: toddr irq interrupt protection for freeze mode [1/1]
PD#TV-10448

Problem:
crash when finished early supend but not entry suspend,
the system is waked up

Solution:
add toddr irq interrupt protection when entry suspend
and exit from suspend

Verify:
x301

Change-Id: I7ade7a745511bab83c70b5649b6af318163568d9
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2020-06-29 11:45:40 +09:00
Shuai Li
29fefb910a audio: audio ABUS stuck issue [1/1]
PD#SWPL-9142

Problem:
Audio Abus may be stuck if it is stopped
when the burst is not finished.
And the stuck can't be recovered
unless reboot the system.

Solution:
Add check to make sure that the transfer
is over then start to disable the toddr fifo.

Verify:
TL1 stress test.

Change-Id: I28dcf84ddec421bc70370b2544f0bf1f3272e7b4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:40 +09:00
Zhe Wang
114b99730d audio: add clk tuning_enable/start_enable control in dts [1/1]
PD#SWPL-8306

Problem:
speaker without audio on S400. sideeffect of SWPL-7680

Solution:
add control interface in dts to enable clk tuning
and start clk before codec init

Verify:
verify on S400

Change-Id: Ic9f4e7b13b7d4ced18852346cdc7cf5f48e510dc
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:40 +09:00
Zhe Wang
25c54d3ed0 audio: fixed dtv audio clk setting error in samesource [1/1]
PD#SWPL-9593

Problem:
dtv audio is heard slower in spk

Solution:
when mclk is changed, spdif clk changes correspondingly in samesource case

Verify:
X301

Change-Id: I15fcb598ba893762580f0a5aac856376af8c94ec
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:40 +09:00
Kevin Kim
0d76096354 ODROID-COMMON: sound/soc: support up to 384KHz sample rate.
Change-Id: Iad8a1337637b5f09d444c632935a1326123a04d8
2020-06-29 11:45:40 +09:00
Jian Xu
2e16669748 audio: auge: fix the samesource spdif clock recovery issue [1/1]
PD#SWPL-3667

Problem:
after playback none-48K raw audio, the spdif clock
is not recoved to 48K when tdm/spdif same source

Solution:
use the same clock source as tdm if samesource and
config that when tdm hardware prepare.

Verify:
AC213

Change-Id: I0d5dc5f51b5de14d155902e0fe72c293071c93ec
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
2020-06-29 11:45:40 +09:00
Shuai Li
d5dc14cb97 audio: fix TDMOUT channel map error [1/1]
PD#SWPL-6427

Problem:
ALSA tdmout buffer frequently underrun.
This will cause the tdmout channel map error.
And the other channels data go into the spk.

Solution:
1)Adjust the sequence of starting and stopping.
2)reserved frddrA for EQ/DRC module

Verify:
Test more that 1 hour and pass.
Need more stress test.

Change-Id: Ib9b6897f0b6c32652c611a8c2c367aa76b9f1e3f
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:39 +09:00
Jian Hu
da964f5541 clk: g12a/b: add aclk_lock init [1/1]
PD#SWPL-11765

Problem:
open CONFIG_LOCK_STAT

BUG: spinlock bad magic on CPU#2, swapper/0/1
lock: aclk_lock+0x0/0x28, .magic: 00000000, .owner: swapper/0/1, .owner_cpu: 2
CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.9.113 #1
Hardware name: Generic DT based system
[bc001a5c+ 16][<c020e5f4>] show_stack+0x20/0x24
[bc001a84+ 40][<c06161e8>] dump_stack+0xb8/0xf4
[bc001aac+ 40][<c02a1428>] spin_dump+0xa0/0xf0
[bc001acc+ 32][<c02a1744>] do_raw_spin_unlock+0xb8/0x138
[bc001ae4+ 24][<c0fa35f4>] _raw_spin_unlock_irqrestore+0x34/0x9c
[bc001b2c+ 72][<c0690ce4>] clk_mux_set_parent+0xc0/0x148
[bc001b3c+ 16][<c06911d8>] clk_composite_set_parent+0x3c/0x40
[bc001b6c+ 48][<c068cccc>] clk_core_set_parent+0x18c/0x42c
[bc001b7c+ 16][<c068cf98>] clk_set_parent+0x2c/0x30
[bc001bb4+ 56][<c0ca7ad8>] aml_tdm_platform_probe+0x27c/0x748
[bc001bd4+ 32][<c06d69e0>] platform_drv_probe+0x60/0xc0
[bc001bfc+ 40][<c06d4734>] driver_probe_device+0x214/0x2c0

Solution:
add aclk_lock init

Verify:
test passed on g12b

Change-Id: I1214d044c279865065de237bfb1ecc7f9ea71699
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2020-06-29 11:45:39 +09:00
jian.zhou
7e981c8141 audio: VAD use HIFI PLL [1/1]
PD#SWPL-12746

Problem:
VAD does not use HIFI PLL, it will effect vad wakup

Solution:
VAD use HIFI PLL

Verify:
T962X2_X301

Change-Id: Iad13661c4ec3495130f485447f3c8b034bee9ce2
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
2020-06-29 11:45:39 +09:00
Zhe Wang
15c9b6da19 audio: bringup a new resample module on SM1/TM2 [1/1]
PD#SWPL-5644

Problem:
bringup new hw resample modules on SM1/TM2

Solution:
bringup new hw resample modules on SM1/TM2
1) resample A is used for HDMIRX/SPDIFIN
2) resample B is used for LOOPBACK anti-aliasing
   if capture loopback data with 16KHz, enable it in dts.

Verify:
AB301

Change-Id: I0c2e403ff089a28e8d5695d854d13358ecffa313
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:39 +09:00
Xing Wang
3e9e16b616 audio: auge: add loopback + vad [1/1]
PD#TV-8989

Problem:
loopback with datain pdm, no vad to wakeup

Solution:
loopback with pdmin still works when entry freeze mode
vad works in two channel mode, mapping pdm ch0 & ch1 to vad
add channel num to loopback for vad

Verify:
x301

Change-Id: Ied244292bf2a2f668bb5a2216ec6a12964a46663
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2020-06-29 11:45:39 +09:00
Xing Wang
c42f84b4a1 audio: auge: add lower power mode for PDM & vad [1/1]
PD#SWPL-3825

Problem:
VAD & PDM works in 24m clks for lowpower mode when in deep suspend

Solution:
support VAD & PDM in 24m sysclk, 768k dclk

Verify:
x301

Change-Id: Ic363337ee9b0eba0f890ae62b9e0cb6bb54dcd6a
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2020-06-29 11:45:39 +09:00
Zhe Wang
045a0e1e0c audio: when audio hdmirx is unstable, mute all input buffer [1/2]
PD#SWPL-12104

Problem:
when hdmirx timing switching, pop noise.

Solution:
when audio hdmirx is unstable, mute all input buffer

Verify:
T962x2 x301

Change-Id: I594b5bf9c1f4af45bb3653a7bfef5e0c7dab2825
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:39 +09:00
nengwen.chen
9bf5804009 atv_demod: audio: fix audio source contorl for atv demod [1/1]
PD#TV-9484

Problem:
1.fix audio source contorl for atv demod.

Solution:
1.fix audio source contorl for atv demod.
2.increase the output power of ATV audio.

Verify:
Verified by r311.

Change-Id: I1332dcd3b968790e3227170799ddb019578fe431
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-06-29 11:45:39 +09:00
Zhe Wang
2ef271dfb3 audio: atv source selected by atv demod [1/1]
PD#TV-6044, PD#TV-6047

Problem:
ATV sound output has noise when input non standard signal.

Solution:
release atv source select function to atv demod

Verify:
x301.

Change-Id: I96e58531150c3f20946ab636d701296328215686
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:39 +09:00
Shuai Li
dc0e01a87c audio: coveriy fix [1/1]
PD#SWPL-14015

Problem:
Coverity defect cleanup.

Solution:
Coverity defect cleanup.

Verify:
SM1

Change-Id: I5d564ddafb4105b80c0243efafa6fe141fd59be7
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:39 +09:00
jian.zhou
60cc249138 audio: t9015 DACL_EN and DACR_EN only enable once [1/1]
PD#SWPL-13728

Problem:
when enable DACL_EN and DACR_EN, it will has pop sound

Solution:
Only enable  DACL_EN and DACR_EN once at probe function

Verify:
U212

Change-Id: I0f26977ad5d9b86df264069f8732ddb44615cc09
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
2020-06-29 11:45:39 +09:00
Luke Go
bcf0b9a19b Partial apply: audio: coveriy fix [1/1]
Change-Id: I1ddf7c7181575217f2f5c0b81a6de3f438e1c923
2020-06-29 11:45:39 +09:00
Cheng Tong
58e194a7f8 audio: tl1: invalidate dapm line-out driver widget [1/1]
PD#SWPL-18805

Problem:
there is noise when analog AMP on idle state

Solution:
invalidate dapm line-out driver widget

Verify:
x301_t962x2

Change-Id: I448273229d1ceb9bdaf7ee8d8aeade5893f6de8d
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
2020-06-29 11:45:38 +09:00
Zhe Wang
413b2d71a5 audio: set tas5805 default volume to 10dB [1/1]
PD#SWPL-15741

Problem:
Ab301 volume level is too low

Solution:
set tas5805 default volume to 10dB

Verify:
AB301

Change-Id: Ic5658d1c66db624fd87f8b6ce44ffae5ea6508e3
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:38 +09:00
Shuai Li
90b637d590 audio: fix might_sleep warning at bootup [1/1]
PD#SWPL-16123

Problem:
might_sleep() is triggered by regmap_read().

[    3.106894@0] Workqueue: events tl1_acodec_release_fast_mode_work_func
[    3.106903@0] [bc059af4+  16][<c020e3a8>] show_stack+0x20/0x24
[    3.106910@0] [bc059b1c+  40][<c05dff94>] dump_stack+0xb8/0xf4
[    3.106917@0] [bc059b44+  40][<c0258138>] ___might_sleep+0x1c8/0x208
[    3.106922@0] [bc059b6c+  40][<c02581ec>] __might_sleep+0x74/0xac
[    3.106928@0] [bc059bb4+  72][<c0393a80>] kmem_cache_alloc_trace+0x12c/0x2c0
[    3.106935@0] [bc059bfc+  72][<c06bd03c>] regcache_rbtree_write+0x2dc/0x4f0
[    3.106941@0] [bc059c1c+  32][<c06bbbd8>] regcache_write+0x64/0x6c
[    3.106945@0] [bc059c44+  40][<c06b9260>] _regmap_write+0x144/0x16c
[    3.106948@0] [bc059c64+  32][<c06bab4c>] regmap_write+0x4c/0x6c
[    3.106953@0] [bc059c74+  16][<c0c79088>] snd_soc_component_write+0x28/0x48
[    3.106958@0] [bc059c84+  16][<c0c790c4>] snd_soc_write+0x1c/0x20
[    3.106962@0] [bc059c9c+  24][<c0c7c0b0>] tl1_acodec_start_up+0x24/0x44
[    3.106967@0] [bc059cbc+  32][<c0c7c1b8>]
tl1_acodec_release_fast_mode_work_func+0x54/0xe4
[    3.106973@0] [bc059cfc+  64][<c0245dc8>] process_one_work+0x200/0x624
[    3.106977@0] [bc059d3c+  64][<c0246dc4>] worker_thread+0x58/0x5c4
[    3.106982@0] [bc059d94+  88][<c024c5c0>] kthread+0x128/0x144
[    3.106987@0] [00000000+   0][<c020885c>] ret_from_fork+0x14/0x38

Solution:
This is a mmio regmap constrain using spinlock_irq to protect the
critical read and write.
But if the default reg cache is not allocated, the read routine will
malloc() buffer which is non-atomic. That is the root cause of this warning.
So we add num_reg_defaults_raw to tell regmap to malloc the buffer at
initializing stage.

Verify:
TL1.

Change-Id: I42f87fa89bbe99762ada36337b5ed6565b06b891
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:38 +09:00
Shuai Li
7e6ad79c59 audio: optimize TL1 codec init sequence [1/1]
PD#TV-9458

Problem:
Audio codec output has a ditch.

Solution:
Optimize TL1 codec init sequence [1/1]

Verify:
TL1.

Change-Id: Ib494895b96cb0083d0bdaa9ffa23c67bf57f7aa7
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:38 +09:00
Lei Qian
d14d77bafb audio: merge from mainline
PD#SWPL-15312

Change-Id: I827a1db0d6c948682812ea04a6db2c7b5757dbfb
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
2020-06-29 11:45:38 +09:00
Lei Qian
081b08ffbb audio: auge: add loopback driver [1/1]
PD#SWPL-7240

Problem:
limit of current loopback
add loopback b for tl1
add tdmin_lb

Solution:
1. merge sm1, tm2 audio bringup code
2. optimize loopback driver

Verify:
s400, u200, x301, ac200, ab301

Change-Id: I0b01208fe8a213766e5563fa91b66e93c748d843
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
2020-06-29 11:45:38 +09:00
Zhe Wang
b1a7ff5adb audio: add 10ms sleep before pdn enable [1/1]
PD#SWPL-7680

Problem:
mdelay will pend the system

Solution:
change mdelay to usleep_range

Verify:
HW verify

Change-Id: I8452dc7b1056378dbc6b743fc43316eccbf525a5
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>

Conflicts:
	sound/soc/codecs/amlogic/tas5805.c
2020-06-29 11:45:38 +09:00
Zhe Wang
72fece0508 audio: add 10ms delay before pdn enable [1/1]
PD#SWPL-7680

Problem:
the pwn signal is self excitable

Solution:
1)add 10ms delay before pdn enable
2)set default clk for extern codec

Verify:
HW verify

Change-Id: I031b20851ee1eeb65215075fc8abe783ceddf42b
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>

Conflicts:
	sound/soc/amlogic/auge/tdm.c
2020-06-29 11:45:38 +09:00
Shuai Li
3c34ba0cbf audio: disable tl1 acodec dac dapm to depop [1/1]
PD#TV-3933

Problem:
Tl1 acodec has pop sound when first sound appear.

Solution:
Disable the DAPM which disable/enable every time
start/stop the audio stream.

Verify:
Tl1 X301.

Change-Id: Iaaf7da125de513bd8297f6c6e41af0a42c9d25bd
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2020-06-29 11:45:38 +09:00
Shuyu Li
97f3849899 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>
2020-06-29 11:45:38 +09:00
Lei Qian
ec9f228a58 Revert "audio: t9015 DACL_EN and DACR_EN only enable once [1/1]"
This reverts commit e26beb5c5ac95ea0e084a7648ee39c3f4f355e91.
2020-06-29 11:45:38 +09:00
jian.zhou
9830fd269d audio: t9015 DACL_EN and DACR_EN only enable once [1/1]
PD#SWPL-13728

Problem:
when enable DACL_EN and DACR_EN, it will has pop sound

Solution:
Only enable  DACL_EN and DACR_EN once at probe function

Verify:
U212

Change-Id: I0f26977ad5d9b86df264069f8732ddb44615cc09
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
2020-06-29 11:45:38 +09:00
jiejing.wang
85b2089b6a license: add license for audio source file [1/2]
PD#SWPL-11716

Problem:
some audio source has no license

Solution:
add license for audio source file

Verify:
verify by locally

Change-Id: I85e7a27a724f1d255e38f4a878475b38abc1dfd4
Signed-off-by: jiejing.wang <jiejing.wang@amlogic.com>
2020-06-29 11:45:37 +09:00
Zhe Wang
fe4c05d746 audio: set master/channel default volume higher [1/1]
PD#SWPL-10609

Problem:
spk sound is too low

Solution:
set master/channel default volume higher

Verify:
r341

Change-Id: Id2928a7d0fdfbb745d272c82a7600a6f4fb9b7e6
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:37 +09:00
Zhe Wang
06d5eec419 audio: fixed cvbs audio pop noise on g12a/b [1/1]
PD#OTT-3760, PD#SWPL-8309

Problem:
startup ott, cvbs out with pop noise

Solution:
Set gpio init low

Verify:
verified by franklin

Change-Id: Ieb33e72473055fad69bc8e9a68ed0b0552e9f029
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:37 +09:00
Zhe Wang
dae68bb8eb audio: enable clk before extern codec init when system resume [1/1]
PD#TV-6005

Problem:
change time sequence for extern AMP

Solution:
1) enable tdm clk before codec init, when system resume

Verify:
test on X301

Change-Id: I3d6411cd32fbc3496bed942c72b7bec408d66959
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:37 +09:00
fahui.feng
487502b4bc audio: add usb karaoke driver [1/1]
PD#OTT-1624

Problem:
doesn't support Karaoke

Solution:
1) add usb karaoke driver
2) Default karaoke is disable. if enable it,
   add "CONFIG_AMLOGIC_SND_USB_CAPTURE_DATA=y" in defconfig file.

Verify:
p212

Change-Id: I9f00873da930f9d5924fc752133ed51a4ae93636
Signed-off-by: fahui.feng <fahui.feng@amlogic.com>
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2020-06-29 11:45:37 +09:00
nengwen.chen
908e9b17f3 atv_demod: optimize calls with other modules [1/1]
PD#TV-9100

Problem:
1.optimize calls with other modules.

Solution:
1.optimize calls with other modules.
2.add ext file interacts with other modules.
3.add sync to prevent NULL pointer crashes.

Verify:
Verified by x301

Change-Id: Id1930400454b020616e0c669cae5f473f498b6de
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-06-29 11:45:37 +09:00
nengwen.chen
70882c6b4f atv_demod: fix secam-l/l' recognition and audio output [1/4]
PD#TV-7982

Problem:
fix secam-l/l' recognition and audio output.

Solution:
1.fix secam-l/l' recognition and audio output.
2.atv demod version: V2.13.

Verify:
Verified by x301

Change-Id: Ie09b635f132397b3c438aa3ff62f2ef915eb3462
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-06-29 11:45:37 +09:00
nengwen.chen
b95f864550 atv_demod: fixed null pointer when atv channel searching [1/1]
PD#TV-8777

Problem:
fixed null pointer when atv chennel searching.

Solution:
1.fixed null pointer when atv channel searching.

Verify:
Verified by x301 and t972.

Change-Id: I3622d42f6a8dee634c601660b43e9dd9ba93c29d
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-06-29 11:45:37 +09:00
nengwen.chen
5b051d1646 atv_demod: fix non-standard signal [1/1]
PD#TV-7783

Problem:
fix non-standard signal.

Solution:
1.fix non-standard signal when channel scanning and playing.
2.disable demod afc when enable non standard.

Verify:
Verified by x301

Change-Id: I177e6eb5388e554e3166a65e23e3b7bdefac3e97
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-06-29 11:45:37 +09:00
Evoke Zhang
3a293ede3e tvafe: add tvafe_mode to separate avt playing or search [1/1]
PD#TV-8035

Problem:
snowflake display is not stable when no signal

Solution:
separate avt playing or search

Verify:
x301

Change-Id: I4364d4af533704074a74e7d3b9522df461233f48
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2020-06-29 11:45:37 +09:00
nengwen.chen
8d4026515c atv_demod: fix synchronization problem when get frontend [1/1]
PD#TV-8131

Problem:
fix synchronization problem when get frontend.

Solution:
1.fix synchronization problem when get frontend.

Verify:
Verified by x301

Change-Id: Ic0580a83448fe75529615ffa08cb526e205ef9a8
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-06-29 11:45:37 +09:00
nengwen.chen
acefbfdd5b atv_demod: fix the CVBS output level [1/1]
PD#SWPL-11581, PD#TV-5622, PD#TV-8087, PD#TV-8088, PD#TV-8089

Problem:
fix the CVBS output level.

Solution:
1.fix peak level(1Vp-p).
2.fix sync head level(300+/-10%mv).
3.fix white level(700+/-10%mv).

Verify:
Verified by x301.

Change-Id: Ie4bd6ed0bb4d6db4443acae49ef98f1f4398d973
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2020-06-29 11:45:36 +09:00