xiang.wu1 660dfa0b38 hdmitx: Optimize phy node close phy process [1/1]
PD#SWPL-161417

Problem:
There is no CVBS/dummy output and vsync under S5 uboot.
echo 0 > phy turns off phy, but the action of turning off
phy is executed in the vsync interrupt. Because there is no
vsync interrupt, the action of turning off phy here will not
actually be executed. When the system is set to hdmi mode
(1)hdmitx_phy_pre_init()->(2)hdmi set venc—>(3)enable hdmi HW
–>(4)enable HDMI phy. HDMI venc/vsync was enabled between (2)
and(3), At this time, the phy shutdown action was performed,
and the phy pre init setting in (1) was cleared, resulting
in HDMI without TODIG CLK–>hdmitx ch_clk

Solution:
if not have vsync intr, wait 3 frame,manually turn off phy

Verify:
s5

Test:
DRM-TX-67, DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81

Change-Id: I161bf83c1b6a1da4cc910ddc4a7edd20ad910d18
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-04-01 19:37:21 +08:00
2024-04-01 16:02:32 +08:00
2024-01-22 20:28:45 +08:00
S
Description
No description provided
118 MiB
Languages
C 98.9%
Perl 0.4%
Makefile 0.4%
Shell 0.2%