Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1SIRF Hardware spinlock device Binding
2-----------------------------------------------
3
4Required properties :
5- compatible : shall contain only one of the following:
6 "sirf,hwspinlock"
7
8- reg : the register address of hwspinlock
9
10- #hwlock-cells : hwlock users only use the hwlock id to represent a specific
11 hwlock, so the number of cells should be <1> here.
12
13Please look at the generic hwlock binding for usage information for consumers,
14"Documentation/devicetree/bindings/hwlock/hwlock.txt"
15
16Example of hwlock provider:
17 hwlock {
18 compatible = "sirf,hwspinlock";
19 reg = <0x13240000 0x00010000>;
20 #hwlock-cells = <1>;
21 };
22
23Example of hwlock users:
24 node {
25 ...
26 hwlocks = <&hwlock 2>;
27 ...
28 };