]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-csi2: Propagate the FLD signal for NTSC and PAL
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 11 Apr 2019 20:34:44 +0000 (16:34 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 8 May 2019 17:59:49 +0000 (13:59 -0400)
commit78c9f4e51aca46c785604af6fe388cffd064cbf9
tree1629b74d06439d043c121b06cca275f55a276d2d
parent6bf8e51a5fb62eca1a622dcf9dfdafc569b095e5
media: rcar-csi2: Propagate the FLD signal for NTSC and PAL

Depending on which video standard is used the driver needs to setup the
hardware to correctly handle fields. If stream is identified as NTSC
or PAL setup field detection and propagate the field detection signal.

Later versions of the datasheet have been updated to make it clear
that FLD register should be set to 0 when dealing with non-interlaced
field formats.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-csi2.c