summaryrefslogtreecommitdiff
path: root/linux/include/media
AgeCommit message (Collapse)Author
2006-01-08i2c fixes and cleanupsMauro Carvalho Chehab
- Miscelaneous i2c cleanups and fixes to work with kernel >2.6.15 - linux/sound/pci/bt87x.c updated to kernel version. kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-07Some cleanups at I2C modulesMauro Carvalho Chehab
- Latest patch reverted, since __stringfy seems to be needed for kernel < 2.6.15 - Applied kernel I2C cleanups from Jean Delaware. - driver names simplified to allow usage of newer printk macros at v4l2-common.h Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-07small cleanupsMauro Carvalho Chehab
- removed unneeded __stringify - updated i2c-id.h - kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-02convert diagnostics over to the new v4l2-common.h macros.Hans Verkuil
- convert diagnostics over to the new v4l2-common.h macros. - deprecated tuner_debug option, the new option is debug. - renamed cx25840_debug to debug. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-02Added new diagnositics macros, convert msp3400 to the new macros.Hans Verkuil
- Added new v4l_err, v4l_warn, v4l_info and v4l_dbg macros to v4l2-common.h for use in v4l-dvb i2c drivers. This ensures a unique prefix for each device instance. - At a later stage these macros may be reimplemented using the device-generic macros from device.h. - Converted the msp3400 driver to the new macros. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-01ioctls cleanups.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-28Added some comments about multiple tuner support.Mauro Carvalho Chehab
- Added some comments to make clearer how to use ioctl api to handle multiple tuners at the same board. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-26Fixed API to set I2S speed controlMauro Carvalho Chehab
- Created a new ioctl to control I2S speed. Old calls to an inadequate V4L2 API replaced. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-22Calculate the saa7115 AMCLK regs instead of using fixed valuesHans Verkuil
- Calculate the audio master clock registers from the actual frequencies. This simplifies the code and it also prepares for adding CGC2 support. - VIDIOC_INT_AUDIO_CLOCK_FREQ now receives an u32 instead of an enum. It is more generic and actually easier to implement. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-20update comments to indicate which tuners are supported by TUNER_THOMSON_DTT761XMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-20correct Thomson DTT 761x frequency rangesMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - corrected Thomson DTT 7611 tuner programming, based on spec sheet - renamed to Thomson DTT 761x - applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A (DTT 7610 is similar, but slightly different programming) - corrected frequency ranges for analog and digital modes Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-11added ntsc parameter to tuner and more standardized debugsMauro Carvalho Chehab
- debug message changed to be coherent with other modules - added ntsc parameter - parameters moved to the beginning at the file - tuner_status moved to a better position. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
- kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-05tda9887 improvements: better defaults, better configurability.Hans Verkuil
- Set the tuner takeover point to 0x10 for NTSC/radio and 0x14 for PAL/SECAM. - Allow override through TDA9887_SET_CONFIG - PAL-N belongs with PAL-BG as does PAL-H. PAL-Nc belongs to PAL-M - Add SECAM-BGH - Set video freq to cVideoIF_38_90 for DK standards. - Add cTunerGainLow to radio, change deemphasis to 75 for mono. - Add ntsc module param for 'M' and 'J' (Japanese) standards. - Fix module handling for 2.4. - Now able to select all standards through pal/secam/ntsc module options Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-04Remove AUDC_CONFIG_PINNACLE horror, fix mt20xx radio support.Hans Verkuil
Remove AUDC_CONFIG_PINNACLE horror. This also fixes radio support for mt20xx tuners. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-04Backport of Dmitry Torokhov's input layer changes at mainline kernelRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> kernel-sync Ported changes by Dmitry Torokhov <dtor_core@ameritech.net> and added backwards compatibility checks for kernels < 2.6.15 Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-27Fix wrong tuner.h define for tuner 46 (it's a Panasonic, not a Microtune).Hans Verkuil
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-26Add workaround for Hauppauge PVR150 hardware problem with certain NTSC tuner ↵Hans Verkuil
models. - add workaround for Hauppauge PVR150 hardware problem with tuner models 85, 99 and 112 (model numbers as reported by tveeprom). The audio standard autodetection does not always work correctly for these models. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-11-25tuner description now follows the same CodingStyle as the othersMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-18tveeprom MAC address parsing/cleanupMauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> - added a mac address field to the tveeprom structure. - allow callers to query the MAC address. - removed some redundant eeprom parsing code in cx88-cards.c (specific to Hauppauge DVB products) Instead, placed calls directly to the single eeprom parsing function in tveeprom.c Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-13Fixing headers to compile cleanly.Michael Krufky
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> Signed-off-by: Michael Krufky <mkrufky@m1k.net> This is already in 2.6.15-rc1
2005-11-09Adds a new include for internal V4L2 ioctls and APIMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> - Adds a new include for internal V4L2 ioctls and API Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-08 * ../linux/Documentation/video4linux/CARDLIST.bttv:Nickolay V. Shmyrev
* ../linux/Documentation/video4linux/CARDLIST.tuner: * ../linux/drivers/media/video/bttv-cards.c: * ../linux/drivers/media/video/bttv.h: * ../linux/drivers/media/video/ir-kbd-i2c.c: * ../linux/drivers/media/video/tuner-simple.c: * ../linux/include/media/tuner.h: Support for Sabrent bt848 version. Signed-off-by: Bill Pechter <pechter@gmail.com> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-11-08- The pinnacle handler & remote are common to saa7134 PCI boardsRicardo Cerqueira
and em28xx USB boards, so the keymap was moved to ir-common and the keyhandler is back to ir-kbd-i2c - request_module("ir-kbd-i2c") is no longer necessary at saa7134-core since saa7134.ko now depends on ir-kbd-i2c.ko to get the keyhandler Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2005-11-02 - Added dvb support for tda8275a (Philips Tiger reference design)Hartmut Hackmann
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
2005-10-30 - i2c-id.h Updated to reflect the newer drivers.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-30 - Second round of i2c IDs redefinition cleanup.Mauro Carvalho Chehab
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-18 * ../linux/drivers/media/video/tda8290.c: (tda8290_init):Nickolay V. Shmyrev
* ../linux/include/media/tuner.h: - Unify whitespaces. - Fix build warning. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-10-17 - Some changes to allow compiling cx88 and saa7134 withoutMauro Carvalho Chehab
V4L1 support. - This patch will help obsoleting V4L1 API. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-17 - add support for tda8275aHartmut Hackmann
- support all possible I2C addresses - automatic version and address detection - let i2c bridge stabilize befor use Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-15 * ../linux/drivers/media/video/cx88/cx88-cards.c:Nickolay V. Shmyrev
* ../linux/drivers/media/video/tda9887.c: (tda9887_set_config): * ../linux/include/media/tuner.h: - New config option for tda9887 to specifically set intercarrier depending on current standard and card. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-10-14Several Improvement on I2C IR handling for em2820:Mauro Carvalho Chehab
- moved Pinnacle IR table (ir_codes_em2820) to em2820-input.c - IR struct renamed and moved to a header file. - New file to handle em2820-specific IR. - Some cleanups. - attach now detects I2C IR and calls em2820-specific IR code - IR compat code moved to compat.h - New header with struct IR_i2c there, to allow it to be used by board-specific input handlers. Some improvements at em28xx board detection: - Board detection message improved to show interface and class. - Now it doesn't touch audio interfaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-11 Include newer I2C ID at ../linux/include/media/id.h:Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
- Lots of small changes to allow compiling with kernel 2.4. Compilation result not tested yet. - After this patch, .version should be removed, since its syntax has changed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-05 * cx88.h, cx88-cards.c: (cx88_card_setup):Michael Krufky
- Added analog support for ATI HDTV Wonder * tuner.h, tuner-simple.c: (default_set_tv_freq): - Added support for the Philips TUV1236D tuner on the ATI HDTV Wonder Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-02- Included audio chips enumMauro Carvalho Chehab
- Added a new tuner tradution on tveeprom. - tveeprom now, returns audio chip according with enum audiochip. This allows audio chip autodetection as used on em28xx. - CodeStyle cleanups. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-09-29 * tda8290.c: (set_audio), (set_tv_freq):Nickolay V. Shmyrev
* tuner.h: - Set IF of tda8275 according to tv norm. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-09-28 * tuner-simple.c:Nickolay V. Shmyrev
* tuner.h: * tveeprom.c: - update the tveeprom tuner list with the tuner list from the Hauppauge driver - connect the TCL MPE05-2 tveeprom entry to the TUNER_PHILIPS_FM1216ME_MK3 tuner. - based on this info renamed the "LG PAL (TAPE series)" tuner to "TCL 2002MB". Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-09-13 * bt832.c: (bt832_probe):Michael Krufky
* bttv-i2c.c: (attach_inform): * cx88-i2c.c: (attach_inform), (detach_inform): * id.h: * ir-kbd-i2c.c: (ir_probe): * msp3400.c: (msp34xx_sleep), (msp_attach): * saa6588.c: * saa6752hs.c: * saa7134-i2c.c: (attach_inform): * saa7134-tvaudio.c: (tvaudio_sleep): * tda7432.c: (tda7432_probe): * tda9875.c: (tda9875_probe): * tda9887.c: (tda9887_probe): * tuner-core.c: * tveeprom.c: (tveeprom_attach_adapter): * tvmixer.c: (tvmixer_ioctl), (tvmixer_clients), (tvmixer_cleanup_module): * video-buf.c: (videobuf_dma_free): - Step two, in preparation for 2.6.14-rcX compatability: - Compile tested against vanila kernels 2.6.13 & 2.6.8 - 2.6.14 compile still broken... Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-12added support for the Philips TD1316 tunerHartmut Hackmann
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de>
2005-09-11 * bttv-cards.c:Michael Krufky
- duplicate initializer (near initialization for `bttv_tvcards[9].tuner_addr') duplicate initializer (near initialization for `bttv_tvcards[11].tuner_addr') * cx88-input.c, tuner.h, tvaudio.c, tveeprom.c: - Work around gcc-2.95.x macro expansion bug Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-04- Small changes to make easier to generate kernel patches.Mauro Carvalho Chehab
2005-08-30 * bttv-cards.c,cx88-cards.c,tveeprom.h:Mauro Carvalho Chehab
- tveeprom patch was not complete. Completing it. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-30 * tuner-simple.c, tuner.h:Mauro Carvalho Chehab
- normalize whitespace and comments in tuner lists Signed-off-by: Philip Rowlands <phr@doc.ic.ac.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-20 * bttv-i2c.c:Michael Krufky
- added i2c address for lgdt330x. * tuner.h: - i2c-core.c uses hexadecimal for the i2c address, so we should stay consistent. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-08-19 - changed tuner_info from dev_printk to i2c_client info.Mauro Carvalho Chehab
- used do { } while(0) according with CodingStyle Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-17 * cx88-dvb.c: (lgdt330x_pll_set):Nickolay V. Shmyrev
* cx88-video.c: (video_release): * mt20xx.c: (microtune_init): * saa7134-video.c: (video_release): * tda8290.c: (standby), (tda8290_init): * tda9887.c: (tda9887_set_tvnorm), (tda9887_configure), (tda9887_command): * tea5767.c: (set_radio_freq), (tea5767_standby), (tea5767_tuner_init): * tuner-core.c: (set_addr), (check_mode), (set_mode), (tuner_command): * tuner-simple.c: (default_tuner_init): * tuner.h: - New tuner standby API.
2005-08-09 - Added support for remote control to Cinergy DVBT-1400.Mauro Carvalho Chehab
- local var renamed from rc5 to a better name (ircode). - Added a new NEC protocol based on pulse distance. Signed-off-by: Uli Luckas <luckas@musoft.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>