Skip to content

Commit cac2ed0

Browse files
Mani-Sadhasivamvireshk
authored andcommitted
dt-bindings: dvfs: Use MediaTek CPUFREQ HW as an example
Qcom CPUFREQ HW don't have the support for generic performance domains yet. So use MediaTek CPUFREQ HW that has the support available in mainline. This also silences the below dtschema warnings for "cpufreq-qcom-hw.yaml": Documentation/devicetree/bindings/dvfs/performance-domain.example.dt.yaml: performance-controller@12340000: reg: [[305397760, 4096]] is too short From schema: Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml Documentation/devicetree/bindings/dvfs/performance-domain.example.dt.yaml: performance-controller@12340000: 'clocks' is a required property From schema: Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml Documentation/devicetree/bindings/dvfs/performance-domain.example.dt.yaml: performance-controller@12340000: 'clock-names' is a required property From schema: Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml Documentation/devicetree/bindings/dvfs/performance-domain.example.dt.yaml: performance-controller@12340000: '#freq-domain-cells' is a required property From schema: Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml Documentation/devicetree/bindings/dvfs/performance-domain.example.dt.yaml: performance-controller@12340000: '#performance-domain-cells' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml Cc: Hector Yuan <hector.yuan@mediatek.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent 72951a7 commit cac2ed0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Documentation/devicetree/bindings/dvfs/performance-domain.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,16 @@ additionalProperties: true
5252

5353
examples:
5454
- |
55-
performance: performance-controller@12340000 {
56-
compatible = "qcom,cpufreq-hw";
57-
reg = <0x12340000 0x1000>;
58-
#performance-domain-cells = <1>;
55+
soc {
56+
#address-cells = <2>;
57+
#size-cells = <2>;
58+
59+
performance: performance-controller@11bc00 {
60+
compatible = "mediatek,cpufreq-hw";
61+
reg = <0 0x0011bc10 0 0x120>, <0 0x0011bd30 0 0x120>;
62+
63+
#performance-domain-cells = <1>;
64+
};
5965
};
6066
6167
// The node above defines a performance controller that is a performance

0 commit comments

Comments
 (0)