From ab00083a1cda3ddcb987bf4169a8b427cfa6deea Mon Sep 17 00:00:00 2001 From: David Collins Date: Fri, 19 Jul 2019 15:48:50 -0700 Subject: [PATCH 1/2] dt-bindings: clk: gdsc-regulator: add parent supply property Add a property to specify the parent supply voltage regulator which must be enabled during GDSC register configuration. Change-Id: I62e3f869f8b33faca8838151876420bb08fda601 --- bindings/regulator/gdsc-regulator.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bindings/regulator/gdsc-regulator.txt b/bindings/regulator/gdsc-regulator.txt index 26ebf71cbf4e..ea3a06a24255 100644 --- a/bindings/regulator/gdsc-regulator.txt +++ b/bindings/regulator/gdsc-regulator.txt @@ -41,6 +41,11 @@ Optional properties: to enable. - qcom,reset-aon-logic: If present, the GPU DEMET cells need to be reset while enabling the GX GDSC. + - vdd_parent-supply: phandle to the regulator that this GDSC gates. If + present, need to vote for a minimum operational voltage + (LOW_SVS) on the GDSC parent regulator prior to + configuring it. The vote is removed once the GDSC FSM + has latched on to the new state. - resets: reset specifier pair consisting of phandle for the reset controller and reset lines used by this controller. These can be supplied only if we support qcom,skip-logic-collapse. From 019ed7ab7cb0e180c6c2edeca1a0a4ca89eda6b4 Mon Sep 17 00:00:00 2001 From: David Collins Date: Mon, 22 Jul 2019 16:05:13 -0700 Subject: [PATCH 2/2] dt-bindings: regulator: gdsc-regulator: add property for register retention Add the description for a new property, qcom,retain-regs, which can be used to specify that retention registers should be configured to maintain their state after a GDSC is disabled and re-enabled. Change-Id: Ic3649de0804d47117bddff72f3713c1ab24e33b2 --- bindings/regulator/gdsc-regulator.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/regulator/gdsc-regulator.txt b/bindings/regulator/gdsc-regulator.txt index ea3a06a24255..1d3f65a75b74 100644 --- a/bindings/regulator/gdsc-regulator.txt +++ b/bindings/regulator/gdsc-regulator.txt @@ -12,6 +12,9 @@ Required properties: Optional properties: - parent-supply: phandle to the parent supply/regulator node - clock-names: List of string names for core clocks + - qcom,retain-regs: Presence denotes a hardware requirement to enable the + usage of retention registers which maintain their state + after the GDSC is disabled and re-enabled. - qcom,skip-logic-collapse: Presence denotes a requirement to leave power to the core's logic enabled. - qcom,support-hw-trigger: Presence denotes a hardware feature to switch