linux-uconsole/drivers/media
Ezequiel Garcia 092e8eb90a media: i2c: ov5645: Fix power sequence
This is mostly a port of Jacopo's fix:

  commit aa4bb8b883
  Author: Jacopo Mondi <jacopo@jmondi.org>
  Date:   Fri Jul 6 05:51:52 2018 -0400

  media: ov5640: Re-work MIPI startup sequence

In the OV5645 case, the changes are:

- At set_power(1) time power up MIPI Tx/Rx and set data and clock lanes in
  LP11 during 'sleep' and 'idle' with MIPI clock in non-continuous mode.
- At set_power(0) time power down MIPI Tx/Rx (in addition to the current
  power down of regulators and clock gating).
- At s_stream time enable/disable the MIPI interface output.

With this commit the sensor is able to enter LP-11 mode during power up,
as expected by some CSI-2 controllers.

Many thanks to Fabio Estevam for his help debugging this issue.

Tested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-08-15 08:08:07 -03:00
..
cec media: cec-notifier: add new notifier functions 2019-06-27 07:19:43 -04:00
common media: v4l2-tpg: add support for new pixelformats 2019-07-30 12:16:45 -04:00
dvb-core media: media/dvb: Use kmemdup rather than duplicating its implementation 2019-08-14 05:03:30 -03:00
dvb-frontends media: stv0900_core: remove redundant assignment to variables mclk, div and ad_div 2019-08-14 05:04:32 -03:00
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
i2c media: i2c: ov5645: Fix power sequence 2019-08-15 08:08:07 -03:00
mc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci media: ngene: Remove call to memset after pci_alloc_consistent 2019-08-13 11:54:39 -03:00
platform media: omap3isp: Don't set streaming state on random subdevs 2019-08-15 08:07:04 -03:00
radio media: radio: si470x: Convert to new i2c device probe() 2019-08-13 11:52:08 -03:00
rc media: rc: imon: Allow iMON RC protocol for ffdc 7e device 2019-08-14 05:08:27 -03:00
spi Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
tuners media: media/tuners: Use kmemdup rather than duplicating its implementation 2019-08-14 05:03:11 -03:00
usb media: tm6000: double free if usb disconnect while streaming 2019-08-14 05:07:39 -03:00
v4l2-core media: v4l2-common: add support for new RGB32 pixelformats 2019-07-30 12:17:08 -04:00
Kconfig media: Don't default-enable "ancillary driver autoselect" if EMBEDDED 2019-07-25 11:48:22 -04:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00