hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2022 Rockchip Electronics Co. Ltd.
 *
 * it66353 HDMI 3 in 1 out driver.
 *
 * Author: Kenneth.Hung@ite.com.tw
 *        Wangqiang Guo <kay.guo@rock-chips.com>
 * Version: IT66353_SAMPLE_1.08
 *
 */
#ifndef _66353_CONFIG_H_
#define _66353_CONFIG_H_
 
#ifndef _SHOW_PRAGMA_MSG
#define message(ignore)
#endif
 
/*
 * Switch register i2c address: 0x94(PCADR=0) or 0x96(PCADR=1)
 */
#define SWAddr        0xAC
 
/*
 * RX register i2c address ( programmable )
 */
#define RXAddr        0xB2
 
/*
 * CEC register i2c address ( programmable )
 */
#define CECAddr        0xC0
 
/*
 * EDID RAM i2c address ( programmable )
 */
#define RXEDIDAddr    0xa8
 
/*
 * Internal compile options:
 */
#define DEBUG_FSM_CHANGE 1
#define USING_WDOG 0
 
/*
 * 66353 and 66354 don't need this:
 * set to 0
 */
#define CHECK_INT_BEFORE_TXOE 0
 
/*
 * EN_AUTO_RS: ( compile option )
 * 1: Enable Auto EQ code
 * 0: Disable Auto EQ code
 */
#define EN_H14_SKEW 0
 
/*
 * EN_AUTO_RS: ( compile option )
 * 1: Enable Auto EQ code
 * 0: Disable Auto EQ code
 */
#define EN_AUTO_RS 1
 
/*
 * EN_CEC:
 * 1: Enable CEC function
 * 0: Disable CEC function
 */
#define EN_CEC 0
 
/*
 * FIX_EDID_FOR_ATC_4BLOCK_CTS:
 * 1: For ATC 4 blocks EDID test
 */
#define FIX_EDID_FOR_ATC_4BLOCK_CTS 1
 
#endif  // _66353_CONFIG_H_