Skip to content

Commit ae39913

Browse files
committed
dt-bindings: arm: Extend SCMI to support new reset protocol
SCMIv2.0 adds a new Reset Management Protocol to manage various reset states a given device or domain can enter. Extend the existing SCMI bindings to add reset protocol support by re-using the reset bindings for both reset providers and consumers. Cc: Philipp Zabel <[email protected]> Cc: Rob Herring <[email protected]> Cc: Mark Rutland <[email protected]> Cc: [email protected] Signed-off-by: Sudeep Holla <[email protected]>
1 parent 8238395 commit ae39913

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/devicetree/bindings/arm/arm,scmi.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ Required properties:
7373
as used by the firmware. Refer to platform details
7474
for your implementation for the IDs to use.
7575

76+
Reset signal bindings for the reset domains based on SCMI Message Protocol
77+
------------------------------------------------------------
78+
79+
This binding for the SCMI reset domain providers uses the generic reset
80+
signal binding[5].
81+
82+
Required properties:
83+
- #reset-cells : Should be 1. Contains the reset domain ID value used
84+
by SCMI commands.
85+
7686
SRAM and Shared Memory for SCMI
7787
-------------------------------
7888

@@ -93,6 +103,7 @@ Required sub-node properties:
93103
[2] Documentation/devicetree/bindings/power/power_domain.txt
94104
[3] Documentation/devicetree/bindings/thermal/thermal.txt
95105
[4] Documentation/devicetree/bindings/sram/sram.txt
106+
[5] Documentation/devicetree/bindings/reset/reset.txt
96107

97108
Example:
98109

@@ -152,6 +163,11 @@ firmware {
152163
reg = <0x15>;
153164
#thermal-sensor-cells = <1>;
154165
};
166+
167+
scmi_reset: protocol@16 {
168+
reg = <0x16>;
169+
#reset-cells = <1>;
170+
};
155171
};
156172
};
157173

@@ -166,6 +182,7 @@ hdlcd@7ff60000 {
166182
reg = <0 0x7ff60000 0 0x1000>;
167183
clocks = <&scmi_clk 4>;
168184
power-domains = <&scmi_devpd 1>;
185+
resets = <&scmi_reset 10>;
169186
};
170187

171188
thermal-zones {

0 commit comments

Comments
 (0)