blob: 0607b19b4e2305ba7a7513beb29fb280bf6aa3c2
1 | /* |
2 | * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
3 | * |
4 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License as published by |
6 | * the Free Software Foundation; either version 2 of the License, or |
7 | * (at your option) any later version. |
8 | * |
9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
12 | * more details. |
13 | * |
14 | * You should have received a copy of the GNU General Public License along |
15 | * with this program; if not, write to the Free Software Foundation, Inc., |
16 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | * |
18 | * Description: |
19 | */ |
20 | #ifndef __ADDR_DTMB_SYNC_H__ |
21 | #define __ADDR_DTMB_SYNC_H__ |
22 | |
23 | #include "addr_dtmb_top.h" |
24 | #define DTMB_SYNC_ADDR(x) (DTMB_DEMOD_BASE + (x << 2)) |
25 | |
26 | #define DTMB_SYNC_TS_CFO_PN_VALUE DTMB_SYNC_ADDR(0x57) |
27 | #define DTMB_SYNC_TS_CFO_ERR_LIMIT DTMB_SYNC_ADDR(0x58) |
28 | #define DTMB_SYNC_TS_CFO_PN_MODIFY DTMB_SYNC_ADDR(0x59) |
29 | #define DTMB_SYNC_TS_GAIN DTMB_SYNC_ADDR(0x5a) |
30 | #define DTMB_SYNC_FE_CONFIG DTMB_SYNC_ADDR(0x5b) |
31 | #define DTMB_SYNC_PNPHASE_OFFSET DTMB_SYNC_ADDR(0x5c) |
32 | #define DTMB_SYNC_PNPHASE_CONFIG DTMB_SYNC_ADDR(0x5d) |
33 | #define DTMB_SYNC_SFO_SFO_PN0_MODIFY DTMB_SYNC_ADDR(0x5e) |
34 | #define DTMB_SYNC_SFO_SFO_PN1_MODIFY DTMB_SYNC_ADDR(0x5f) |
35 | #define DTMB_SYNC_SFO_SFO_PN2_MODIFY DTMB_SYNC_ADDR(0x60) |
36 | #define DTMB_SYNC_SFO_CONFIG DTMB_SYNC_ADDR(0x61) |
37 | #define DTMB_SYNC_FEC_CFG DTMB_SYNC_ADDR(0x67) |
38 | #define DTMB_SYNC_FEC_DEBUG_CFG DTMB_SYNC_ADDR(0x68) |
39 | #define DTMB_SYNC_DATA_DDR_ADR DTMB_SYNC_ADDR(0x69) |
40 | #define DTMB_SYNC_DEBUG_DDR_ADR DTMB_SYNC_ADDR(0x6a) |
41 | #define DTMB_SYNC_FEC_SIM_CFG1 DTMB_SYNC_ADDR(0x6b) |
42 | #define DTMB_SYNC_FEC_SIM_CFG2 DTMB_SYNC_ADDR(0x6c) |
43 | #define DTMB_SYNC_TRACK_CFO_MAX DTMB_SYNC_ADDR(0x6d) |
44 | #define DTMB_SYNC_CCI_DAGC_CONFIG1 DTMB_SYNC_ADDR(0x6e) |
45 | #define DTMB_SYNC_CCI_DAGC_CONFIG2 DTMB_SYNC_ADDR(0x6f) |
46 | #define DTMB_SYNC_CCI_RP DTMB_SYNC_ADDR(0x70) |
47 | #define DTMB_SYNC_CCI_DET_THRES DTMB_SYNC_ADDR(0x71) |
48 | #define DTMB_SYNC_CCI_NOTCH1_CONFIG1 DTMB_SYNC_ADDR(0x72) |
49 | #define DTMB_SYNC_CCI_NOTCH1_CONFIG2 DTMB_SYNC_ADDR(0x73) |
50 | #define DTMB_SYNC_CCI_NOTCH2_CONFIG1 DTMB_SYNC_ADDR(0x74) |
51 | #define DTMB_SYNC_CCI_NOTCH2_CONFIG2 DTMB_SYNC_ADDR(0x75) |
52 | |
53 | #endif |
54 |