msm: face detect: add shared vbif power collapse sequence
Power collapse sequence is needed if vbif is shared between
face detection and other modules.
In that cases before face detection clocks are disabled
we need to issue stop command and wait core to halt.
Halt irq is received from face detection wrapper and
we need to attach one more irq.
For simplicity of implementation move
irq handling to hw file and keep device
implementation simple.
Power collapse sequence will be executed
only on 0x10010000 or higher revisions of face detection
core.
Change-Id: I2585e80686e2052e8b74a50764f47c81ebcb1815
Signed-off-by:
Gjorgji Rosikopulos <grosik@codeaurora.org>
Loading
Please register or sign in to comment