media: add panel register access functions
authorFlorian Echtler <floe@butterbrot.org>
Thu, 8 Feb 2018 08:43:05 +0000 (03:43 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 14 Feb 2018 18:29:14 +0000 (13:29 -0500)
commitbbc0c4eb6b6b6bd5f5a83caa99d221a85f3063eb
tree9905cb8af9c23520d277ada7f2f4b8ad2c751df3
parent4e6c55814897e7048c6d5dd0bb07725a4051d633
media: add panel register access functions

These functions provide write access to the internal LCD panel registers
which also control the sensor. They can be used to disable the
preprocessor, set the illumination brightness, and adjust gain/contrast
(which are stored together in one register internally called "vsvideo").

Signed-off-by: Florian Echtler <floe@butterbrot.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/input/touchscreen/sur40.c