android_kernel_xiaomi_sm8350/Documentation/video4linux
Hans Verkuil e6574f2fbe V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_(probed)_subdev
The functions v4l2_i2c_new_subdev and v4l2_i2c_new_probed_subdev relied on
i2c_get_adapdata to return the v4l2_device. However, this is not always
possible on embedded platforms. So modify the API to pass the v4l2_device
pointer explicitly.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-06 21:44:24 -03:00
..
bttv V4L/DVB (11051): v4l-dvb: replace remaining references to the old mailinglist. 2009-03-30 12:43:23 -03:00
cx88
cx2341x V4L/DVB (10487): doc: update hm12 documentation. 2009-03-30 12:42:41 -03:00
.gitignore
API.html V4L/DVB (10128): modify V4L documentation to be a valid XHTML 2008-12-30 09:40:39 -02:00
cafe_ccic
CARDLIST.au0828
CARDLIST.bttv V4L/DVB (11124): Add support for ProVideo PV-183 to bttv 2009-03-30 12:43:31 -03:00
CARDLIST.cx88 V4L/DVB (10949): Add support for Terratec Cinergy HT PCI MKII 2009-03-30 12:43:18 -03:00
CARDLIST.cx23885 V4L/DVB (10805): Add support for NetUP Dual DVB-S2 CI card 2009-03-30 12:43:05 -03:00
CARDLIST.em28xx V4L/DVB (10741): em28xx: Add Kaiser Baas Video to DVD maker support 2009-03-30 12:43:00 -03:00
CARDLIST.ivtv
CARDLIST.saa7134 V4L/DVB (10926): saa7134: enable digital tv support for Hauppauge WinTV-HVR1120 2009-03-30 12:43:16 -03:00
CARDLIST.tuner
CARDLIST.usbvision
cpia2_overview.txt
CQcam.txt
cx18.txt
et61x251.txt
extract_xc3028.pl
gspca.txt V4L/DVB (11223): gspca - doc: Add the 15b8:6001 webcam to the Documentation. 2009-03-30 12:43:41 -03:00
hauppauge-wintv-cx88-ir.txt
ibmcam.txt
lifeview.txt
m5602.txt
Makefile
meye.txt
not-in-cx2388x-datasheet.txt
ov511.txt
pxa_camera.txt V4L/DVB (11321): pxa_camera: Redesign DMA handling 2009-04-06 21:43:45 -03:00
radiotrack.txt
README.cpia
README.cpia2
README.cx88
README.ir
README.ivtv
README.pvrusb2
README.saa7134
se401.txt
si470x.txt V4L/DVB (10530): Documentation and code cleanups 2009-03-30 12:42:45 -03:00
sn9c102.txt
soc-camera.txt
stv680.txt
v4l2-framework.txt V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_(probed)_subdev 2009-04-06 21:44:24 -03:00
v4lgrab.c V4L/DVB (11225): v4lgrab: fix compilation warnings 2009-03-30 12:43:41 -03:00
w9966.txt
w9968cf.txt
zc0301.txt
Zoran V4L/DVB (10931): zoran: Drop the lock_norm module parameter 2009-03-30 12:43:16 -03:00
zr364xx.txt V4L/DVB (10263): zr364xx: add support for Aiptek DV T300 2009-03-30 12:42:23 -03:00


What is it?
===========

This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV
boards.  See http://www.semiconductors.philips.com/pip/saa7134hl for a
description.


Status
======

Almost everything is working.  video, sound, tuner, radio, mpeg ts, ...

As with bttv, card-specific tweaks are needed.  Check CARDLIST for a
list of known TV cards and saa7134-cards.c for the drivers card
configuration info.


Build
=====

Pick up videodev + v4l2 patches from http://bytesex.org/patches/.
Configure, build, install + boot the new kernel.  You'll need at least
these config options:

	CONFIG_I2C=m
	CONFIG_VIDEO_DEV=m

Type "make" to build the driver now.  "make install" installs the
driver.  "modprobe saa7134" should load it.  Depending on the card you
might have to pass card=<nr> as insmod option, check CARDLIST for
valid choices.


Changes / Fixes
===============

Please mail me unified diffs ("diff -u") with your changes, and don't
forget to tell me what it changes / which problem it fixes / whatever
it is good for ...


Known Problems
==============

* The tuner for the flyvideos isn't detected automatically and the
  default might not work for you depending on which version you have.
  There is a tuner= insmod option to override the driver's default.

Card Variations:
================

Cards can use either of these two crystals (xtal):
 - 32.11 MHz -> .audio_clock=0x187de7
 - 24.576MHz -> .audio_clock=0x200000
(xtal * .audio_clock = 51539600)

Some details about 30/34/35:

 - saa7130 - low-price chip, doesn't have mute, that is why all those
 cards should have .mute field defined in their tuner structure.

 - saa7134 - usual chip

 - saa7133/35 - saa7135 is probably a marketing decision, since all those
 chips identifies itself as 33 on pci.

Credits
=======

andrew.stevens@philips.com + werner.leeb@philips.com for providing
saa7134 hardware specs and sample board.


Have fun,

  Gerd

--
Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]