Linux 6.14-rc1
[linux.git] / include / media / davinci / vpfe_types.h
blobe65c9a48d002cb72a1ef73bebc4f462196e64196
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2008-2009 Texas Instruments Inc
4 */
5 #ifndef _VPFE_TYPES_H
6 #define _VPFE_TYPES_H
8 #ifdef __KERNEL__
10 enum vpfe_pin_pol {
11 VPFE_PINPOL_POSITIVE,
12 VPFE_PINPOL_NEGATIVE
15 enum vpfe_hw_if_type {
16 /* BT656 - 8 bit */
17 VPFE_BT656,
18 /* BT1120 - 16 bit */
19 VPFE_BT1120,
20 /* Raw Bayer */
21 VPFE_RAW_BAYER,
22 /* YCbCr - 8 bit with external sync */
23 VPFE_YCBCR_SYNC_8,
24 /* YCbCr - 16 bit with external sync */
25 VPFE_YCBCR_SYNC_16,
26 /* BT656 - 10 bit */
27 VPFE_BT656_10BIT
30 /* interface description */
31 struct vpfe_hw_if_param {
32 enum vpfe_hw_if_type if_type;
33 enum vpfe_pin_pol hdpol;
34 enum vpfe_pin_pol vdpol;
37 #endif
38 #endif