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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
PD#TV-7462
Problem:
after afc adjusts freq and stable, sync to settings to get freq.
Solution:
1.after afc adjusts freq and stable, sync to settings to get freq.
Verify:
Verified by x301
Change-Id: Id78a7f974345fd428f9bb185c36fcbe7b93f4ac2
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-7335
Problem:
add nicam detection when current signal fm-mono change to nicam.
Solution:
1.add nicam detection when current signal fm-mono change to nicam.
Verify:
Verified by x301
Change-Id: If2e35d018d2df803c5458cc93974352b06e90a11
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-9934
Problem:
1.audio control calls crash on a non-tl1 platform.
1.fix atv audio control interface.
Solution:
1.fix atv audio control interface.
Verify:
Verified by r311 and x301.
Change-Id: Ib6d58cec96e7d57e1bfd8ae18524dcb5517c317e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-6044, PD#TV-6047
Problem:
ATV sound output has noise when input non standard signal.
Solution:
1.fix atv non standard signal audio handle.
2.remove atv audio source selection in audio module.
3.atv demod selects audio source according to signal.
4.atv demod version: V2.12.
Verify:
Verified by x301
Change-Id: Ie0fce492f1ce7f5a5866d8674c95c97ee32452c0
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-5661, PD#SWPL-5659
Problem:
1.add gain register to control the L and R channel audio gain.
2.add atv interrupt for signal lock and unlock.
Solution:
1.add gain register to control the L and R channel audio gain.
2.add atv interrupt for signal lock and unlock.
Verify:
verified by ab301 and ab311.
Change-Id: I8a7cbe538939dd9418e27165d4c83a8f473f119b
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Conflicts:
arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts