diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-06 14:26:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:00 -0400 |
commit | 6bd6dff6318397b1127dd256b65dde007306b8ea (patch) | |
tree | ab42df43b2e22a527fb12bc1bf0e18771ecb29ce /include/media/saa7115.h | |
parent | 2796073a3d9cc4f610f1e68b3f62c197d86577ab (diff) |
V4L/DVB (8940): saa7115: fix saa7111(a) support
The saa7111 support in saa7115.c was missing some features and did not
properly take some of the differences into account. With this patch
saa7115 can be used in the mxb driver instead of saa7111.c.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/saa7115.h')
-rw-r--r-- | include/media/saa7115.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/include/media/saa7115.h b/include/media/saa7115.h index f677dfb9d373..bab212719591 100644 --- a/include/media/saa7115.h +++ b/include/media/saa7115.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | saa7115.h - definition for saa7113/4/5 inputs and frequency flags | 2 | saa7115.h - definition for saa7111/3/4/5 inputs and frequency flags |
3 | 3 | ||
4 | Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl) | 4 | Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl) |
5 | 5 | ||
@@ -21,13 +21,13 @@ | |||
21 | #ifndef _SAA7115_H_ | 21 | #ifndef _SAA7115_H_ |
22 | #define _SAA7115_H_ | 22 | #define _SAA7115_H_ |
23 | 23 | ||
24 | /* SAA7113/4/5 HW inputs */ | 24 | /* SAA7111/3/4/5 HW inputs */ |
25 | #define SAA7115_COMPOSITE0 0 | 25 | #define SAA7115_COMPOSITE0 0 |
26 | #define SAA7115_COMPOSITE1 1 | 26 | #define SAA7115_COMPOSITE1 1 |
27 | #define SAA7115_COMPOSITE2 2 | 27 | #define SAA7115_COMPOSITE2 2 |
28 | #define SAA7115_COMPOSITE3 3 | 28 | #define SAA7115_COMPOSITE3 3 |
29 | #define SAA7115_COMPOSITE4 4 /* not available for the saa7113 */ | 29 | #define SAA7115_COMPOSITE4 4 /* not available for the saa7111/3 */ |
30 | #define SAA7115_COMPOSITE5 5 /* not available for the saa7113 */ | 30 | #define SAA7115_COMPOSITE5 5 /* not available for the saa7111/3 */ |
31 | #define SAA7115_SVIDEO0 6 | 31 | #define SAA7115_SVIDEO0 6 |
32 | #define SAA7115_SVIDEO1 7 | 32 | #define SAA7115_SVIDEO1 7 |
33 | #define SAA7115_SVIDEO2 8 | 33 | #define SAA7115_SVIDEO2 8 |
@@ -42,8 +42,15 @@ | |||
42 | #define SAA7115_FREQ_FL_CGCDIV (1 << 1) /* SA 3A[6], CGCDIV, SAA7115 only */ | 42 | #define SAA7115_FREQ_FL_CGCDIV (1 << 1) /* SA 3A[6], CGCDIV, SAA7115 only */ |
43 | #define SAA7115_FREQ_FL_APLL (1 << 2) /* SA 3A[3], APLL, SAA7114/5 only */ | 43 | #define SAA7115_FREQ_FL_APLL (1 << 2) /* SA 3A[3], APLL, SAA7114/5 only */ |
44 | 44 | ||
45 | #define SAA7115_IPORT_ON 1 | 45 | #define SAA7115_IPORT_ON 1 |
46 | #define SAA7115_IPORT_OFF 0 | 46 | #define SAA7115_IPORT_OFF 0 |
47 | |||
48 | /* SAA7111 specific output flags */ | ||
49 | #define SAA7111_VBI_BYPASS 2 | ||
50 | #define SAA7111_FMT_YUV422 0x00 | ||
51 | #define SAA7111_FMT_RGB 0x40 | ||
52 | #define SAA7111_FMT_CCIR 0x80 | ||
53 | #define SAA7111_FMT_YUV411 0xc0 | ||
47 | 54 | ||
48 | #endif | 55 | #endif |
49 | 56 | ||