[v3,4/4] media: imx.rst: Pass the v4l2-ctl configuration

Message ID 20191015160042.28113-4-festevam@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Hans Verkuil
Headers
Series [v3,1/4] media: imx.rst: Specify the sabreauto variant |

Commit Message

Fabio Estevam Oct. 15, 2019, 4 p.m. UTC
  Pass the v4l2-ctl configuration for the imx6q-sabreauto PAL
example for completeness and consistency. 

Suggested-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Changes since v2:
- Newly introduced patch

 Documentation/media/v4l-drivers/imx.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
  

Comments

Steve Longerbeam Oct. 15, 2019, 6:22 p.m. UTC | #1
On 10/15/19 9:00 AM, Fabio Estevam wrote:
> Pass the v4l2-ctl configuration for the imx6q-sabreauto PAL
> example for completeness and consistency.
>
> Suggested-by: Steve Longerbeam <slongerbeam@gmail.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Acked-by: Steve Longerbeam<slongerbeam@gmail.com>

> ---
> Changes since v2:
> - Newly introduced patch
>
>   Documentation/media/v4l-drivers/imx.rst | 7 ++++---
>   1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/media/v4l-drivers/imx.rst b/Documentation/media/v4l-drivers/imx.rst
> index aab68d8ef2c9..1246573c1019 100644
> --- a/Documentation/media/v4l-drivers/imx.rst
> +++ b/Documentation/media/v4l-drivers/imx.rst
> @@ -564,10 +564,11 @@ alternating fields (field type 'seq-tb' for PAL, or 'alternate').
>      media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]"
>      media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]"
>      media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]"
> +   # Configure "ipu1_ic_prpvf capture" interface (assumed at /dev/video2)
> +   v4l2-ctl -d2 --set-fmt-video=field=none
>   
> -Streaming can then begin on the capture device node at
> -"ipu1_ic_prpvf capture". The v4l2-ctl tool can be used to select any
> -supported YUV or RGB pixelformat on the capture device node.
> +Streaming can then begin on /dev/video2. The v4l2-ctl tool can also be
> +used to select any supported YUV pixelformat on /dev/video2.
>   
>   This platform accepts Composite Video analog inputs to the ADV7180 on
>   Ain1 (connector J42).
  

Patch

diff --git a/Documentation/media/v4l-drivers/imx.rst b/Documentation/media/v4l-drivers/imx.rst
index aab68d8ef2c9..1246573c1019 100644
--- a/Documentation/media/v4l-drivers/imx.rst
+++ b/Documentation/media/v4l-drivers/imx.rst
@@ -564,10 +564,11 @@  alternating fields (field type 'seq-tb' for PAL, or 'alternate').
    media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]"
    media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]"
    media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]"
+   # Configure "ipu1_ic_prpvf capture" interface (assumed at /dev/video2)
+   v4l2-ctl -d2 --set-fmt-video=field=none
 
-Streaming can then begin on the capture device node at
-"ipu1_ic_prpvf capture". The v4l2-ctl tool can be used to select any
-supported YUV or RGB pixelformat on the capture device node.
+Streaming can then begin on /dev/video2. The v4l2-ctl tool can also be
+used to select any supported YUV pixelformat on /dev/video2.
 
 This platform accepts Composite Video analog inputs to the ADV7180 on
 Ain1 (connector J42).