mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
8b2f079523
Add support for the analog functionality found in the au0828 bridge Thanks to Michael Krufky <mkrufky@linuxtv.org> and Steven Toth <stoth@linuxtv.org> for providing sample hardware, engineering level support, and testing. Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> [mchehab@redhat.com: fix compilation by adding linux/version.h] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
/*
|
|
* Driver for the Auvitek USB bridge
|
|
*
|
|
* Copyright (c) 2008 Steven Toth <stoth@linuxtv.org>
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/* We'll start to rename these registers once we have a better
|
|
* understanding of their meaning.
|
|
*/
|
|
#define REG_000 0x000
|
|
#define REG_001 0x001
|
|
#define REG_002 0x002
|
|
#define REG_003 0x003
|
|
|
|
#define AU0828_SENSORCTRL_100 0x100
|
|
#define AU0828_SENSORCTRL_VBI_103 0x103
|
|
|
|
#define REG_200 0x200
|
|
#define REG_201 0x201
|
|
#define REG_202 0x202
|
|
#define REG_203 0x203
|
|
#define REG_205 0x205
|
|
#define REG_209 0x209
|
|
#define REG_2FF 0x2ff
|
|
|
|
/* Audio registers */
|
|
#define AU0828_AUDIOCTRL_50C 0x50C
|
|
|
|
#define REG_600 0x600
|