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