summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-core/dvb_math.c
diff options
context:
space:
mode:
authorJacob Chen <jacob-chen@iotwrt.com>2017-10-01 12:22:37 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2017-10-27 16:12:49 +0200
commit7bc9f038d02c2fc14e53e4aaca651deaf6d0de3f (patch)
tree5fa566a5f3dd39ba55209501763eea500d8f926b /drivers/media/dvb-core/dvb_math.c
parent71862f63f351078560a7ce35c6c2e2ca16750374 (diff)
downloadtalos-op-linux-7bc9f038d02c2fc14e53e4aaca651deaf6d0de3f.tar.gz
talos-op-linux-7bc9f038d02c2fc14e53e4aaca651deaf6d0de3f.zip
media: i2c: OV5647: ensure clock lane in LP-11 state before streaming on
When I was supporting Rpi Camera Module on the ASUS Tinker board, I found this driver have some issues with rockchip's mipi-csi driver. It didn't place clock lane in LP-11 state before performing D-PHY initialisation. >From our experience, on some OV sensors, LP-11 state is not achieved while BIT(5)-0x4800 is cleared. So let's set BIT(5) and BIT(0) both while not streaming, in order to coax the clock lane into LP-11 state. 0x4800 : MIPI CTRL 00 BIT(5) : clock lane gate enable 0: continuous 1: none-continuous BIT(0) : manually set clock lane 0: Not used 1: used Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com> Reviewed-by: Luis Oliveira <lolivei@synopsys.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_math.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud