Skip to content
Commit f66b7319 authored by Aziz Idomar's avatar Aziz Idomar Committed by Carles Cufí
Browse files

drivers: hwspinlock: implement sqn hwspinlock driver



When we lock an hwspinlock, we must write the CPU identifier to
the hwspinlock register. If we want to unlock the locked hwspinlock,
we have to rewrite the same CPU identifier.

To define the CPU identifier, we use affinity 1 and affinity 2 fields
of the MPIDR register.

Signed-off-by: default avatarAziz Idomar <aidomar@sequans.com>
parent c3ac598c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment