media: i2c: imx477: Add vsync trigger_mode parameter
authorneocortex-vision <oss@neocortexvision.com>
Thu, 28 Oct 2021 16:37:36 +0000 (17:37 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:28 +0000 (16:04 +0000)
commit75448d48631000249998ce1b9648cc4f80e0bcdc
tree860931d0e6ea7495b1f521cd0e03f2536aef7b47
parent486dd1cba6dfaf907ae4ec895d6274abc54a654f
media: i2c: imx477: Add vsync trigger_mode parameter

trigger_mode == 0 (default) => no effect / no registers written
trigger_mode == 1           => source
trigger_mode == 2           => sink

This can be set e.g. in /boot/cmdline.txt as imx477.trigger_mode=N

Signed-off-by: Jonas Jacob <jonas.jacob@neocortexvision.com>
drivers/media/i2c/imx477.c