aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2016-11-02 13:09:24 -0400
committerSudeep Holla <sudeep.holla@arm.com>2016-11-17 11:30:56 -0500
commita90b15e0ad7221c9d432291e85ae72f8dfc3ca34 (patch)
tree019865830dbcf915eee5bbb840b8f33bcdead02d
parentabd3e80545c184f2b472f7527ae8eda34bd59f2d (diff)
Documentation: bindings: decouple juno specific details from generic binding
Since SCPI is a generic protocol and the bindings are intended to be generic, we need to decouple all the platform specific binding details out of the generic bindings. This patch moves are the Juno platform specific details into a separate binding document. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
-rw-r--r--Documentation/devicetree/bindings/arm/arm,scpi.txt20
-rw-r--r--Documentation/devicetree/bindings/arm/juno,scpi.txt26
2 files changed, 33 insertions, 13 deletions
diff --git a/Documentation/devicetree/bindings/arm/arm,scpi.txt b/Documentation/devicetree/bindings/arm/arm,scpi.txt
index faa4b44572e3..d1882c4540d0 100644
--- a/Documentation/devicetree/bindings/arm/arm,scpi.txt
+++ b/Documentation/devicetree/bindings/arm/arm,scpi.txt
@@ -59,18 +59,14 @@ SRAM and Shared Memory for SCPI
59A small area of SRAM is reserved for SCPI communication between application 59A small area of SRAM is reserved for SCPI communication between application
60processors and SCP. 60processors and SCP.
61 61
62Required properties: 62The properties should follow the generic mmio-sram description found in [3]
63- compatible : should be "arm,juno-sram-ns" for Non-secure SRAM on Juno
64
65The rest of the properties should follow the generic mmio-sram description
66found in ../../sram/sram.txt
67 63
68Each sub-node represents the reserved area for SCPI. 64Each sub-node represents the reserved area for SCPI.
69 65
70Required sub-node properties: 66Required sub-node properties:
71- reg : The base offset and size of the reserved area with the SRAM 67- reg : The base offset and size of the reserved area with the SRAM
72- compatible : should be "arm,juno-scp-shmem" for Non-secure SRAM based 68- compatible : should be "arm,scp-shmem" for Non-secure SRAM based
73 shared memory on Juno platforms 69 shared memory
74 70
75Sensor bindings for the sensors based on SCPI Message Protocol 71Sensor bindings for the sensors based on SCPI Message Protocol
76-------------------------------------------------------------- 72--------------------------------------------------------------
@@ -81,11 +77,9 @@ Required properties:
81- #thermal-sensor-cells: should be set to 1. This property follows the 77- #thermal-sensor-cells: should be set to 1. This property follows the
82 thermal device tree bindings[2]. 78 thermal device tree bindings[2].
83 79
84 Valid cell values are raw identifiers (Sensor 80 Valid cell values are raw identifiers (Sensor ID)
85 ID) as used by the firmware. Refer to 81 as used by the firmware. Refer to platform details
86 platform documentation for your 82 for your implementation for the IDs to use.
87 implementation for the IDs to use. For Juno
88 R0 and Juno R1 refer to [3].
89 83
90Power domain bindings for the power domains based on SCPI Message Protocol 84Power domain bindings for the power domains based on SCPI Message Protocol
91------------------------------------------------------------ 85------------------------------------------------------------
@@ -112,7 +106,7 @@ Required properties:
112[0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0922b/index.html 106[0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0922b/index.html
113[1] Documentation/devicetree/bindings/clock/clock-bindings.txt 107[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
114[2] Documentation/devicetree/bindings/thermal/thermal.txt 108[2] Documentation/devicetree/bindings/thermal/thermal.txt
115[3] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/apas03s22.html 109[3] Documentation/devicetree/bindings/sram/sram.txt
116[4] Documentation/devicetree/bindings/power/power_domain.txt 110[4] Documentation/devicetree/bindings/power/power_domain.txt
117 111
118Example: 112Example:
diff --git a/Documentation/devicetree/bindings/arm/juno,scpi.txt b/Documentation/devicetree/bindings/arm/juno,scpi.txt
new file mode 100644
index 000000000000..2ace8696bbee
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/juno,scpi.txt
@@ -0,0 +1,26 @@
1System Control and Power Interface (SCPI) Message Protocol
2(in addition to the standard binding in [0])
3
4Juno SRAM and Shared Memory for SCPI
5------------------------------------
6
7Required properties:
8- compatible : should be "arm,juno-sram-ns" for Non-secure SRAM
9
10Each sub-node represents the reserved area for SCPI.
11
12Required sub-node properties:
13- reg : The base offset and size of the reserved area with the SRAM
14- compatible : should be "arm,juno-scp-shmem" for Non-secure SRAM based
15 shared memory on Juno platforms
16
17Sensor bindings for the sensors based on SCPI Message Protocol
18--------------------------------------------------------------
19Required properties:
20- compatible : should be "arm,scpi-sensors".
21- #thermal-sensor-cells: should be set to 1.
22 For Juno R0 and Juno R1 refer to [1] for the
23 sensor identifiers
24
25[0] Documentation/devicetree/bindings/arm/arm,scpi.txt
26[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/apas03s22.html