]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] m5mols: Add support for the system initialization interrupt
authorHeungJun Kim <riverful.kim@samsung.com>
Sat, 3 Dec 2011 14:47:40 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 16:35:25 +0000 (14:35 -0200)
commit0f2ee1dd4907e1daae3c4bf00467417aba04c53e
tree6913d53af8922eab389ab4e9ceb1a4e00f7e7f50
parent630caa23b75ca5d399791fa5a4d8d5f4adf81489
[media] m5mols: Add support for the system initialization interrupt

The M-5MOLS internal controller's initialization time depends on the
hardware and firmware revision. Currently the driver just waits for
worst case time period, after applying the voltage supplies, for
the device to be ready. The M-5MOLS supports "System initialization"
interrupt which is triggered after the controller finished booting.
So use this interrupt to optimize the initialization sequence.

After the voltage supplies are applied the I2C communication will
fail, until the internal controller initializes to Flash Writer
state. For the period when the I2C is not accessible use the
isp_ready flag to suppress the error logs.

Signed-off-by: HeungJun Kim <riverful.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/m5mols/m5mols.h
drivers/media/video/m5mols/m5mols_core.c
drivers/media/video/m5mols/m5mols_reg.h