Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b333ad00 authored by Gjorgji Rosikopulos's avatar Gjorgji Rosikopulos
Browse files

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: default avatarGjorgji Rosikopulos <grosik@codeaurora.org>
parent 51c75088
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment