hdmi_cfg.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __HDMI_CFG_H__
  2. #define __HDMI_CFG_H__
  3. #include "drv_hdmi_external.h"
  4. #define HDMI_HPD_L2H_DELAY (700) //unit:1ms, the delay time of HPD pull low to high
  5. #define HDMI_INFORM_NOSIGNAL_DELAY_NO_5V (1000) //unit:1ms, the delay time of inform no signal to KMF without 5V
  6. #define HDMI_INFORM_NOSIGNAL_DELAY_WITH_5V (8000) //unit:1ms, the delay time of inform no signal to KMF with 5V
  7. #define HDMI_DDC5V_WORKAROUND //for 531 DDC5V Detection, the longest out count is 170ms, but SONY PBD-S360 SDA low period is 300ms
  8. //#define CONFIG_HDMI_HW_PATCH_FOR_HDCP_COLOR_SNOW //for DVD compliance, but not for HDCP CTS
  9. #ifdef CONFIG_SUPPORT_SOURCE_HPD_USE_1K_OHM
  10. #define HDMI_HPD_USE_1K_OHM //for HDMI CTS, but HPD will be low with some DVD player, mantis:21452
  11. #endif
  12. #define HDMI_RESET_IN_RANGE_INTR_TH (20) //times of contiunuous IN_RANGE happened before PLL_LOCK
  13. #define CONFIG_CHANGE_HOT_PLUG_ACTION
  14. #ifdef CONFIG_HDMI_HPD_EXT_1K_TO_SOURCE_5V
  15. #define HDMI_HPD_EXT_1K_TO_SOURCE_5V
  16. #endif
  17. #ifdef CONFIG_SUPPORT_MONITOR
  18. #define HDMI_SET_HPD_AT_ALL_SOURCE
  19. #define HDMI_NOSIGNAL_CNT_WITH_5V 5
  20. #else
  21. #define HDMI_NOSIGNAL_CNT_WITH_5V 5
  22. #endif
  23. #endif /* __HDMI_CFG_H__ */