if (hdmi_cec_en != 0) {
if (suspend_pddq_sel == 2) {
/* set rxsense pulse */
- rx_phy_rxsense_pulse(10, 10);
+ rx_phy_rxsense_pulse(10, 10, 0);
}
}
/* phy powerdown */
* rxsense pulse and phy_int shottern than
* 50ms, SDA may be pulled low 800ms on MTK box
*/
- rx_phy_rxsense_pulse(20, 50);
+ rx_phy_rxsense_pulse(20, 50, 1);
}
}
hdmirx_phy_init();
#include "hdmi_rx_edid.h"
-#define RX_VER0 "ver.2018-11-30"
+#define RX_VER0 "ver.2018-12-13"
/*
*
*
}
}
-void rx_phy_rxsense_pulse(unsigned int t1, unsigned int t2)
+void rx_phy_rxsense_pulse(unsigned int t1, unsigned int t2, bool en)
{
/* set rxsense pulse */
- hdmirx_phy_pddq(1);
+ hdmirx_phy_pddq(!en);
mdelay(t1);
- hdmirx_phy_pddq(0);
+ hdmirx_phy_pddq(en);
mdelay(t2);
}
extern void rx_force_hpd_rxsense_cfg(uint8_t level);
extern void rx_audio_bandgap_rst(void);
extern void rx_audio_bandgap_rst(void);
-extern void rx_phy_rxsense_pulse(unsigned int t1, unsigned int t2);
+extern void rx_phy_rxsense_pulse(unsigned int t1, unsigned int t2, bool en);
extern void rx_phy_power_on(unsigned int onoff);