1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (c) 2022 Rockchip Electronics Co. Ltd. 4 * 5 * it66353 HDMI 3 in 1 out driver. 6 * 7 * Author: Kenneth.Hung@ite.com.tw 8 * Wangqiang Guo <kay.guo@rock-chips.com> 9 * Version: IT66353_SAMPLE_1.08 10 * 11 */ 12 #ifndef _DEBUG_H_ 13 #define _DEBUG_H_ 14 15 #include <linux/kernel.h> 16 #include "platform.h" 17 18 #define DBG_TXOE_1(x) { } 19 #define DBG_TXOE_0(x) { } 20 21 #define DBG_CLKSTABLE_0(x) { } 22 #define DBG_CLKSTABLE_1(x) { } 23 24 #define DBG_SYMLOCK_0(x) { } 25 #define DBG_SYMLOCK_1(x) { } 26 27 enum { 28 RX_SWITCH_PORT, 29 RX_HPD_HIGH, 30 RX_HPD_LOW, 31 CLK_STABLE, 32 CLK_UNSTABLE, 33 AEQ_TOGGLE_HPD, 34 TXOE0, 35 TXOE1, 36 }; 37 38 #define DBG_TM(n) // { __debug_set_io(n); } 39 int set_port(int portnum, int wrmask, int wrdata); 40 void __debug_set_io(u8 n); 41 #endif 42