Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 1 | The saa7134 driver |
| 2 | ================== |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 4 | Author Gerd Hoffmann |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
| 7 | This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV |
| 8 | boards. See http://www.semiconductors.philips.com/pip/saa7134hl for a |
| 9 | description. |
| 10 | |
| 11 | |
| 12 | Status |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 13 | ------ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
| 15 | Almost everything is working. video, sound, tuner, radio, mpeg ts, ... |
| 16 | |
| 17 | As with bttv, card-specific tweaks are needed. Check CARDLIST for a |
| 18 | list of known TV cards and saa7134-cards.c for the drivers card |
| 19 | configuration info. |
| 20 | |
| 21 | |
| 22 | Build |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 23 | ----- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | Pick up videodev + v4l2 patches from http://bytesex.org/patches/. |
| 26 | Configure, build, install + boot the new kernel. You'll need at least |
| 27 | these config options: |
| 28 | |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 29 | .. code-block:: none |
| 30 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | CONFIG_I2C=m |
| 32 | CONFIG_VIDEO_DEV=m |
| 33 | |
| 34 | Type "make" to build the driver now. "make install" installs the |
| 35 | driver. "modprobe saa7134" should load it. Depending on the card you |
| 36 | might have to pass card=<nr> as insmod option, check CARDLIST for |
| 37 | valid choices. |
| 38 | |
| 39 | |
| 40 | Changes / Fixes |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 41 | --------------- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | |
| 43 | Please mail me unified diffs ("diff -u") with your changes, and don't |
| 44 | forget to tell me what it changes / which problem it fixes / whatever |
| 45 | it is good for ... |
| 46 | |
| 47 | |
| 48 | Known Problems |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 49 | -------------- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | |
| 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 | |
| 55 | Card Variations: |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 56 | ---------------- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 57 | |
| 58 | Cards can use either of these two crystals (xtal): |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 59 | |
| 60 | - 32.11 MHz -> .audio_clock=0x187de7 |
| 61 | - 24.576MHz -> .audio_clock=0x200000 (xtal * .audio_clock = 51539600) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 62 | |
Mauro Carvalho Chehab | 6623e62 | 2005-06-28 20:45:28 -0700 | [diff] [blame] | 63 | Some details about 30/34/35: |
| 64 | |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 65 | - 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 Chehab | 6623e62 | 2005-06-28 20:45:28 -0700 | [diff] [blame] | 67 | |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 68 | - saa7134 - usual chip |
Mauro Carvalho Chehab | 6623e62 | 2005-06-28 20:45:28 -0700 | [diff] [blame] | 69 | |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 70 | - saa7133/35 - saa7135 is probably a marketing decision, since all those |
| 71 | chips identifies itself as 33 on pci. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 72 | |
Mauro Carvalho Chehab | 43efd1e | 2016-07-18 14:28:58 -0300 | [diff] [blame] | 73 | LifeView GPIOs |
| 74 | -------------- |
| 75 | |
| 76 | This 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 109 | Credits |
Mauro Carvalho Chehab | ae9d287 | 2016-07-17 19:26:43 -0300 | [diff] [blame] | 110 | ------- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 111 | |
| 112 | andrew.stevens@philips.com + werner.leeb@philips.com for providing |
| 113 | saa7134 hardware specs and sample board. |