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 _66353_CONFIG_H_ 13 #define _66353_CONFIG_H_ 14 15 #ifndef _SHOW_PRAGMA_MSG 16 #define message(ignore) 17 #endif 18 19 /* 20 * Switch register i2c address: 0x94(PCADR=0) or 0x96(PCADR=1) 21 */ 22 #define SWAddr 0xAC 23 24 /* 25 * RX register i2c address ( programmable ) 26 */ 27 #define RXAddr 0xB2 28 29 /* 30 * CEC register i2c address ( programmable ) 31 */ 32 #define CECAddr 0xC0 33 34 /* 35 * EDID RAM i2c address ( programmable ) 36 */ 37 #define RXEDIDAddr 0xa8 38 39 /* 40 * Internal compile options: 41 */ 42 #define DEBUG_FSM_CHANGE 1 43 #define USING_WDOG 0 44 45 /* 46 * 66353 and 66354 don't need this: 47 * set to 0 48 */ 49 #define CHECK_INT_BEFORE_TXOE 0 50 51 /* 52 * EN_AUTO_RS: ( compile option ) 53 * 1: Enable Auto EQ code 54 * 0: Disable Auto EQ code 55 */ 56 #define EN_H14_SKEW 0 57 58 /* 59 * EN_AUTO_RS: ( compile option ) 60 * 1: Enable Auto EQ code 61 * 0: Disable Auto EQ code 62 */ 63 #define EN_AUTO_RS 1 64 65 /* 66 * EN_CEC: 67 * 1: Enable CEC function 68 * 0: Disable CEC function 69 */ 70 #define EN_CEC 0 71 72 /* 73 * FIX_EDID_FOR_ATC_4BLOCK_CTS: 74 * 1: For ATC 4 blocks EDID test 75 */ 76 #define FIX_EDID_FOR_ATC_4BLOCK_CTS 1 77 78 #endif // _66353_CONFIG_H_ 79 80