vpfe_types.h (686B)
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 7 8#ifdef __KERNEL__ 9 10enum vpfe_pin_pol { 11 VPFE_PINPOL_POSITIVE, 12 VPFE_PINPOL_NEGATIVE 13}; 14 15enum 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 28}; 29 30/* interface description */ 31struct vpfe_hw_if_param { 32 enum vpfe_hw_if_type if_type; 33 enum vpfe_pin_pol hdpol; 34 enum vpfe_pin_pol vdpol; 35}; 36 37#endif 38#endif