18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright 2017 Linaro Ltd.
48c2ecf20Sopenharmony_ci * Copyright 2017 ZTE Corporation.
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef __ZX_TVENC_REGS_H__
88c2ecf20Sopenharmony_ci#define __ZX_TVENC_REGS_H__
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#define VENC_VIDEO_INFO			0x04
118c2ecf20Sopenharmony_ci#define VENC_VIDEO_RES			0x08
128c2ecf20Sopenharmony_ci#define VENC_FIELD1_PARAM		0x10
138c2ecf20Sopenharmony_ci#define VENC_FIELD2_PARAM		0x14
148c2ecf20Sopenharmony_ci#define VENC_LINE_O_1			0x18
158c2ecf20Sopenharmony_ci#define VENC_LINE_E_1			0x1c
168c2ecf20Sopenharmony_ci#define VENC_LINE_O_2			0x20
178c2ecf20Sopenharmony_ci#define VENC_LINE_E_2			0x24
188c2ecf20Sopenharmony_ci#define VENC_LINE_TIMING_PARAM		0x28
198c2ecf20Sopenharmony_ci#define VENC_WEIGHT_VALUE		0x2c
208c2ecf20Sopenharmony_ci#define VENC_BLANK_BLACK_LEVEL		0x30
218c2ecf20Sopenharmony_ci#define VENC_BURST_LEVEL		0x34
228c2ecf20Sopenharmony_ci#define VENC_CONTROL_PARAM		0x3c
238c2ecf20Sopenharmony_ci#define VENC_SUB_CARRIER_PHASE1		0x40
248c2ecf20Sopenharmony_ci#define VENC_PHASE_LINE_INCR_CVBS	0x48
258c2ecf20Sopenharmony_ci#define VENC_ENABLE			0xa8
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#endif /* __ZX_TVENC_REGS_H__ */
28