Skip to content

Commit 8f83b38

Browse files
Fymytejhedberg
authored andcommitted
dts: bindings: add hwspinlock common bindings
Add general hwlocks and hwlock-names to base.yaml to be utilized by any clients that uses hwspinlocks. Additionally add hwspinlock-controller.yaml for common properties shared by all hwspinlock controller devices. Signed-off-by: Pierrick Guillaume <[email protected]>
1 parent 403b4ef commit 8f83b38

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

dts/bindings/base/base.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,17 @@ properties:
210210
description: |
211211
Number of cells in power-domains property
212212
213+
hwlocks:
214+
type: phandle-array
215+
description: |
216+
HW spinlock id relevant to the device.
217+
specifier-space: hwlock
218+
219+
hwlock-names:
220+
type: string-array
221+
description: |
222+
Optional names given to the hwlock specifiers in the "hwlocks" property.
223+
213224
zephyr,deferred-init:
214225
type: boolean
215226
description: |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2025 Sequans Communications
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Common fields for HW spinlock controllers
5+
6+
properties:
7+
"#hwlock-cells":
8+
type: int
9+
required: true
10+
description: Number of items to expect in a HW spinlock specifier

0 commit comments

Comments
 (0)