xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/media/xilinx-vip.h (revision e670fd5c413e99c2f6a37901bb21c537fcd322d2)
1 /*	$NetBSD: xilinx-vip.h,v 1.1.1.2 2019/05/25 11:29:13 jmcneill Exp $	*/
2 
3 // SPDX-License-Identifier: GPL-2.0
4 /*
5  * Xilinx Video IP Core
6  *
7  * Copyright (C) 2013-2015 Ideas on Board
8  * Copyright (C) 2013-2015 Xilinx, Inc.
9  *
10  * Contacts: Hyun Kwon <hyun.kwon@xilinx.com>
11  *           Laurent Pinchart <laurent.pinchart@ideasonboard.com>
12  */
13 
14 #ifndef __DT_BINDINGS_MEDIA_XILINX_VIP_H__
15 #define __DT_BINDINGS_MEDIA_XILINX_VIP_H__
16 
17 /*
18  * Video format codes as defined in "AXI4-Stream Video IP and System Design
19  * Guide".
20  */
21 #define XVIP_VF_YUV_422			0
22 #define XVIP_VF_YUV_444			1
23 #define XVIP_VF_RBG			2
24 #define XVIP_VF_YUV_420			3
25 #define XVIP_VF_YUVA_422		4
26 #define XVIP_VF_YUVA_444		5
27 #define XVIP_VF_RGBA			6
28 #define XVIP_VF_YUVA_420		7
29 #define XVIP_VF_YUVD_422		8
30 #define XVIP_VF_YUVD_444		9
31 #define XVIP_VF_RGBD			10
32 #define XVIP_VF_YUVD_420		11
33 #define XVIP_VF_MONO_SENSOR		12
34 #define XVIP_VF_CUSTOM2			13
35 #define XVIP_VF_CUSTOM3			14
36 #define XVIP_VF_CUSTOM4			15
37 
38 #endif /* __DT_BINDINGS_MEDIA_XILINX_VIP_H__ */
39