Hi, All:
in imx6Q, there is a pin called "HDMI_HPD" which tell imx6 if HDMI cable is attached or not.
and in kernel/driver/video/mxc_hdmi.c, there is a function names "mxc_hdmi_hotplug( )" which will excuted when user plug in/out HDMI cable.
I wonder how does GIC detect a interrupt by HDMI_HPD pin? edge, or level high/low? If I plugin HDMI and boot(this means no rising or falling edge will happen), the system still enter the mxc_hdmi_hotplug( ).
could someone tell me how GIC got affected by HDMI_HPD pin. thanks.
Hi Wally
HDMI_HPD is special HDMI signal (not belong to i.MX6 GPIO)
and it is active high level. It is processed by HDMI module.
GIC receives interrupt from HDMI module, not from pad HDMI_HPD.
[Milkymist-devel] How does Hot Plug Detection(HPD) work ?
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, Chip:
thanks for reference links. :smileygrin:
By the way, does the SOC implement debounce circuit into pad HDMI_HPD, or we need to design it on our custom board?
Wally
Hi Wally
yes I think debounce is implemented in SoC.
Best regards
chip