mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Add lens to vimc driver and link them with sensors using ancillary links.
Provides an example of ancillary link usage.The lens supports
FOCUS_ABSOLUTE control.
Test example: With default vimc topology
> media-ctl -p
Media controller API version 5.18.0
...
- entity 28: Lens A (0 pad, 0 link)
type V4L2 subdev subtype Lens flags 0
device node name /dev/v4l-subdev6
- entity 29: Lens B (0 pad, 0 link)
type V4L2 subdev subtype Lens flags 0
device node name /dev/v4l-subdev7
> v4l2-ctl -d /dev/v4l-subdev7 -C focus_absolute
focus_absolute: 0
Reviewed-by: Kieran Bingham <[email protected]>
Signed-off-by: Yunke Cao <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
7 lines
198 B
Makefile
7 lines
198 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
vimc-y := vimc-core.o vimc-common.o vimc-streamer.o vimc-capture.o \
|
|
vimc-debayer.o vimc-scaler.o vimc-sensor.o vimc-lens.o
|
|
|
|
obj-$(CONFIG_VIDEO_VIMC) += vimc.o
|
|
|