media: vimc: add test_pattern and h/vflip controls to the sensor
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 6 Nov 2017 10:20:01 +0000 (05:20 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 15:44:55 +0000 (10:44 -0500)
commit52cf1d964e4ca89ed80f97a8451245c9bb13a63d
treed3db867af41176b73df079df2078f0418c1ba8f7
parente2a067048d6263613cee8c5c36aa6f2d755ef425
media: vimc: add test_pattern and h/vflip controls to the sensor

Add support for the test_pattern control and the h/vflip controls.

This makes it possible to switch to more interesting test patterns and to
test control handling in v4l-subdevs.

There are more tpg-related controls that can be added, but this is a good
start.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
[hans.verkuil@cisco.com: fix small whitespace checkpatch warning]
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vimc/vimc-common.h
drivers/media/platform/vimc/vimc-sensor.c