summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/zte/zx_tvenc_regs.h
blob: bd91f5dcc1f3db7c024f4e7e232ed69e7a49a516 (plain)
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
/*
 * Copyright 2017 Linaro Ltd.
 * Copyright 2017 ZTE Corporation.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 */

#ifndef __ZX_TVENC_REGS_H__
#define __ZX_TVENC_REGS_H__

#define VENC_VIDEO_INFO			0x04
#define VENC_VIDEO_RES			0x08
#define VENC_FIELD1_PARAM		0x10
#define VENC_FIELD2_PARAM		0x14
#define VENC_LINE_O_1			0x18
#define VENC_LINE_E_1			0x1c
#define VENC_LINE_O_2			0x20
#define VENC_LINE_E_2			0x24
#define VENC_LINE_TIMING_PARAM		0x28
#define VENC_WEIGHT_VALUE		0x2c
#define VENC_BLANK_BLACK_LEVEL		0x30
#define VENC_BURST_LEVEL		0x34
#define VENC_CONTROL_PARAM		0x3c
#define VENC_SUB_CARRIER_PHASE1		0x40
#define VENC_PHASE_LINE_INCR_CVBS	0x48
#define VENC_ENABLE			0xa8

#endif /* __ZX_TVENC_REGS_H__ */