linux_dsm_epyc7002/drivers/media
Jacob Chen 7bc9f038d0 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>
2017-10-27 16:12:49 +02:00
..
cec media: cec-pin.h: move non-kAPI parts into cec-pin-priv.h 2017-10-27 14:02:19 +02:00
common [media] v4l2-tpg: add Y10 and Y12 support 2017-10-04 16:58:39 -03:00
dvb-core Merge commit '3728e6a255b5' into patchwork 2017-10-17 17:22:20 -07:00
dvb-frontends media: dvb_frontend: get rid of get_property() callback 2017-10-11 12:51:36 -04:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: i2c: OV5647: ensure clock lane in LP-11 state before streaming on 2017-10-27 16:12:49 +02:00
mmc
pci media: cx23885/saa7134: make vb2_ops const 2017-10-27 14:12:44 +02:00
platform media: tegra-cec: add Tegra HDMI CEC driver 2017-10-27 15:48:57 +02:00
radio media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
rc Merge commit '3728e6a255b5' into patchwork 2017-10-17 17:22:20 -07:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: dvb: i2c transfers over usb cannot be done from stack 2017-09-23 07:21:33 -04:00
usb media: au0828/em28xx: make vb2_ops const 2017-10-27 14:13:33 +02:00
v4l2-core [media] v4l2-ctrls.c: allow empty control handlers 2017-10-04 17:05:00 -03:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00