]> git.baikalelectronics.ru Git - kernel.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)
commit97f590da9e0da2c0faa09334340f930f2e0016d7
tree73200e178fa0827b4e41677713ae080cb816f051
parent9f85622c1524d6f9549a919d1dcbdd95edee9cb3
[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