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