diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2008-12-29 04:04:06 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:40:28 -0500 |
commit | ed922a892e535c14035210b5be328af1f49561c8 (patch) | |
tree | 92ac0ea038ac568f933b52cc97c4da19fe0a70fe /include/media | |
parent | 042d87900217228f865654fa70fade8139bd42cf (diff) |
V4L/DVB (10094): Add tw9910 driver
This patch adds tw9910 driver that use soc_camera framework.
It was tested on SH Migo-r board and mplayer.
create mode 100644 drivers/media/video/tw9910.c
create mode 100644 include/media/tw9910.h
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/tw9910.h | 39 | ||||
-rw-r--r-- | include/media/v4l2-chip-ident.h | 3 |
2 files changed, 42 insertions, 0 deletions
diff --git a/include/media/tw9910.h b/include/media/tw9910.h new file mode 100644 index 000000000000..73231e7880d8 --- /dev/null +++ b/include/media/tw9910.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * tw9910 Driver header | ||
3 | * | ||
4 | * Copyright (C) 2008 Renesas Solutions Corp. | ||
5 | * Kuninori Morimoto <morimoto.kuninori@renesas.com> | ||
6 | * | ||
7 | * Based on ov772x.h | ||
8 | * | ||
9 | * Copyright (C) Kuninori Morimoto <morimoto.kuninori@renesas.com> | ||
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | ||
15 | |||
16 | #ifndef __TW9910_H__ | ||
17 | #define __TW9910_H__ | ||
18 | |||
19 | #include <media/soc_camera.h> | ||
20 | |||
21 | enum tw9910_mpout_pin { | ||
22 | TW9910_MPO_VLOSS, | ||
23 | TW9910_MPO_HLOCK, | ||
24 | TW9910_MPO_SLOCK, | ||
25 | TW9910_MPO_VLOCK, | ||
26 | TW9910_MPO_MONO, | ||
27 | TW9910_MPO_DET50, | ||
28 | TW9910_MPO_FIELD, | ||
29 | TW9910_MPO_RTCO, | ||
30 | }; | ||
31 | |||
32 | struct tw9910_video_info { | ||
33 | unsigned long buswidth; | ||
34 | enum tw9910_mpout_pin mpout; | ||
35 | struct soc_camera_link link; | ||
36 | }; | ||
37 | |||
38 | |||
39 | #endif /* __TW9910_H__ */ | ||
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index 30448cd51751..f9d42ad99b4f 100644 --- a/include/media/v4l2-chip-ident.h +++ b/include/media/v4l2-chip-ident.h | |||
@@ -87,6 +87,9 @@ enum { | |||
87 | /* module wm8775: just ident 8775 */ | 87 | /* module wm8775: just ident 8775 */ |
88 | V4L2_IDENT_WM8775 = 8775, | 88 | V4L2_IDENT_WM8775 = 8775, |
89 | 89 | ||
90 | /* module tw9910: just ident 9910 */ | ||
91 | V4L2_IDENT_TW9910 = 9910, | ||
92 | |||
90 | /* module cs53132a: just ident 53132 */ | 93 | /* module cs53132a: just ident 53132 */ |
91 | V4L2_IDENT_CS53l32A = 53132, | 94 | V4L2_IDENT_CS53l32A = 53132, |
92 | 95 | ||