dt-bindings: regulator: gdsc-regulator: Add qcom,collapse-vote property

Add documentation for qcom,collapse-vote property, which can be used
for specifying the votable registers to control the GDSC operations.

Change-Id: Ie0f5699bd2859a286ede20592a3b7cbbb7e97175
This commit is contained in:
Kalpak Kawadkar
2022-05-26 12:16:16 +05:30
parent ec29d75754
commit e359db2e79

View File

@@ -58,6 +58,10 @@ Optional properties:
- qcom,skip-disable-before-sw-enable : Presence denotes a hardware requirement
to leave the GDSC on that has been
enabled by an entity external to HLOS.
- qcom,collapse-vote : If present, GDSC will be controlled by votable register.
Some targets have single votable register to control GDSC,
but there could be targets where separate votable registers
to control the GDSCs individually for active and sleep states.
Example:
gdsc_oxili_gx: qcom,gdsc@fd8c4024 {
@@ -67,3 +71,17 @@ Example:
reg = <0xfd8c4024 0x4>;
clock-names = "core_clk";
};
/* Single votable register */
gcc_pcie_0_gdsc: qcom,gdsc@17b004 {
compatible = "qcom,gdsc";
regulator-name = "gcc_pcie_0_gdsc";
qcom,collapse-vote = <&active_ctrl 0>;
};
/* Multiple votable registers */
gcc_pcie_1_gdsc: qcom,gdsc@19d004 {
compatible = "qcom,gdsc";
regulator-name = "gcc_pcie_1_gdsc";
qcom,collapse-vote = <&active_ctrl &sleep_ctrl 1>;
};