1===================================================================
2A driver for a selfmade cheap BT8xx based PCI GPIO-card (bt8xxgpio)
3===================================================================
4
5For advanced documentation, see http://www.bu3sch.de/btgpio.php
6
7A generic digital 24-port PCI GPIO card can be built out of an ordinary
8Brooktree bt848, bt849, bt878 or bt879 based analog TV tuner card. The
9Brooktree chip is used in old analog Hauppauge WinTV PCI cards. You can easily
10find them used for low prices on the net.
11
12The bt8xx chip does have 24 digital GPIO ports.
13These ports are accessible via 24 pins on the SMD chip package.
14
15
16How to physically access the GPIO pins
17======================================
18
19The are several ways to access these pins. One might unsolder the whole chip
20and put it on a custom PCI board, or one might only unsolder each individual
21GPIO pin and solder that to some tiny wire. As the chip package really is tiny
22there are some advanced soldering skills needed in any case.
23
24The physical pinouts are drawn in the following ASCII art.
25The GPIO pins are marked with G00-G23::
26
27                                           G G G G G G G G G G G G     G G G G G G
28                                           0 0 0 0 0 0 0 0 0 0 1 1     1 1 1 1 1 1
29                                           0 1 2 3 4 5 6 7 8 9 0 1     2 3 4 5 6 7
30           | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
31           ---------------------------------------------------------------------------
32         --|                               ^                                     ^   |--
33         --|                               pin 86                           pin 67   |--
34         --|                                                                         |--
35         --|                                                               pin 61 >  |-- G18
36         --|                                                                         |-- G19
37         --|                                                                         |-- G20
38         --|                                                                         |-- G21
39         --|                                                                         |-- G22
40         --|                                                               pin 56 >  |-- G23
41         --|                                                                         |--
42         --|                           Brooktree 878/879                             |--
43         --|                                                                         |--
44         --|                                                                         |--
45         --|                                                                         |--
46         --|                                                                         |--
47         --|                                                                         |--
48         --|                                                                         |--
49         --|                                                                         |--
50         --|                                                                         |--
51         --|                                                                         |--
52         --|                                                                         |--
53         --|                                                                         |--
54         --|                                                                         |--
55         --|                                                                         |--
56         --|   O                                                                     |--
57         --|                                                                         |--
58           ---------------------------------------------------------------------------
59           | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
60           ^
61           This is pin 1
62
63