mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 20:28:49 +00:00
dt-bindings: thermal: Add snapshot of AOP regulator cdev
Add dt-bindings for AOP regulator cooling device. Change-Id: I52e5ecb7e2478a8a206e54248043702f616c3d5a
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
dc8d3ab88f
commit
2d4cd11b28
44
bindings/thermal/qti-rpmh-reg-cdev.txt
Normal file
44
bindings/thermal/qti-rpmh-reg-cdev.txt
Normal file
@@ -0,0 +1,44 @@
|
||||
RPMh regulator cooling device.
|
||||
|
||||
The RPMh regulator cooling device, will be used to place a voltage floor
|
||||
restriction on a rail. This cooling device will use a QMP AOP mail box to send
|
||||
the message to apply and clear voltage floor restriction.
|
||||
|
||||
The cooling device node should be a child of the regulator devicetree node,
|
||||
which it is trying to place the floor restriction.
|
||||
|
||||
Properties:
|
||||
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <string>
|
||||
Definition: shall be "qcom,rpmh-reg-cdev"
|
||||
|
||||
- qcom,reg-resource-name:
|
||||
Usage: required
|
||||
Value type: <string>
|
||||
Definition: The regulator resource name to be used for communicating
|
||||
with RPMh. This value should be any of the below
|
||||
resource name,
|
||||
cx -> For CX rail,
|
||||
mx -> For MX rail,
|
||||
ebi -> For EBI rail.
|
||||
|
||||
- mboxes:
|
||||
Usage: required
|
||||
Value type: <phandle>
|
||||
Definition: A phandle to the QMP AOP mail box, that needs to be used
|
||||
for sending the floor restriction message.
|
||||
|
||||
- #cooling-cells: Must be 2. Please refer to
|
||||
<devicetree/bindings/thermal/thermal.txt> for more
|
||||
details.
|
||||
|
||||
Example:
|
||||
|
||||
vdd_cx: rpmh-cx-regulator-cdev {
|
||||
compatible = "qcom,rpmh-reg-cdev";
|
||||
mboxes = <&qmp_aop 0>;
|
||||
qcom,reg-resource-name = "cx";
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
Reference in New Issue
Block a user