blob: 36b2ee9e0fdc5536581de000c70b6093bea6c220 [file] [log] [blame]
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -03001The saa7134 driver
2==================
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -03004Author Gerd Hoffmann
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
7This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV
8boards. See http://www.semiconductors.philips.com/pip/saa7134hl for a
9description.
10
11
12Status
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030013------
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15Almost everything is working. video, sound, tuner, radio, mpeg ts, ...
16
17As with bttv, card-specific tweaks are needed. Check CARDLIST for a
18list of known TV cards and saa7134-cards.c for the drivers card
19configuration info.
20
21
22Build
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030023-----
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
25Pick up videodev + v4l2 patches from http://bytesex.org/patches/.
26Configure, build, install + boot the new kernel. You'll need at least
27these config options:
28
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030029.. code-block:: none
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 CONFIG_I2C=m
32 CONFIG_VIDEO_DEV=m
33
34Type "make" to build the driver now. "make install" installs the
35driver. "modprobe saa7134" should load it. Depending on the card you
36might have to pass card=<nr> as insmod option, check CARDLIST for
37valid choices.
38
39
40Changes / Fixes
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030041---------------
Linus Torvalds1da177e2005-04-16 15:20:36 -070042
43Please mail me unified diffs ("diff -u") with your changes, and don't
44forget to tell me what it changes / which problem it fixes / whatever
45it is good for ...
46
47
48Known Problems
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030049--------------
Linus Torvalds1da177e2005-04-16 15:20:36 -070050
51* The tuner for the flyvideos isn't detected automatically and the
52 default might not work for you depending on which version you have.
53 There is a tuner= insmod option to override the driver's default.
54
55Card Variations:
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030056----------------
Linus Torvalds1da177e2005-04-16 15:20:36 -070057
58Cards can use either of these two crystals (xtal):
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030059
60- 32.11 MHz -> .audio_clock=0x187de7
61- 24.576MHz -> .audio_clock=0x200000 (xtal * .audio_clock = 51539600)
Linus Torvalds1da177e2005-04-16 15:20:36 -070062
Mauro Carvalho Chehab6623e622005-06-28 20:45:28 -070063Some details about 30/34/35:
64
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030065- saa7130 - low-price chip, doesn't have mute, that is why all those
66 cards should have .mute field defined in their tuner structure.
Mauro Carvalho Chehab6623e622005-06-28 20:45:28 -070067
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030068- saa7134 - usual chip
Mauro Carvalho Chehab6623e622005-06-28 20:45:28 -070069
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -030070- saa7133/35 - saa7135 is probably a marketing decision, since all those
71 chips identifies itself as 33 on pci.
Linus Torvalds1da177e2005-04-16 15:20:36 -070072
Mauro Carvalho Chehab43efd1e2016-07-18 14:28:58 -030073LifeView GPIOs
74--------------
75
76This section was authored by: Peter Missel <peter.missel@onlinehome.de>
77
78- LifeView FlyTV Platinum FM (LR214WF)
79
80 - GP27 MDT2005 PB4 pin 10
81 - GP26 MDT2005 PB3 pin 9
82 - GP25 MDT2005 PB2 pin 8
83 - GP23 MDT2005 PB1 pin 7
84 - GP22 MDT2005 PB0 pin 6
85 - GP21 MDT2005 PB5 pin 11
86 - GP20 MDT2005 PB6 pin 12
87 - GP19 MDT2005 PB7 pin 13
88 - nc MDT2005 PA3 pin 2
89 - Remote MDT2005 PA2 pin 1
90 - GP18 MDT2005 PA1 pin 18
91 - nc MDT2005 PA0 pin 17 strap low
92 - GP17 Strap "GP7"=High
93 - GP16 Strap "GP6"=High
94
95 - 0=Radio 1=TV
96 - Drives SA630D ENCH1 and HEF4052 A1 pinsto do FM radio through
97 SIF input
98
99 - GP15 nc
100 - GP14 nc
101 - GP13 nc
102 - GP12 Strap "GP5" = High
103 - GP11 Strap "GP4" = High
104 - GP10 Strap "GP3" = High
105 - GP09 Strap "GP2" = Low
106 - GP08 Strap "GP1" = Low
107 - GP07.00 nc
108
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109Credits
Mauro Carvalho Chehabae9d2872016-07-17 19:26:43 -0300110-------
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111
112andrew.stevens@philips.com + werner.leeb@philips.com for providing
113saa7134 hardware specs and sample board.