Commit Graph

5952 Commits

Author SHA1 Message Date
ruofei.zhao 59bbff3a08 hdmitx: dump hdmitx phy and pll regs [1/1]
PD#SWPL-194568

Problem:
need to dump hdmitx phy and pll registers

Solution:
add nodes for dumping hdmitx phy and pll registers

Verify:
S905X5

Test:
DRM-TX-78

Change-Id: I26da4af5ec4280c58b4d02fa0157e027e442d7d2
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-12-10 10:16:35 +08:00
Liming Xue 5a01b0be8b dsp: object already free [1/1]
PD#SWPL-195444

Problem:
multiple applications accessing the dsp at the same time, which will
malloc multiple times, but the same address may be free when kfree

Solution:
add mutex

Verify:
sc2

Change-Id: I5043a055e4a8ed7d06e89a8e0542a4bf9de678f3
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-12-10 10:16:35 +08:00
Shuai Li 01ed6e7e2e audio: fix s7d soundbar ott no HBR output [1/1]
PD#SWPL-194007

Problem:
OTT mode, HDMITX will be silent.
Former design: TDMB->AD82128 speaker and TDMC->HDMITX HBR.
But S7D chip TDMC doesn't support 8 channel.

Solution:
HBR output needs switch to TDMB which supports 8 channel.
For OTT mode, case is TDMB->HBR.
But for soundbar mode, case is TDMB->Speaker.
As TDMB links to AD82128 which support max samplerate 96k,
in HBR case(192k clock rate) will corrupt AD82128, to fix it adding
tinymix interface to power up/down Ad82128.
Restore when switch to soundbar mode.

Verify:
S7D: ross soundbar

Change-Id: Ifcd0e192a12832c4bcddc7db6d4e160286cc7830
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2024-12-09 19:32:53 +08:00
jian zhou c22a9ec59c audio: only get cs mute value when eARC mode [1/1]
PD#SWPL-195735

Problem:
Get cs mute true value when it is ARC mode.

Solution:
Only get cs mute value when eARC mode, if ARC mode,
it is false value.

Verify:
s7d

Change-Id: Ib7b87d417cbe58cc5043887c022942f20848abda
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-12-09 19:15:40 +08:00
Wenjie Qiao 1b56615a11 hdmitx: 480p and 576p not support ddp [2/2]
PD#SWPL-192902

Problem:
480p and 576p not support ddp

Solution:
Internal circuit detected Hsync polarity: Use legacy Tx logic

Verify:
S7/S7D

Test:
DRM-TX-140

Change-Id: I916658bac78d2d687a769733e4dd9204831e4a73
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-12-09 14:07:54 +08:00
can.zhang 5cc8f2a7fb amdv: profile08.06 display blank 5.15 [1/1]
PD#SWPL-195716

Problem:
error sei, parser metadata result is dual-layer

Solution:
treat it as sdr for dual-layer

Verify:
s5

Change-Id: I136e970ff08b2ff5227a64738809efd58862323b
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2024-12-09 14:05:24 +08:00
jian zhou 3a246cd558 audio: set s7d chip info [1/1]
PD#SWPL-195584

Problem:
s7d chip info is wrong.

Solution:
set s7d chip info same with t7c.

Verify:
s7d

Change-Id: Iee169bf8d7c49de12abf97840979e4f811bc3f1b
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
(cherry picked from commit e578da993e)
2024-12-06 19:26:31 +08:00
Luan Yuan 89ac77483c Merge "hdmitx: add allm_cap and dc_cap property [1/1]" into openlinux/ott/u-amlogic-5.15 2024-12-05 22:29:41 -08:00
hang cheng 723888cd53 hdmitx: correct sync_duration_num for interlace mode [1/1]
PD#SWPL-194746

Problem:
the sync_duration_num under interlace mode is wrong,
cause play youtube video stream non-smooth

Solution:
correct sync_duration_num for interlace mode

Verify:
S7

Test:
DRM-TX-139

Change-Id: I2e39016024fc9774299158428d14f8d0d8b1b906
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-12-06 10:34:36 +08:00
bangzheng.liu e63150fc52 SoC s6: kernel support DSP suspend resume with ffv [1/2]
PD#SWPL-184689

Problem:
DSP needs to support low power mode.

Solution:
Add dts config for DSP suspend.
Enable mailbox path for DSP to ARM.

Verify:
S6

Change-Id: Ib1198d260e9658a486d8e75817af8ebbb751d164
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
2024-12-06 10:34:36 +08:00
zhenteng.tian 723a2c16f3 vc: drop error frame in low latency mode. [1/1]
PD#SWPL-181167

Problem:
need drop error frame in low latency mode

Solution:
need drop error frame in low latency mode

Verify:
T5M

Change-Id: If6b5c458f3abed2694db4238f259a21e436d2862
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-12-05 05:12:14 -08:00
jian zhou 688256f9cb audio: remove earc rx cds multi pcm 8 channel and add 20 bit [2/2]
PD#SWPL-195450

Problem:
audio hal doesn't support multi pcm 8 channel, and
suppor 20 bit.

Solution:
remove earc rx cds multi pcm 8 channel and add 20 bit.

Verify:
sc2-ah212

Change-Id: Ica15d99f6e17314a73c409611ef189e0eaf6d699
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-12-05 04:30:40 -08:00
zhou.han 8fe7d7551e hdmitx: add allm_cap and dc_cap property [1/1]
PD#SWPL-195488

Problem:
Try to limit the HWC directly r/w  the driver node.

Solution:
Add allm_cap and dc_cap property

Verify:
Android-U

Test:
DRM-TX-20

Change-Id: Ic809be452951844fcf1270c0b584ca832bed1ca2
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-12-05 19:44:51 +08:00
Jianxiong Pan b4ffe502d1 dts: add s805x2_aq222_drm_2g dts. [1/1]
PD#SWPL-195031

Problem:
add s805x2 aq222 2g dts.

Solution:
add s805x2_aq222_drm_2g dts.

Verify:
build pass.

Change-Id: I65a2eb9ef64d906027b55e0f345ed611961470fa
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-12-05 10:31:15 +08:00
yiting.deng b9c8af106c clk: s7: fix check efuse clk [1/1]
PD#SWPL-193355

Problem:
clk is restricted by efuse, need check it after enabled

Solution:
add check mechanism

Verify:
s805x3

Change-Id: Iae5ed58299c599fd0bdbb3b1903543528ad05285
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-12-05 10:31:15 +08:00
xiang.wu1 d1e5aea476 hdmitx21: add hdmitx divider cts_htx_tmds_clk check [1/1]
PD#SWPL-193594

Problem:
cts_htx_tmds_clk is 0

Solution:
add clk check, if cts_htx_tmds_clk is 0, reset it

Verify:
s5

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: I5b854c89c41d0551e640d2fdd4122735097275e4
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-12-05 10:31:01 +08:00
qing.zhang 83e63eef35 audio: the status of spdif mute changed when resume [1/1]
PD#SWPL-194781

Problem:
the spdif pinmux function can not be restored when suspend && resume
with youtube playback.
when suspend, the spdif was muted by audio hal change routing from arc to
speaker, and spdif pin function changed to default gpio pin function;
after resume, because the spdif resume done before audio hal changed route
from speaker to arc with spdif unmute, so the spdif pin function can not be
restored controlled only by spdif mute flag.

Solution:
use spdif soft mute and mute flag to cover it
and it will not affect the tinymix control with both soft mute and pin
mute

Verify:
t6d

Change-Id: I9af00ab1bbe014098556b548911c0650928bbf19
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-12-05 10:12:09 +08:00
Jianxiong Pan fc3f47b813 config: sync loki optimization configs to trunk. [1/1]
PD#SWPL-189471

Problem:
memory optimization.

Solution:
remove useless configs.
CONFIG_KALLSYMS_ALL=n
CONFIG_SCHEDSTATS=n
CONFIG_BLK_CGROUP=n
CONFIG_EROFS_FS_PCPU_KTHREAD=y
CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y
CONFIG_RTC_NVMEM=n
CONFIG_NVMEM=n
CONFIG_NVMEM_SYSFS=n
CONFIG_HVC_DRIVER=n
CONFIG_SYS_HYPERVISOR=n
CONFIG_PPS=n
CONFIG_XZ_DEC_X86=n
CONFIG_XZ_DEC_POWERPC=n
CONFIG_XZ_DEC_IA64=n
CONFIG_XZ_DEC_SPARC=n

Verify:
sc2.

Change-Id: I310bf8daf2dc328b85e45122204b94e5827c2a97
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-12-04 11:23:44 +08:00
rufei.fu 198cb37873 rc: disable media rc core [1/1]
PD#SWPL-166012

Problem:
Some 512MB platforms need memory optimization and
our remote control not use rc core framework.

Solution:
Disable the whole media rc core framework.

Verify:
t5M,TXHD2

Change-Id: I284a759e494f258fc527ae428fb24f933867c179
Signed-off-by: rufei.fu <rufei.fu@amlogic.com>
2024-12-04 11:23:36 +08:00
Lei Zhang a5d2b16e92 arm: defconfig: disable unnecessary config [1/1]
PD#SWPL-183025

Problem:
some unnecessary config cost boot time, such as TRACER init cost
more than 100ms on boot stage

Solution:
sync with ARM64, disable some unnecessary config

Verify:
soddy

Change-Id: I4495aeec4f76fc36d644bc04d84738c976c85608
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-12-04 11:20:54 +08:00
Xingxing Wang 6d15c0c2aa thermal: correct ddr refresh parameter when ddr cooling device registered [1/1]
PD#OTT-68374

Problem:
ddr parameters mismatch with temperature

Solution:
correct when ddr cooling device registered

Verify:
S1A

Change-Id: I5f7a580b71e061ccf36e0e7a3bde2d758f867e51
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-12-03 17:23:01 +08:00
yu.xie 335a6b3184 codec_mm: CB1 Error return value cause the DMC VIOLATION. [1/1]
PD#SWPL-181118

Problem:
error return value of codec_mm_scatter_alloc_want_pages_in cause the DMC
VIOLATION.

Solution:
Optimized the interface return value.

Verify:
none

Change-Id: I0f10472541c4de06d00718dee67d6bd02db09770
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-12-03 15:51:21 +08:00
Hanjie Lin ba13fc3f0a iotrace: fix iotrace record_print_buf crash issue [1/1]
PD#SWPL-190078

Problem:
after reboot latest iotrace record may not completely clean

Solution:
add more exception check

Verify:
t5m

Change-Id: Iae157d6a8d195024bfa6ce5f6cd5e9fbfd6e5363
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2024-12-03 15:34:00 +08:00
jinbiao bbda633447 eMMC: The argument of CMD12 is set to 0. [1/1]
PD#SWPL-188326

Problem:
When the argument of the last command was non-zero,
the argument of CMD12 was non-zero because it was not cleared.

Solution:
The argument of CMD12 is set to 0.

Verify:
S7_S905Y5

Change-Id: I987f0579afbeb7b93fe8e33662207c0d72d3e095
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
2024-12-03 15:32:47 +08:00
jian zhou 3bf02c5737 audio: fix earc rx certification HFR5-2-52 case FAILED [1/1]
PD#SWPL-194584

Problem:
LayoutB is 8 channel, and layoutB happened channel swap.

Solution:
There is unstable tick when channel swap, set parity true,
audio hal reopen earc dmac,channel is alignment.

Verify:
t7c

Change-Id: I5d1b9c93efa357c28d72d118d46b92cb755c30a8
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
(cherry picked from commit 6890853289)
2024-12-02 14:36:33 +08:00
jiebing chen 30431e6018 Audio: set earc rx trim efuse value [1/1]
PD#SWPL-176946

Problem:
need set trim efuse value for kernel boot up

Solution:
read efuse value in earc driver probe, if can't read
efuse value, then set default value 0x10.

Verify:
bl201

Change-Id: I8a43becbb1d5823851fa1ad0238a52c58f8cf588
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-12-02 14:19:41 +08:00
jian zhou 7358e3e4d8 audio: fix s6/s7d eARC RX 32k jiter test failed [1/1]
PD#SWPL-185715

Problem:
s6/s7d eARC RX 32k jiter test failed, capture nothing data from
eARC RX.
root cause: eARC RX pll lock flag is false, so can't get data.

Solution:
add detection task, when eARC RX pll lock flag is false, and
eARC RX pll auto frequency calculation(afc) is true, and afc value
is 0x1f, then enable lock force.

Verify:
s6/s7d

Change-Id: Ie180051c31d155474ce5e43fffd77a06f39feeb9
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-12-02 14:19:09 +08:00
chuangcheng.peng a251ba721e smartcard: remove the unused directory [1/1]
PD#SWPL-193228

Problem:
need maintain the unused directory.

Solution:
remove the unused directory

Verify:
not verified

Change-Id: I1e7551340e336de91fb046f874480a63824a23f1
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-12-02 10:24:36 +08:00
lei.chen 8c04de42af BT: suspend host wake bt [1/1]
PD#SWPL-194042

Problem:
1.not support host wake bt

Solution:
1.support host wake bt;

Verify:
ohm.

Change-Id: Id70d84239b035b1565991cff726c125a17b59028
Signed-off-by: lei.chen <lei.chen@amlogic.com>
2024-12-02 10:24:20 +08:00
hang cheng bd40a42bad vdac: disable cdac_pwd for s4/s4d when suspend [1/1]
PD#SWPL-192187

Problem:
power consumption of cvbs is not satisfied

Solution:
disable cdac_pwd for s4/s4d when suspend, only
keep bangap for SAR ADC

Verify:
s4

Test:
DRM-CVBS-3

Change-Id: I825fc8400f19838ff39988dc60f7efcc85907449
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-12-02 10:24:20 +08:00
Liming Xue 28a874960e host: add efuse register for dsp enable check [1/1]
PD#SWPL-187343

Problem:
Some chips have their dsp disabled by efuse, which would cause fail
starting of dsp. In this case, the reserved resources in the dts
should be released.

Solution:
Read the efuse register to confirm whether dsp is disabled or not
and release the reserved space in dts when it is disabled.

Verify:
sc2/s6

Change-Id: If9ebb4c26d72fe225354c23063b96efa73a2de7d
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-11-29 01:09:32 -08:00
Liming Xue 1398ee3012 thermal: add ddr control driver [1/1]
PD#SWPL-192734

Problem:
ddr kernel refresh setting s6/T3x

Solution:
ddr kernel refresh setting s6/T3x

Verify:
t3x/s6

Change-Id: I54bef4c15c54d9f2b18c9e2b06905bd1e1f541f7
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-11-28 14:57:44 +08:00
jian zhou 974bf87a9c audio: fix s6 eARC RX discovery failed after suspend/resume [1/1]
PD#SWPL-194378

Problem:
eARC RX discovery failed after suspend/resume.
root cause: earc resume set hdmi tx 5v low, but hdmi module
resume is not ready, we can't get plug out, and earc keep
arc always, it can't entry discovery follow.

Solution:
when suspend, earc entry idle1 state.

Verify:
s6

Change-Id: Id60318e72a70bb2d1affeba8759c8e805c901185
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-11-27 18:56:38 +08:00
Pengcheng Chen 0fea2af427 vpp: adjust cur_ratio coeff for sc2 vd2 [1/1]
PD#SWPL-193019

Problem:
pip small window video flash

Solution:
adjust cur_ratio coeff switch to dw for sc2 vd2

Verify:
sc2

Change-Id: Ia9ec75e4c932540c3318d0329a8de53516577613
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: gongwei.chen <gongwei.chen@amlogic.com>
2024-11-27 14:52:44 +08:00
ruofei.zhao a111cb8dda hdmitx: cannot enter mini mode switch when clearing hdr packet [1/1]
PD#SWPL-193457

Problem:
DV certification test, HDR packet is not closed,
resulting in test failure

Solution:
when there is no HDR output, the HDR packet is disabled

Verify:
S7D

Test:
DRM-TX-138

Change-Id: I10aa0a8d0af4c5fbf2cd48814b2f3df2966912e9
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-11-26 18:05:38 -08:00
qing.zhang 5b6c2a0b23 audio: hisense earc and resample feature [1/1]
PD#SWPL-168498

Problem:
1. resample
loopbackA with resample_B for 4micin + 4LB.
resample_B only support 2ch resample process, which cause signal
aliasing;
2. earc tx pop issue for some devices

Solution:
1. select resample_A module for loopback 4 +4
changlist from:https://scgit.amlogic.com/#/c/407913
2. holdbus with format change control
changlist from:https://source.amlogic.com/c/tv/customer/
ay30a4/kernel/common_drivers/+/26293

Verify:
T5M

Change-Id: I11c522bf590503055b2778549b487f22745318d2
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-11-26 00:14:12 -08:00
hang cheng 11958973e3 cvbs: forcely disable bandgap for sc2 when suspend [1/1]
PD#SWPL-184116

Problem:
on sc2, the default bandgap setting of vdac is enabled,
thus cause cvbs out power consumption issue when suspend

Solution:
forcely disable bandgap when suspend, even if cvbs out
is not enabled currently

Verify:
SC2

Test:
DRM-CVBS-3

Change-Id: I7b2b07b5b4dfb2d7601413f39ba93c8b00be6b32
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-11-26 14:56:46 +08:00
bangzheng.liu 8a5d72b04d DSP: SC2 ffv dsp do not enter power off while in early suspend [1/2]
PD#SWPL-179917

Problem:
1. There's no power consumption limitation in early suspend
state.
2. After pressing power key to enter suspend, audio hal would
release audio_in lock slowly (after about 300ms or more), and
audio hal would send mbox cmd for pcm read and get latency.
3. After audio_in lock released, audio hal needsend mbox cmd
to check DSP VAD keywords wakeup first before Google katniss
receive the screen wakeup event.

Solution:
1. DSP do not enter power off while in early suspend.
2. Host driver do not switch clk if ffv is supported.

Verify:
sc2

Change-Id: I79768a691ac07af60fa8dc7e471254937398f727
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
2024-11-26 14:20:47 +08:00
Long 14f416f380 eMMC: optimizing the data tuning process of HS400ES. [1/1]
PD#SWPL-175417

Problem:
if any cmd resp timeout error in HS400es will not
continue to send the stop command.

Solution:
if there is cmd resp timeout error, we need to
send stop command additionally.

Verify:
txhd2

Change-Id: Id6652ab18e8e7b4281e06d8ff537986bdf60a31e
Signed-off-by: Long <long.yu@amlogic.com>
2024-11-26 13:32:16 +08:00
kun.liu 16f56a2d8c codec mm: CB2 Debug method for fixing reserved memory [1/1]
PD#SWPL-187179

Problem:
The debugging mechanism of reserved memory cannot be used properly

Solution:
Delete invalid code with reserved memory settings

Verify:
sc2

Change-Id: I63d899d505f95f22f1af2ccfdaed6a0bb63c1378
Signed-off-by: kun.liu <kun.liu@amlogic.com>
2024-11-26 11:17:40 +08:00
Long 98a6ae3ff8 eMMC: Optimize the cmd tuning method. [1/1]
PD#SWPL-180164

Problem:
The results obtained by cmd tuning are all 64,
and no abnormal sampling point can be found

Solution:
Test the cmd tuning again.

Verify:
T5m

Change-Id: I2bcdfc8cb46abd8bfbfd38922fc34d36f0dd8435
Signed-off-by: Long <long.yu@amlogic.com>
2024-11-25 20:30:47 +08:00
Zhongfu Luo e3b11f4d06 efuse: add efuse_obj encrypted data write command [1/1]
PD#SWPL-183754

Problem:
add efuse_obj encrypted data write command

Solution:
add efuse_obj encrypted data write command

Verify:
S6 BL208

Change-Id: I9f75c0d9f4cdaf6db3d962cd08b5b261a956f711
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2024-11-25 20:19:57 +08:00
song.han fe1184b655 iotrace: add preempt protections at hooks [1/1]
PD#SWPL-179411

Problem:
BUG: sleeping function called from invalid context
	at kernel/sched/completion.c
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1,
	name: swapper/0
Preemption disabled at:
[<c0428468>] queue_stop_cpus_work+0x60/0x1bc
[<c030dc24>] show_stack+0x28/0x2c
[<c105e624>] dump_stack_lvl+0x48/0x54
[<c0371660>] ___might_sleep+0x1c4/0x1e8
[<c10621b8>] wait_for_completion+0x28/0x58
[<c0428180>] stop_machine_cpuslocked+0x10c/0x208
[<c106ac28>] patch_text+0x20/0x28
[<c0501254>] __jump_label_update+0x7c/0xec
[<c05002b8>] static_key_enable_cpuslocked+0x8c/0x100
[<c050034c>] static_key_enable+0x20/0x28
[<c0441acc>] tracepoint_add_func+0x38c/0x400
[<c0441c00>] tracepoint_probe_register+0x54/0x6c
[<c0db6974>] ftrace_ramoops_init+0x288/0x2fc
[<c163cb30>] aml_iotrace_init+0x46c/0x550
[<c03020a0>] do_one_initcall+0x104/0x364
[<c1601f90>] do_initcall_level+0xa0/0x15c
[<c1601ec0>] do_initcalls+0x58/0x88
[<c1601d04>] kernel_init_freeable+0x114/0x160
[<c105fe24>] kernel_init+0x20/0x1c4
[<c0300134>] ret_from_fork+0x14/0x40

Solution:
add preempt protections at hooks

Verify:
t5w

Change-Id: Ib6a13e104aeb697e84e331152f6ea41ef6d11b35
Signed-off-by: song.han <song.han@amlogic.com>
2024-11-25 20:19:36 +08:00
chen.xu 7f46a4cf3c video_composer: vc support dec set screen mode [1/1]
PD#SWPL-178926

Problem:
video_composer need support dec set screen mode.

Solution:
1.while dec set screen mode, vpp using this 1st priority.

Verify:
T982

Change-Id: I71d9cdb4d7b7ed452427f55e6e8767709d35b052
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-11-25 01:39:31 -08:00
ruofei.zhao 1a05dc6f47 hdmitx: solve the Linux compilation error problem [1/1]
PD#SWPL-192282

Problem:
linux compilation error

Solution:
add CONFIG_AMLOGIC_MEDIA_RESMANAGE for macro isolation

Verify:
S6

Test:
DRM-TX-5

Change-Id: Ib9b787648e614049e467b7eb477e90503a0aa6ca
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-11-25 17:08:17 +08:00
jian zhou b17fc8c7bb audio: bringup Speaker output for raman soundbar [1/1]
PD#SWPL-193973

Problem:
No speaker output for raman soundbar.

Solution:
1.add earc dai link
2.add spdif in pinmux
3.fix pinmux conflict
4.set right suffix-name

Verify:
raman-soundbar

Change-Id: I2096886ca16163072c58958c67bee33bce0779da
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-11-25 15:27:27 +08:00
Pengcheng Chen 0c7b596399 vpp: add dither mode ctrl for s7d [1/1]
PD#SWPL-193505

Problem:
add dither mode ctrl for s7d

Solution:
add dither mode ctrl for s7d

Verify:
s7d

Change-Id: If706b52f71e287cb986d582934854249a70a5322
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-11-25 14:46:17 +08:00
Jian Cao 7930015985 ge2d: optimize the process of turning the clock on and off [1/1]
PD#SWPL-193153

Problem:
during burn-in testing, ge2d causes the system to reboot.

Solution:
1. add a timer to prevent the clock from turning on and off frequently
2. modify the status register and bit
3. add GE2D_LOG_SKIP_PROCESS flag for debugging

Verify:
s7d

Change-Id: I30fac680be0e1b0fa9833088aab05f45df7ca822
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-11-25 14:46:17 +08:00
Liming Xue c14f9cd816 dsp: dsp disable clk when suspend [1/1]
PD#SWPL-178328

Problem:
in scenarios where DSP is not required, dsp should disable clk when
suspend

Solution:
disable dsp clk

Verify:
sc2

Change-Id: If0351c63d5b631871e67e6100388d1e143e05ab0
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-11-24 21:51:45 -08:00
jian zhou 3d9a32bf1e audio: fix eARC RX discovery failed after suspend/resume [1/1]
PD#SWPL-193799
PD#SWPL-175752

Problem:
eARC RX discovery failed after suspend/resume.
root cause:entry the suspend, heartbeat lost, and eARC state disconnected.
when entry resume, there is no new eARC discovery process.

Solution:
eARC RX keep 5V low for 300ms when resume, and new eARC discovery
process is triggered by the HPD.

Verify:
sc2

Change-Id: Iffe9b78b00c0d77359e6e34289e3735276f056d9
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-11-25 10:11:45 +08:00