Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: vimc: documentation for lens

Add documentation for vimc-lens.
Add a lens into the vimc topology graph.

Signed-off-by: Yunke Cao <yunkec@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Yunke Cao and committed by
Mauro Carvalho Chehab
39146d11 ee8dadd7

+23
+4
Documentation/admin-guide/media/vimc.dot
··· 5 5 n00000001 [label="{{} | Sensor A\n/dev/v4l-subdev0 | {<port0> 0}}", shape=Mrecord, style=filled, fillcolor=green] 6 6 n00000001:port0 -> n00000005:port0 [style=bold] 7 7 n00000001:port0 -> n0000000b [style=bold] 8 + n00000001 -> n00000002 9 + n00000002 [label="{{} | Lens A\n/dev/v4l-subdev5 | {<port0>}}", shape=Mrecord, style=filled, fillcolor=green] 8 10 n00000003 [label="{{} | Sensor B\n/dev/v4l-subdev1 | {<port0> 0}}", shape=Mrecord, style=filled, fillcolor=green] 9 11 n00000003:port0 -> n00000008:port0 [style=bold] 10 12 n00000003:port0 -> n0000000f [style=bold] 13 + n00000003 -> n00000004 14 + n00000004 [label="{{} | Lens B\n/dev/v4l-subdev6 | {<port0>}}", shape=Mrecord, style=filled, fillcolor=green] 11 15 n00000005 [label="{{<port0> 0} | Debayer A\n/dev/v4l-subdev2 | {<port1> 1}}", shape=Mrecord, style=filled, fillcolor=green] 12 16 n00000005:port1 -> n00000015:port0 13 17 n00000008 [label="{{<port0> 0} | Debayer B\n/dev/v4l-subdev3 | {<port1> 1}}", shape=Mrecord, style=filled, fillcolor=green]
+19
Documentation/admin-guide/media/vimc.rst
··· 53 53 54 54 * 1 Pad source 55 55 56 + vimc-lens: 57 + Ancillary lens for a sensor. Supports auto focus control. Linked to 58 + a vimc-sensor using an ancillary link. The lens supports FOCUS_ABSOLUTE 59 + control. 60 + 61 + .. code-block:: bash 62 + 63 + media-ctl -p 64 + ... 65 + - entity 28: Lens A (0 pad, 0 link) 66 + type V4L2 subdev subtype Lens flags 0 67 + device node name /dev/v4l-subdev6 68 + - entity 29: Lens B (0 pad, 0 link) 69 + type V4L2 subdev subtype Lens flags 0 70 + device node name /dev/v4l-subdev7 71 + v4l2-ctl -d /dev/v4l-subdev7 -C focus_absolute 72 + focus_absolute: 0 73 + 74 + 56 75 vimc-debayer: 57 76 Transforms images in bayer format into a non-bayer format. 58 77 Exposes: