diff options
author | Misael Lopez Cruz | 2015-12-21 14:14:30 -0600 |
---|---|---|
committer | Misael Lopez Cruz | 2016-05-27 16:56:06 -0500 |
commit | 1d41f0c999692e9815b4472b67cbff1db8941570 (patch) | |
tree | 769f7fa612e5daa84189f6f8afdcfc6932cbacbb | |
parent | 2ad1e8fa433dbc77fdb595f415e91582e78f3b27 (diff) | |
download | kernel-audio-1d41f0c999692e9815b4472b67cbff1db8941570.tar.gz kernel-audio-1d41f0c999692e9815b4472b67cbff1db8941570.tar.xz kernel-audio-1d41f0c999692e9815b4472b67cbff1db8941570.zip |
Documentation: devicetree: hwlock: Add bindings for hwspinlock_user
Add devicetree bindings for the hwspinlock_user, which provides an
interface to lock and unlock reserved hwlocks from the user-space.
Change-Id: I276270b73b24071ffbc32ee2ab0d9501b4fb3125
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
-rw-r--r-- | Documentation/devicetree/bindings/hwlock/hwspinlock-user.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwlock/hwspinlock-user.txt b/Documentation/devicetree/bindings/hwlock/hwspinlock-user.txt new file mode 100644 index 000000000000..0e5ab1e0b952 --- /dev/null +++ b/Documentation/devicetree/bindings/hwlock/hwspinlock-user.txt | |||
@@ -0,0 +1,20 @@ | |||
1 | Hardware spinlock user-space interface | ||
2 | ====================================== | ||
3 | |||
4 | A hwspinlock client that provides ioctls to lock and unlock the | ||
5 | reserved hwlocks. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible: Should be "hwspinlock-user" | ||
9 | - hwlocks: An array of the phandle and hwlock number | ||
10 | specifier tuple | ||
11 | |||
12 | Example: | ||
13 | |||
14 | gatemp { | ||
15 | compatible = "hwspinlock-user"; | ||
16 | hwlocks = <&hwspinlock 0>, | ||
17 | <&hwspinlock 1>, | ||
18 | <&hwspinlock 2>, | ||
19 | <&hwspinlock 3>; | ||
20 | }; | ||