Skip to contentSkip to conversation

PM / OPP: dt-bindings: Make "opp-hz" optional for power domains

PATCH In review Viresh Kumar 2 participants 3 messages May 3, 2018 – May 8, 2018 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 5c4a3a3fb4bf7320e592aabf582bfb6bdec4ee69.1523273291.git.viresh.kumar@linaro.org

#2 lore raw
Quoted 19 lines · Viresh Kumar

The "opp-hz" property is not relevant across all the devices that use the OPP tables now. For example, for a power domain a frequency value wouldn't mean anything. Though they must have another property, which may be implementation defined, which uniquely identifies the OPP nodes.

Make "opp-hz" optional for such devices.

---
 Documentation/devicetree/bindings/opp/opp.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/opp/opp.txt +0 -0
index 788052d66c9d..c396c4c0af92 100644
@@ -82,7 +82,10 @@ This defines voltage-current-frequency combinations along with other related
 properties.

Documentation/devicetree/bindings/opp/opp.txt This defines voltage-current-frequency combinations along with other related · line 91

Quoted 10 lines
Documentation/devicetree/bindings/opp/opp.txt +4 -1
 
 Required properties:
-- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer.
+- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer. This is a
+  required property for all device nodes but devices like power domains. The
+  power domain nodes must have another (implementation dependent) property which
+  uniquely identifies the OPP nodes.
 
 Optional properties:
 - opp-microvolt: voltage in micro Volts.

Hi Rob,

Can you please review/Ack this patch as well? I can then pick this series for 4.18 branch.

Signature · 1 line
viresh
#3 lore raw

PATCH RESEND v2 1/1 PM / OPP: dt-bindings: Make "opp-hz" optional for power domains

In reply to a message not in the archive

The "opp-hz" property is not relevant across all the devices that use the OPP tables now. For example, for a power domain a frequency value wouldn't mean anything. Though they must have another property, which may be implementation defined, which uniquely identifies the OPP nodes.

Make "opp-hz" optional for such devices.

---
Resending to get Ack from Rob.

 Documentation/devicetree/bindings/opp/opp.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/opp/opp.txt +4 -1
index 788052d66c9d..c396c4c0af92 100644
@@ -82,7 +82,10 @@ This defines voltage-current-frequency combinations along with other related
 properties.
 
 Required properties:
-- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer.
+- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer. This is a
+  required property for all device nodes but devices like power domains. The
+  power domain nodes must have another (implementation dependent) property which
+  uniquely identifies the OPP nodes.
 
 Optional properties:
 - opp-microvolt: voltage in micro Volts.
Signature · 1 line
2.15.0.194.g9af6a3dea062
maintainer Reviewed-by on v2 1/1
#4 lore raw
Quoted 7 lines · Viresh Kumar

The "opp-hz" property is not relevant across all the devices that use the OPP tables now. For example, for a power domain a frequency value wouldn't mean anything. Though they must have another property, which may be implementation defined, which uniquely identifies the OPP nodes.

Make "opp-hz" optional for such devices.

Quoted 7 lines

---
Resending to get Ack from Rob.

 Documentation/devicetree/bindings/opp/opp.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)