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>
This commit is contained in:
parent
abd3e80545
commit
a90b15e0ad
@ -59,18 +59,14 @@ SRAM and Shared Memory for SCPI
|
|||||||
A small area of SRAM is reserved for SCPI communication between application
|
A small area of SRAM is reserved for SCPI communication between application
|
||||||
processors and SCP.
|
processors and SCP.
|
||||||
|
|
||||||
Required properties:
|
The properties should follow the generic mmio-sram description found in [3]
|
||||||
- compatible : should be "arm,juno-sram-ns" for Non-secure SRAM on Juno
|
|
||||||
|
|
||||||
The rest of the properties should follow the generic mmio-sram description
|
|
||||||
found in ../../sram/sram.txt
|
|
||||||
|
|
||||||
Each sub-node represents the reserved area for SCPI.
|
Each sub-node represents the reserved area for SCPI.
|
||||||
|
|
||||||
Required sub-node properties:
|
Required sub-node properties:
|
||||||
- reg : The base offset and size of the reserved area with the SRAM
|
- reg : The base offset and size of the reserved area with the SRAM
|
||||||
- compatible : should be "arm,juno-scp-shmem" for Non-secure SRAM based
|
- compatible : should be "arm,scp-shmem" for Non-secure SRAM based
|
||||||
shared memory on Juno platforms
|
shared memory
|
||||||
|
|
||||||
Sensor bindings for the sensors based on SCPI Message Protocol
|
Sensor bindings for the sensors based on SCPI Message Protocol
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
@ -81,11 +77,9 @@ Required properties:
|
|||||||
- #thermal-sensor-cells: should be set to 1. This property follows the
|
- #thermal-sensor-cells: should be set to 1. This property follows the
|
||||||
thermal device tree bindings[2].
|
thermal device tree bindings[2].
|
||||||
|
|
||||||
Valid cell values are raw identifiers (Sensor
|
Valid cell values are raw identifiers (Sensor ID)
|
||||||
ID) as used by the firmware. Refer to
|
as used by the firmware. Refer to platform details
|
||||||
platform documentation for your
|
for your implementation for the IDs to use.
|
||||||
implementation for the IDs to use. For Juno
|
|
||||||
R0 and Juno R1 refer to [3].
|
|
||||||
|
|
||||||
Power domain bindings for the power domains based on SCPI Message Protocol
|
Power domain bindings for the power domains based on SCPI Message Protocol
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
@ -112,7 +106,7 @@ Required properties:
|
|||||||
[0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0922b/index.html
|
[0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0922b/index.html
|
||||||
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
||||||
[2] Documentation/devicetree/bindings/thermal/thermal.txt
|
[2] Documentation/devicetree/bindings/thermal/thermal.txt
|
||||||
[3] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/apas03s22.html
|
[3] Documentation/devicetree/bindings/sram/sram.txt
|
||||||
[4] Documentation/devicetree/bindings/power/power_domain.txt
|
[4] Documentation/devicetree/bindings/power/power_domain.txt
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
26
Documentation/devicetree/bindings/arm/juno,scpi.txt
Normal file
26
Documentation/devicetree/bindings/arm/juno,scpi.txt
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
System Control and Power Interface (SCPI) Message Protocol
|
||||||
|
(in addition to the standard binding in [0])
|
||||||
|
|
||||||
|
Juno SRAM and Shared Memory for SCPI
|
||||||
|
------------------------------------
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible : should be "arm,juno-sram-ns" for Non-secure SRAM
|
||||||
|
|
||||||
|
Each sub-node represents the reserved area for SCPI.
|
||||||
|
|
||||||
|
Required sub-node properties:
|
||||||
|
- reg : The base offset and size of the reserved area with the SRAM
|
||||||
|
- compatible : should be "arm,juno-scp-shmem" for Non-secure SRAM based
|
||||||
|
shared memory on Juno platforms
|
||||||
|
|
||||||
|
Sensor bindings for the sensors based on SCPI Message Protocol
|
||||||
|
--------------------------------------------------------------
|
||||||
|
Required properties:
|
||||||
|
- compatible : should be "arm,scpi-sensors".
|
||||||
|
- #thermal-sensor-cells: should be set to 1.
|
||||||
|
For Juno R0 and Juno R1 refer to [1] for the
|
||||||
|
sensor identifiers
|
||||||
|
|
||||||
|
[0] Documentation/devicetree/bindings/arm/arm,scpi.txt
|
||||||
|
[1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/apas03s22.html
|
Loading…
Reference in New Issue
Block a user