瀏覽代碼

PM / OPP: dt-bindings: Rename "required-opp" as "required-opps"

This property can contain more than one phandle and it must be named
"required-opps" instead.

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Viresh Kumar 7 年之前
父節點
當前提交
f05fededbb

+ 1 - 1
Documentation/devicetree/bindings/opp/opp.txt

@@ -159,7 +159,7 @@ Optional properties:
 
 
 - status: Marks the node enabled/disabled.
 - status: Marks the node enabled/disabled.
 
 
-- required-opp: This contains phandle to an OPP node in another device's OPP
+- required-opps: This contains phandle to an OPP node in another device's OPP
   table. It may contain an array of phandles, where each phandle points to an
   table. It may contain an array of phandles, where each phandle points to an
   OPP of a different device. It should not contain multiple phandles to the OPP
   OPP of a different device. It should not contain multiple phandles to the OPP
   nodes in the same OPP table. This specifies the minimum required OPP of the
   nodes in the same OPP table. This specifies the minimum required OPP of the

+ 3 - 3
Documentation/devicetree/bindings/power/power_domain.txt

@@ -127,7 +127,7 @@ inside a PM domain with index 0 of a power controller represented by a node
 with the label "power".
 with the label "power".
 
 
 Optional properties:
 Optional properties:
-- required-opp: This contains phandle to an OPP node in another device's OPP
+- required-opps: This contains phandle to an OPP node in another device's OPP
   table. It may contain an array of phandles, where each phandle points to an
   table. It may contain an array of phandles, where each phandle points to an
   OPP of a different device. It should not contain multiple phandles to the OPP
   OPP of a different device. It should not contain multiple phandles to the OPP
   nodes in the same OPP table. This specifies the minimum required OPP of the
   nodes in the same OPP table. This specifies the minimum required OPP of the
@@ -175,14 +175,14 @@ Example:
 		compatible = "foo,i-leak-current";
 		compatible = "foo,i-leak-current";
 		reg = <0x12350000 0x1000>;
 		reg = <0x12350000 0x1000>;
 		power-domains = <&power 0>;
 		power-domains = <&power 0>;
-		required-opp = <&domain0_opp_0>;
+		required-opps = <&domain0_opp_0>;
 	};
 	};
 
 
 	leaky-device1@12350000 {
 	leaky-device1@12350000 {
 		compatible = "foo,i-leak-current";
 		compatible = "foo,i-leak-current";
 		reg = <0x12350000 0x1000>;
 		reg = <0x12350000 0x1000>;
 		power-domains = <&power 1>;
 		power-domains = <&power 1>;
-		required-opp = <&domain1_opp_1>;
+		required-opps = <&domain1_opp_1>;
 	};
 	};
 
 
 [1]. Documentation/devicetree/bindings/power/domain-idle-state.txt
 [1]. Documentation/devicetree/bindings/power/domain-idle-state.txt