zephyr/dts/bindings/hwspinlock/sqn,hwspinlock.yaml
Aziz Idomar f66b73197d 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: Aziz Idomar <aidomar@sequans.com>
2023-08-16 20:46:55 +02:00

17 lines
255 B
YAML

# Copyright (c) 2023 Sequans Communications
# SPDX-License-Identifier: Apache-2.0
description: SQN Hardware spinlocks
compatible: "sqn,hwspinlock"
include: base.yaml
properties:
reg:
required: true
num_locks:
type: int
required: true