/*1saa7115.h - definition for saa7111/3/4/5 inputs and frequency flags23Copyright (C) 2006 Hans Verkuil ([email protected])45This program is free software; you can redistribute it and/or modify6it under the terms of the GNU General Public License as published by7the Free Software Foundation; either version 2 of the License, or8(at your option) any later version.910This program is distributed in the hope that it will be useful,11but WITHOUT ANY WARRANTY; without even the implied warranty of12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13GNU General Public License for more details.1415You should have received a copy of the GNU General Public License16along with this program; if not, write to the Free Software17Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.18*/1920#ifndef _SAA7115_H_21#define _SAA7115_H_2223/* SAA7111/3/4/5 HW inputs */24#define SAA7115_COMPOSITE0 025#define SAA7115_COMPOSITE1 126#define SAA7115_COMPOSITE2 227#define SAA7115_COMPOSITE3 328#define SAA7115_COMPOSITE4 4 /* not available for the saa7111/3 */29#define SAA7115_COMPOSITE5 5 /* not available for the saa7111/3 */30#define SAA7115_SVIDEO0 631#define SAA7115_SVIDEO1 732#define SAA7115_SVIDEO2 833#define SAA7115_SVIDEO3 93435/* SAA7115 v4l2_crystal_freq frequency values */36#define SAA7115_FREQ_32_11_MHZ 32110000 /* 32.11 MHz crystal, SAA7114/5 only */37#define SAA7115_FREQ_24_576_MHZ 24576000 /* 24.576 MHz crystal */3839/* SAA7115 v4l2_crystal_freq audio clock control flags */40#define SAA7115_FREQ_FL_UCGC (1 << 0) /* SA 3A[7], UCGC, SAA7115 only */41#define SAA7115_FREQ_FL_CGCDIV (1 << 1) /* SA 3A[6], CGCDIV, SAA7115 only */42#define SAA7115_FREQ_FL_APLL (1 << 2) /* SA 3A[3], APLL, SAA7114/5 only */4344#define SAA7115_IPORT_ON 145#define SAA7115_IPORT_OFF 04647/* SAA7111 specific output flags */48#define SAA7111_VBI_BYPASS 249#define SAA7111_FMT_YUV422 0x0050#define SAA7111_FMT_RGB 0x4051#define SAA7111_FMT_CCIR 0x8052#define SAA7111_FMT_YUV411 0xc05354#endif55565758