]> 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)
commit6e790b99e1a64d9450425f995f667619fa760072
tree1629b74d06439d043c121b06cca275f55a276d2d
parentbd785c1114c5c39d0719e2ecdc4fd2ea314ba102
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