diff options
| -rw-r--r-- | Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt b/Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt new file mode 100644 index 000000000000..2c9804f4f4ac --- /dev/null +++ b/Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | OMAP4+ HwSpinlock Driver | ||
| 2 | ======================== | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: Should be "ti,omap4-hwspinlock" for | ||
| 6 | OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs | ||
| 7 | - reg: Contains the hwspinlock module register address space | ||
| 8 | (base address and length) | ||
| 9 | - ti,hwmods: Name of the hwmod associated with the hwspinlock device | ||
| 10 | - #hwlock-cells: Should be 1. The OMAP hwspinlock users will use a | ||
| 11 | 0-indexed relative hwlock number as the argument | ||
| 12 | specifier value for requesting a specific hwspinlock | ||
| 13 | within a hwspinlock bank. | ||
| 14 | |||
| 15 | Please look at the generic hwlock binding for usage information for consumers, | ||
| 16 | "Documentation/devicetree/bindings/hwlock/hwlock.txt" | ||
| 17 | |||
| 18 | Example: | ||
| 19 | |||
| 20 | /* OMAP4 */ | ||
| 21 | hwspinlock: spinlock@4a0f6000 { | ||
| 22 | compatible = "ti,omap4-hwspinlock"; | ||
| 23 | reg = <0x4a0f6000 0x1000>; | ||
| 24 | ti,hwmods = "spinlock"; | ||
| 25 | #hwlock-cells = <1>; | ||
| 26 | }; | ||
