]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] adv7604: Add support for hardware reset
authorDragos Bogdan <dragos.bogdan@analog.com>
Wed, 22 Jun 2016 11:30:42 +0000 (08:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 19:37:10 +0000 (16:37 -0300)
commitf5591da992b952624cf191ed4988360f921e9e57
tree73200e178fa0827b4e41677713ae080cb816f051
parent20634fd1cd3b004088847318024a714f17f2d975
[media] adv7604: Add support for hardware reset

The part can be reset by a low pulse on the RESET pin (i.e. a hardware
reset) with a minimum width of 5 ms. It is recommended to wait 5 ms
after the low pulse before an I2C write is performed to the part.
For safety reasons, the delays will be between 5 and 10 ms.

The RESET pin can be tied high, so the GPIO is optional.

Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7604.c