summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt
blob: 2c9804f4f4ac1cd206f6eff8fe5bae8c8d0d02ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
OMAP4+ HwSpinlock Driver
========================

Required properties:
- compatible:		Should be "ti,omap4-hwspinlock" for
			    OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs
- reg:			Contains the hwspinlock module register address space
			(base address and length)
- ti,hwmods:		Name of the hwmod associated with the hwspinlock device
- #hwlock-cells:	Should be 1. The OMAP hwspinlock users will use a
			0-indexed relative hwlock number as the argument
			specifier value for requesting a specific hwspinlock
			within a hwspinlock bank.

Please look at the generic hwlock binding for usage information for consumers,
"Documentation/devicetree/bindings/hwlock/hwlock.txt"

Example:

/* OMAP4 */
hwspinlock: spinlock@4a0f6000 {
	compatible = "ti,omap4-hwspinlock";
	reg = <0x4a0f6000 0x1000>;
	ti,hwmods = "spinlock";
	#hwlock-cells = <1>;
};