From 648fb619790cc40a8f4eec94e585a653bd680122 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Tue, 17 Dec 2002 16:10:20 +0000 Subject: Add the video4linux driver for the "Multimedia eXtension Board", an analogue tv card based on the saa7146. Warning: Makefile and Kconfig will most likely be changed by Gerd Knorr as well, so be sure to change these accordingly. Warning2: "saa7111" is already available in the kernel, but needs to be modified, as well as "video_decoder" in include/linux --- linux/drivers/media/video/tea6420.h | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 linux/drivers/media/video/tea6420.h (limited to 'linux/drivers/media/video/tea6420.h') diff --git a/linux/drivers/media/video/tea6420.h b/linux/drivers/media/video/tea6420.h new file mode 100644 index 000000000..5cda0c408 --- /dev/null +++ b/linux/drivers/media/video/tea6420.h @@ -0,0 +1,46 @@ + /* + tea6420.h - definitions for the i2c-driver + for the tea6420 by SGS Thomson + + Copyright (C) 1998,1999,2000 Michael Hunold + + The tea6420 is a bus controlled audio-matrix with 5 stereo inputs, + 4 stereo outputs and gain control for each output. + It is cascadable, i.e. it can be found at the adresses 0x98 + and 0x9a on the i2c-bus. + + For detailed informations download the specifications directly + from SGS Thomson at http://www.st.com + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#ifndef __INCLUDED_TEA6420__ +#define __INCLUDED_TEA6420__ + +/* possible addresses */ +#define I2C_TEA6420_1 0x4c +#define I2C_TEA6420_2 0x4d + +struct audio_multiplex +{ + int in; /* input of audio switch */ + int out; /* output of audio switch */ + int gain; /* gain of connection */ +}; + +#define TEA6420_SWITCH _IOW('t',1,struct audio_multiplex) + +#endif -- cgit v1.2.3