dptx: Increased HPD pulse duration to 0.500 ms to allow for debouncing.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-01-07 12:14:56 -08:00 committed by Suneel Garapati
parent 1c9f00c076
commit 7e466af028

View file

@ -149,12 +149,13 @@ void XDptx_HpdInterruptHandler(XDptx *InstancePtr)
if (HpdPulseDetected) {
/* The source device must debounce the incoming HPD signal by
* sampling the value at an interval greater than 250 ms. */
* sampling the value at an interval greater than 0.500 ms. An
* HPD pulse should be of width 0.5 ms - 1.0 ms. */
HpdDuration = XDptx_ReadReg(InstancePtr->Config.BaseAddr,
XDPTX_HPD_DURATION);
if (HpdDuration >= 250) {
if (HpdDuration >= 500) {
InstancePtr->HpdPulseHandler(
InstancePtr->HpdPulseCallbackRef);
InstancePtr->HpdPulseCallbackRef);
}
}
}