aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-17 18:26:43 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-17 21:51:06 -0400
commitae9d2873a8aae5df64608228175fdf921c35786f (patch)
treeeb5a983511d207051f701244383bbe16343b56dc
parent6286d2b185812053cb9144cd765ed40b2393978f (diff)
[media] doc-rst: add documentation for saa7134
Convert it to ReST and add to the media/v4l-device book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--Documentation/media/v4l-drivers/index.rst1
-rw-r--r--Documentation/media/v4l-drivers/saa7134.rst43
2 files changed, 20 insertions, 24 deletions
diff --git a/Documentation/media/v4l-drivers/index.rst b/Documentation/media/v4l-drivers/index.rst
index 03d07f25c5fb..f761627d3fa1 100644
--- a/Documentation/media/v4l-drivers/index.rst
+++ b/Documentation/media/v4l-drivers/index.rst
@@ -33,4 +33,5 @@ License".
33 pvrusb2 33 pvrusb2
34 pxa_camera 34 pxa_camera
35 radiotrack 35 radiotrack
36 saa7134
36 zr364xx 37 zr364xx
diff --git a/Documentation/media/v4l-drivers/saa7134.rst b/Documentation/media/v4l-drivers/saa7134.rst
index b911f0871874..584caf8a3594 100644
--- a/Documentation/media/v4l-drivers/saa7134.rst
+++ b/Documentation/media/v4l-drivers/saa7134.rst
@@ -1,7 +1,8 @@
1The saa7134 driver
2==================
1 3
4Author Gerd Hoffmann
2 5
3What is it?
4===========
5 6
6This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV 7This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV
7boards. See http://www.semiconductors.philips.com/pip/saa7134hl for a 8boards. See http://www.semiconductors.philips.com/pip/saa7134hl for a
@@ -9,7 +10,7 @@ description.
9 10
10 11
11Status 12Status
12====== 13------
13 14
14Almost everything is working. video, sound, tuner, radio, mpeg ts, ... 15Almost everything is working. video, sound, tuner, radio, mpeg ts, ...
15 16
@@ -19,12 +20,14 @@ configuration info.
19 20
20 21
21Build 22Build
22===== 23-----
23 24
24Pick up videodev + v4l2 patches from http://bytesex.org/patches/. 25Pick up videodev + v4l2 patches from http://bytesex.org/patches/.
25Configure, build, install + boot the new kernel. You'll need at least 26Configure, build, install + boot the new kernel. You'll need at least
26these config options: 27these config options:
27 28
29.. code-block:: none
30
28 CONFIG_I2C=m 31 CONFIG_I2C=m
29 CONFIG_VIDEO_DEV=m 32 CONFIG_VIDEO_DEV=m
30 33
@@ -35,7 +38,7 @@ valid choices.
35 38
36 39
37Changes / Fixes 40Changes / Fixes
38=============== 41---------------
39 42
40Please mail me unified diffs ("diff -u") with your changes, and don't 43Please mail me unified diffs ("diff -u") with your changes, and don't
41forget to tell me what it changes / which problem it fixes / whatever 44forget to tell me what it changes / which problem it fixes / whatever
@@ -43,40 +46,32 @@ it is good for ...
43 46
44 47
45Known Problems 48Known Problems
46============== 49--------------
47 50
48* The tuner for the flyvideos isn't detected automatically and the 51* The tuner for the flyvideos isn't detected automatically and the
49 default might not work for you depending on which version you have. 52 default might not work for you depending on which version you have.
50 There is a tuner= insmod option to override the driver's default. 53 There is a tuner= insmod option to override the driver's default.
51 54
52Card Variations: 55Card Variations:
53================ 56----------------
54 57
55Cards can use either of these two crystals (xtal): 58Cards can use either of these two crystals (xtal):
56 - 32.11 MHz -> .audio_clock=0x187de7 59
57 - 24.576MHz -> .audio_clock=0x200000 60- 32.11 MHz -> .audio_clock=0x187de7
58(xtal * .audio_clock = 51539600) 61- 24.576MHz -> .audio_clock=0x200000 (xtal * .audio_clock = 51539600)
59 62
60Some details about 30/34/35: 63Some details about 30/34/35:
61 64
62 - saa7130 - low-price chip, doesn't have mute, that is why all those 65- saa7130 - low-price chip, doesn't have mute, that is why all those
63 cards should have .mute field defined in their tuner structure. 66 cards should have .mute field defined in their tuner structure.
64 67
65 - saa7134 - usual chip 68- saa7134 - usual chip
66 69
67 - saa7133/35 - saa7135 is probably a marketing decision, since all those 70- saa7133/35 - saa7135 is probably a marketing decision, since all those
68 chips identifies itself as 33 on pci. 71 chips identifies itself as 33 on pci.
69 72
70Credits 73Credits
71======= 74-------
72 75
73andrew.stevens@philips.com + werner.leeb@philips.com for providing 76andrew.stevens@philips.com + werner.leeb@philips.com for providing
74saa7134 hardware specs and sample board. 77saa7134 hardware specs and sample board.
75
76
77Have fun,
78
79 Gerd
80
81--
82Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]