From 801270cc1215b239ee8474fb0ee7e4d4cb8d793d Mon Sep 17 00:00:00 2001 From: Tushar Nimkar Date: Wed, 10 Mar 2021 19:57:22 +0530 Subject: [PATCH] bindings: arm: msm: Added documentation for ipc spinlock This adds bindings for ipc-spinlock. Change-Id: I2543ac6d8a61d9bc06c12f4c76284aaa1500e2b0 --- bindings/arm/msm/ipc-spinlock.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 bindings/arm/msm/ipc-spinlock.txt diff --git a/bindings/arm/msm/ipc-spinlock.txt b/bindings/arm/msm/ipc-spinlock.txt new file mode 100644 index 000000000000..6460a70a74af --- /dev/null +++ b/bindings/arm/msm/ipc-spinlock.txt @@ -0,0 +1,27 @@ +Interprocessor Communication Spinlock + +--Dedicated Hardware Implementation-- +Required properties: +- compatible : should be "qcom,ipc-spinlock-sfpb" +- reg : the location and size of the spinlock hardware +- qcom,num-locks : the number of locks supported + +Example: + + qcom,ipc-spinlock@fd484000 { + compatible = "qcom,ipc-spinlock-sfpb"; + reg = <0xfd484000 0x1000>; + qcom,num-locks = <32>; + }; + +--LDREX Implementation-- +Required properties: +- compatible : should be "qcom,ipc-spinlock-ldrex" +- reg : the location and size of the shared lock memory + +Example: + + qcom,ipc-spinlock@fa00000 { + compatible = "qcom,ipc-spinlock-ldrex"; + reg = <0xfa00000 0x200000>; + };