On Fri, May 12, 2017 at 11:52:43AM +0200, Jacopo Mondi wrote: > Force use of Omnivision's SCCB protocol and make sure the I2c adapter > supports protocol mangling during probe. > > Testing done on SH4 Migo-R board. > As commit: > [e789029761503f0cce03e8767a56ae099b88e1bd] > "i2c: sh_mobile: don't send a stop condition by default inside transfers" > makes the i2c adapter emit a stop bit between messages in a single > transfer only when explicitly required, the ov772x driver fails to > probe due to i2c transfer timeout without SCCB flag set. > > i2c-sh_mobile i2c-sh_mobile.0: Transfer request timed out > ov772x 0-0021: Product ID error 92:92 > > With this patch applied: > > soc-camera-pdrv soc-camera-pdrv.0: Probing soc-camera-pdrv.0 > ov772x 0-0021: ov7725 Product ID 77:21 Manufacturer ID 7f:a2 > > Signed-off-by: Jacopo Mondi <jacopo@xxxxxxxxxx> Acked-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature