hdmitx: add a fake hpd for system test [1/1]
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Fri, 15 Nov 2019 08:03:43 +0000 (16:03 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 4 Dec 2019 01:19:03 +0000 (18:19 -0700)
commit51907dfec598c6d4924dab02dd55c7293adde627
treedd66287bc04d74a81730078acc2a9e437b880303
parent4f9b15ca22bb81010354db6280f06f05144d0587
hdmitx: add a fake hpd for system test [1/1]

PD#SWPL-16891

Problem:
For automatical test, the HDMI cable are always connected between Tx and Rx
without manully action.

Solution:
add a fake hpd for system test
echo 0[1] > /sys/class/amhdmitx/amhdmitx0/fake_plug

Verify:
G12/U212

Change-Id: I826fc0094845a13066a1535a4a87727b4ecad452
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
(cherry picked from commit e764ebfccc9502eb027f20527b58f7d4f509d1fd)
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c