28 Jul, 2011
40 commits
-
Now we have a camera working over the marvell cam controller core. It
works like the cafe driver and has all the same limitations, contiguous DMA
only being one of them. But it's a start.Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
The upcoming mmp-camera driver will need an i2c_adapter structure allocated
externally, so change the core adapter to a pointer and require the
platform code to fill it in.Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
This makes the cafe i2c implement consistent with the rest of Linux so that
the core can use the same slave ID everywhere.Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
Nobody else ever needs to see these, so let's hide them.
Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
This code is, indeed, tested :)
Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
Depending on the controller, the ov7670 sensor may be told to work with a
different clock speed or to use the SMBUS protocol. Remove the wired-in
code and pass that information from the platform layer. The Cafe driver
now just assumes it's running on an OLPC XO 1; I do not believe it has ever
run anywhere else.Cc: Daniel Drake
Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
There will eventually be multiple users of the core camera controller, so
separate it from the bus/platform/i2c stuff. I've tried to do the minimal
set of changes to get the driver functioning in this configuration; I did
clean up a bunch of old checkpatch gripes in the process. This driver
works like the old one did on OLPC XO 1 systems.Cc: Daniel Drake
Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
This driver will soon become a family of drivers, so let's give it its own
place to live. This move requires putting ov7670.h into include/media, but
there are no code changes.Cc: Daniel Drake
Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
The patch utility doesn't work with non-binary files. This causes some
tools to break, like generating tarball targets and the scripts that
generate diff patches at http://www.kernel.org/pub/linux/kernel/v2.6/.So, let's convert all binaries to ascii using base64, and add a
logic at Makefile to convert them back into binaries at runtime.Reported-by: Randy Dunlap
Reported-by: Andrew Morton
Reviewed-by: Michal Marek
Signed-off-by: Mauro Carvalho Chehab -
cxsc is not freed in the error case.
Signed-off-by: Andre Bartke
Cc: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
>From 70d02ce19f64fae4ceee563501e8462a76e17b91 Mon Sep 17 00:00:00 2001
Signed-off-by: Hans Petter Selasky
Signed-off-by: Mauro Carvalho Chehab -
>From 0dd2949dfeae431ed4ffbd00fd14a10dc3747ad0 Mon Sep 17 00:00:00 2001
Signed-off-by: Hans Petter Selasky
Signed-off-by: Mauro Carvalho Chehab -
Make sure the return value is set in all cases
>From 9b38a5c9878b5e4be2899ae291c4524f5f5fc218 Mon Sep 17 00:00:00 2001
Signed-off-by: Hans Petter Selasky
Cc: Sylwester Nawrocki
Signed-off-by: Mauro Carvalho Chehab -
Durations can never be negative, so it makes sense to consistently use
unsigned int for LIRC transmission. Contrary to the initial impression,
this shouldn't actually change the userspace API.Signed-off-by: David Härdeman
Signed-off-by: Mauro Carvalho Chehab -
removes obsolete comments. updates firmware versions. firmware vendor request simplified.
Signed-off-by: Dean Anderson
Signed-off-by: Mauro Carvalho Chehab -
While here, remove the mediaindexdocs from PHONY.
Reported-by: Randy Dunlap
Signed-off-by: Mauro Carvalho Chehab -
Based on those feedback:
http://www.spinics.net/lists/linux-media/msg33704.html
http://www.spinics.net/lists/linux-media/msg33700.htmlI'm reverting the removal of this unused ioctl, as it seems that some
drivers under development may be using. So, I'll wait until the next
merge window before removing those unused ioctls, to give a chance for
developers to submit their pending work.This reverts commit db48923da6c528d461b5e764692239eb9c1b7a00.
Cc: Andreas Oberritter
Cc: Manu Abraham
Signed-off-by: Mauro Carvalho Chehab -
Now, all data structures are commented. A few ioctls remain undocumented:
Error: no ID for constraint linkend: VIDEO_GET_SIZE.
Error: no ID for constraint linkend: VIDEO_GET_FRAME_RATE.
Error: no ID for constraint linkend: VIDEO_GET_PTS.
Error: no ID for constraint linkend: VIDEO_GET_FRAME_COUNT.
Error: no ID for constraint linkend: VIDEO_COMMAND.
Error: no ID for constraint linkend: VIDEO_TRY_COMMAND.Signed-off-by: Mauro Carvalho Chehab
-
Make the reference links at video.h.xml to match the ones at video.xml.
Signed-off-by: Mauro Carvalho Chehab
-
The av7110 uses an OSD API. Such API is not documented at all. Also,
the osd.h API uses camelCase and some other weird stuff. Also, dvb-core
doesn't recognize it.I don't see any good reason why we should document it. It seems better
to just let it as-is. If ever needed, it is probably better to write
a different API for dvb-core.Signed-off-by: Mauro Carvalho Chehab
-
There's no documentation at all for the DVB net API. Still, better to
remove a few warnings about the missing symbols. So, add the net data
structure inside the net.xml. Now, only the ioctl documentation is missed.Signed-off-by: Mauro Carvalho Chehab
-
Still, there are a few ioctl's not documented:
Error: no ID for constraint linkend: DMX_GET_PES_PIDS.
Error: no ID for constraint linkend: DMX_GET_CAPS.
Error: no ID for constraint linkend: DMX_SET_SOURCE.
Error: no ID for constraint linkend: DMX_ADD_PID.
Error: no ID for constraint linkend: DMX_REMOVE_PID.Signed-off-by: Mauro Carvalho Chehab
-
Make the reference links at dmx.h.xml to match the ones at demux.xml.
While here, also syncronizes the structures defined inside the API,
in order to match the current API.Signed-off-by: Mauro Carvalho Chehab
-
This is the remaining missing structure at ca.xml. The ioctl's are still
missing through.Signed-off-by: Mauro Carvalho Chehab
-
Make sure that both ca.h.xml and ca.xml will match the same names for
the sections/links.This way, it is now possible to identify API spec gaps:
Error: no ID for constraint linkend: ca-pid.
Error: no ID for constraint linkend: ca-pid.
Error: no ID for constraint linkend: CA_RESET.
Error: no ID for constraint linkend: CA_GET_CAP.
Error: no ID for constraint linkend: CA_GET_SLOT_INFO.
Error: no ID for constraint linkend: CA_GET_DESCR_INFO.
Error: no ID for constraint linkend: CA_GET_MSG.
Error: no ID for constraint linkend: CA_SEND_MSG.
Error: no ID for constraint linkend: CA_SET_DESCR.
Error: no ID for constraint linkend: CA_SET_PID.Basically, in this case, no CA ioctl is described at the specs, and one
file structure (ca-pid) is missing.Signed-off-by: Mauro Carvalho Chehab
-
While this ioctl is defined inside dvb/audio.h, it is not docummented
at the API specs, nor implemented on any driver inside the Linux Kernel.
So, it doesn't make sense to keep it here.As this is not used anywere, removing it is not a regression. So,
there's no need to use the normal features-to-be-removed process.Signed-off-by: Mauro Carvalho Chehab
-
Although this ioctl is only used at the av7110 driver, it is not
described at the API docbook. Yet, AUDIO_PAUSE ioctl description
somewhat describes it. Fill the gap by using the information there
and by looking inside av7110 implementation.Signed-off-by: Mauro Carvalho Chehab
-
Some attributes suffered some changes since DVBv1. Sync them with the
current API header files.Signed-off-by: Mauro Carvalho Chehab
-
Make sure that both audio.h.xml and audio.xml will match the same names.
This way, it is now possible to identify API spec gaps:Error: no ID for constraint linkend: AUDIO_CONTINUE.
Error: no ID for constraint linkend: AUDIO_GET_PTS.
Error: no ID for constraint linkend: AUDIO_BILINGUAL_CHANNEL_SELECT.While here, fix the cut-and-paste description error on AUDIO_SET_KARAOKE.
Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
-
In order to improve the DVB index, replace the title to a
better name.Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
-
Remove the remaining:
Error: no ID for constraint linkend:With this patch, the dvb frontend API matches the current
dvb core implementation.Signed-off-by: Mauro Carvalho Chehab
-
Instead of repeating duplicate parameters to each delivery system,
just add a section for each specific delivery system, showing
what's applicable to each case. This helps userspace app developers
to know what DVB parameters are applicable to each delivery system.Signed-off-by: Mauro Carvalho Chehab
-
The old way of setting delivery system parameters were to use
an union with specific per-system parameters. However, as newer
delivery systems required more data, the structure size weren't
enough to fit. So, recomend using the DVBS2API instead.Signed-off-by: Mauro Carvalho Chehab
-
Put the parameters at the sequencial order as they appear inside
the frontend.h header.TODO: fix the per-standard section, to reflect the parameters
that should actually be used for each transmission system type.Signed-off-by: Mauro Carvalho Chehab
-
Instead of adding a program listing, just add there all parameters.
Signed-off-by: Mauro Carvalho Chehab
-
There were lots of DVB S2API parameters that were never documented.
Let's add a definition for all of them, based on what's currently
used inside the core and the drivers.The description here is not complete nor perfect, so patches
improving it are welcome.Signed-off-by: Mauro Carvalho Chehab