mt_dp.h 518 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2020-2022, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef MT_DP_H
  7. #define MT_DP_H
  8. #define DP_TX_SECURE_REG11 (0x2c)
  9. #define VIDEO_MUTE_SEL_SECURE_FLDMASK (0x10)
  10. #define VIDEO_MUTE_SW_SECURE_FLDMASK (0x8)
  11. enum DP_ATF_HW_TYPE {
  12. DP_ATF_TYPE_DP = 0,
  13. DP_ATF_TYPE_EDP = 1
  14. };
  15. enum DP_ATF_CMD {
  16. DP_ATF_DP_VIDEO_UNMUTE = 0x20,
  17. DP_ATF_EDP_VIDEO_UNMUTE,
  18. DP_ATF_CMD_COUNT
  19. };
  20. int32_t dp_secure_handler(uint64_t cmd, uint64_t para, uint32_t *val);
  21. #endif