You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] v4l: common part Updates and tuner additions
- Remove $Id CVS logs for V4L files - Included newer cards. - Added a new NEC protocol for ir based on pulse distance. - Enable ATSC support for DViCO FusionHDTV5 Gold. - Added tuner LG NTSC (TALN mini series). - Fixed tea5767 autodetection. - Resolve more tuner types. - Commented debug function removed from mainstream. - Remove comments from mainstream. Still on development tree. - linux/version dependencies removed. - BTSC Lang1 now is set to auto_stereo mode. - New tuner standby API. - i2c-core.c uses hexadecimal for the i2c address, so it should stay consistent. Signed-off-by: Uli Luckas <luckas@musoft.de> Signed-off-by: Mac Michaels <wmichaels1@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
a1938038dd
commit
793cf9e6a5
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: audiochip.h,v 1.5 2005/06/16 22:59:16 hhackmann Exp $
|
||||
*/
|
||||
|
||||
#ifndef AUDIOCHIP_H
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: id.h,v 1.4 2005/06/12 04:19:19 mchehab Exp $
|
||||
*/
|
||||
|
||||
/* FIXME: this temporarely, until these are included in linux/i2c-id.h */
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: ir-common.h,v 1.9 2005/05/15 19:01:26 mchehab Exp $
|
||||
*
|
||||
* some common structs and functions to handle infrared remotes via
|
||||
* input layer ...
|
||||
@@ -21,11 +20,11 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <linux/input.h>
|
||||
|
||||
|
||||
#define IR_TYPE_RC5 1
|
||||
#define IR_TYPE_PD 2 /* Pulse distance encoded IR */
|
||||
#define IR_TYPE_OTHER 99
|
||||
|
||||
#define IR_KEYTAB_TYPE u32
|
||||
@@ -60,6 +59,7 @@ void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir,
|
||||
u32 ir_extract_bits(u32 data, u32 mask);
|
||||
int ir_dump_samples(u32 *samples, int count);
|
||||
int ir_decode_biphase(u32 *samples, int count, int low, int high);
|
||||
int ir_decode_pulsedistance(u32 *samples, int count, int low, int high);
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
|
||||
+14
-11
@@ -1,5 +1,3 @@
|
||||
|
||||
/* $Id: tuner.h,v 1.45 2005/07/28 18:41:21 mchehab Exp $
|
||||
*
|
||||
tuner.h - definition for different tuners
|
||||
|
||||
@@ -111,6 +109,8 @@
|
||||
#define TUNER_LG_TDVS_H062F 64 /* DViCO FusionHDTV 5 */
|
||||
#define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */
|
||||
|
||||
#define TUNER_LG_NTSC_TALN_MINI 66
|
||||
|
||||
#define NOTUNER 0
|
||||
#define PAL 1 /* PAL_BG */
|
||||
#define PAL_I 2
|
||||
@@ -134,6 +134,7 @@
|
||||
#define THOMSON 12
|
||||
|
||||
#define TUNER_SET_TYPE_ADDR _IOW('T',3,int)
|
||||
#define TUNER_SET_STANDBY _IOW('T',4,int)
|
||||
#define TDA9887_SET_CONFIG _IOW('t',5,int)
|
||||
|
||||
/* tv card specific */
|
||||
@@ -153,9 +154,6 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#define I2C_ADDR_TDA8290 0x4b
|
||||
#define I2C_ADDR_TDA8275 0x61
|
||||
|
||||
enum tuner_mode {
|
||||
T_UNINITIALIZED = 0,
|
||||
T_RADIO = 1 << V4L2_TUNER_RADIO,
|
||||
@@ -198,6 +196,7 @@ struct tuner {
|
||||
void (*radio_freq)(struct i2c_client *c, unsigned int freq);
|
||||
int (*has_signal)(struct i2c_client *c);
|
||||
int (*is_stereo)(struct i2c_client *c);
|
||||
void (*standby)(struct i2c_client *c);
|
||||
};
|
||||
|
||||
extern unsigned int tuner_debug;
|
||||
@@ -209,12 +208,16 @@ extern int tea5767_tuner_init(struct i2c_client *c);
|
||||
extern int default_tuner_init(struct i2c_client *c);
|
||||
extern int tea5767_autodetection(struct i2c_client *c);
|
||||
|
||||
#define tuner_warn(fmt, arg...) \
|
||||
dev_printk(KERN_WARNING , &t->i2c.dev , fmt , ## arg)
|
||||
#define tuner_info(fmt, arg...) \
|
||||
dev_printk(KERN_INFO , &t->i2c.dev , fmt , ## arg)
|
||||
#define tuner_dbg(fmt, arg...) \
|
||||
if (tuner_debug) dev_printk(KERN_DEBUG , &t->i2c.dev , fmt , ## arg)
|
||||
#define tuner_warn(fmt, arg...) do {\
|
||||
printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->name, \
|
||||
t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0)
|
||||
#define tuner_info(fmt, arg...) do {\
|
||||
printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->name, \
|
||||
t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0)
|
||||
#define tuner_dbg(fmt, arg...) do {\
|
||||
if (tuner_debug) \
|
||||
printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->name, \
|
||||
t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0)
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: tveeprom.h,v 1.2 2005/06/12 04:19:19 mchehab Exp $
|
||||
*/
|
||||
|
||||
struct tveeprom {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: video-buf.h,v 1.9 2004/11/07 13:17:15 kraxel Exp $
|
||||
*
|
||||
* generic helper functions for video4linux capture buffers, to handle
|
||||
* memory management and PCI DMA. Right now bttv + saa7134 use it.
|
||||
|
||||
Reference in New Issue
Block a user