From: Mauro Carvalho Chehab Date: Sun, 17 Jul 2016 19:32:50 +0000 (-0300) Subject: [media] doc-rst: convert cafe_ccic file to rst format X-Git-Tag: v4.8-rc1~131^2^2~86 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8f6174a07e3ef69d51776062d23f4627751cb3a5;p=karo-tx-linux.git [media] doc-rst: convert cafe_ccic file to rst format This file is almost ok, but it needs chapter/sections and a code-block. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/media/v4l-drivers/cafe_ccic.rst b/Documentation/media/v4l-drivers/cafe_ccic.rst index 88821022a5de..b98eb3b7cb4a 100644 --- a/Documentation/media/v4l-drivers/cafe_ccic.rst +++ b/Documentation/media/v4l-drivers/cafe_ccic.rst @@ -1,3 +1,11 @@ +The cafe_ccic driver +==================== + +Author: Jonathan Corbet + +Introdution +----------- + "cafe_ccic" is a driver for the Marvell 88ALP01 "cafe" CMOS camera controller. This is the controller found in first-generation OLPC systems, and this driver was written with support from the OLPC project. @@ -10,11 +18,16 @@ sensor is known to work with this controller at this time. To try it out: either of these commands will work: - mplayer tv:// -tv driver=v4l2:width=640:height=480 -nosound - mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=bgr16 -nosound +.. code-block:: none + + $ mplayer tv:// -tv driver=v4l2:width=640:height=480 -nosound + $ mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=bgr16 -nosound The "xawtv" utility also works; gqcam does not, for unknown reasons. +Load time options +----------------- + There are a few load-time options, most of which can be changed after loading via sysfs as well: @@ -45,10 +58,3 @@ loading via sysfs as well: - flip: If this boolean parameter is set, the sensor will be instructed to invert the video image. Whether it makes sense is determined by how your particular camera is mounted. - -Work is ongoing with this driver, stay tuned. - -jon - -Jonathan Corbet -corbet@lwn.net diff --git a/Documentation/media/v4l-drivers/index.rst b/Documentation/media/v4l-drivers/index.rst index 6391f1622e26..72a96206fcf8 100644 --- a/Documentation/media/v4l-drivers/index.rst +++ b/Documentation/media/v4l-drivers/index.rst @@ -20,3 +20,4 @@ License". fourcc cardlist + cafe_ccic