MLK-22205-1: media: ov5640: remove HW reset for ov5640
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Tue, 9 Jul 2019 02:05:35 +0000 (10:05 +0800)
committerGuoniu.Zhou <guoniu.zhou@nxp.com>
Wed, 7 Aug 2019 06:29:03 +0000 (14:29 +0800)
commit98335fea4b15a48fa6fb4a0220400a3318df67de
tree81ff931ca2699e8f941a2e0f869888fc9b8ff096
parent359df73b51eb0f29ee85ccf1fbb76d0ddbd76721
MLK-22205-1: media: ov5640: remove HW reset for ov5640

Remove hardware reset pin for ov5640. Because the level of ov5640
reset pin will be low when system suspend and will be high when
system resume. The action will lead to reset ov5640 to default.
In order to fix the issue, driver load firmware before streaming
on every time, the expense is taking more time.

According to OV5640 datasheet, a reset can also be initiated through
the SCCB interface by setting register 0x3008[7] to high. So driver
can remove the hard reset and saving time of loading firmware.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8mn-ddr4-evk.dts
drivers/media/platform/imx8/ov5640_mipi_v3.c