aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisael Lopez Cruz2015-12-21 14:14:30 -0600
committerMisael Lopez Cruz2016-05-27 16:56:06 -0500
commit1d41f0c999692e9815b4472b67cbff1db8941570 (patch)
tree769f7fa612e5daa84189f6f8afdcfc6932cbacbb
parent2ad1e8fa433dbc77fdb595f415e91582e78f3b27 (diff)
downloadkernel-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.txt20
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 @@
1Hardware spinlock user-space interface
2======================================
3
4A hwspinlock client that provides ioctls to lock and unlock the
5reserved hwlocks.
6
7Required properties:
8- compatible: Should be "hwspinlock-user"
9- hwlocks: An array of the phandle and hwlock number
10 specifier tuple
11
12Example:
13
14gatemp {
15 compatible = "hwspinlock-user";
16 hwlocks = <&hwspinlock 0>,
17 <&hwspinlock 1>,
18 <&hwspinlock 2>,
19 <&hwspinlock 3>;
20};