Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b97cadee authored by Wei Chen's avatar Wei Chen Committed by Ohad Ben-Cohen
Browse files

DT: hwspinlock: add the CSR atlas7 hwspinlock bindings document



The Hardware Spinlock device on atlas7 provides hardware assistance
for synchronization between the multiple processors in the system
(dual Cortex-A7, CAN bus Cortex-M3 and audio DSP).
This patch adds the DT bindings information for this hwspinlock
module.

Reviewed-by: default avatarSuman Anna <s-anna@ti.com>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: default avatarWei Chen <wei.chen@csr.com>
Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
parent cc16d664
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
SIRF Hardware spinlock device Binding
-----------------------------------------------

Required properties :
- compatible : shall contain only one of the following:
	"sirf,hwspinlock"

- reg : the register address of hwspinlock

- #hwlock-cells : hwlock users only use the hwlock id to represent a specific
	hwlock, so the number of cells should be <1> here.

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

Example of hwlock provider:
	hwlock {
		compatible = "sirf,hwspinlock";
		reg = <0x13240000 0x00010000>;
		#hwlock-cells = <1>;
	};

Example of hwlock users:
	node {
		...
		hwlocks = <&hwlock 2>;
		...
	};