From 2d4cd11b2885860fb8f319dcd4f0052083a68315 Mon Sep 17 00:00:00 2001 From: Priyansh Jain Date: Thu, 12 May 2022 13:25:52 +0530 Subject: [PATCH] dt-bindings: thermal: Add snapshot of AOP regulator cdev Add dt-bindings for AOP regulator cooling device. Change-Id: I52e5ecb7e2478a8a206e54248043702f616c3d5a --- bindings/thermal/qti-rpmh-reg-cdev.txt | 44 ++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 bindings/thermal/qti-rpmh-reg-cdev.txt diff --git a/bindings/thermal/qti-rpmh-reg-cdev.txt b/bindings/thermal/qti-rpmh-reg-cdev.txt new file mode 100644 index 00000000..b7734adc --- /dev/null +++ b/bindings/thermal/qti-rpmh-reg-cdev.txt @@ -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: + Definition: shall be "qcom,rpmh-reg-cdev" + +- qcom,reg-resource-name: + Usage: required + Value type: + 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: + 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 + 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>; + };