[media] tc358743: Add support for platforms without IRQ line
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Fri, 2 Jun 2017 12:18:14 +0000 (09:18 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Jun 2017 12:31:45 +0000 (09:31 -0300)
commit4e66a52a2e4c832dfa35a39204d0f7ce717d4a4a
tree2d37c9cdac8a7eba2a81ac94d9495d29313d8586
parent2da2391c0f200b07bdc4b8984d69112337dc6dc7
[media] tc358743: Add support for platforms without IRQ line

interrupts is listed as an optional property in the DT
binding, but in reality the driver didn't work without it.
The existing driver relied on having the interrupt line
connected to the SoC to trigger handling various events.

Add the option to poll the interrupt status register via
a timer if no interrupt source is defined.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tc358743.c