Message ID | 1425458956-20665-3-git-send-email-pi-cheng.chen@linaro.org |
---|---|
State | New |
Headers | show |
On 4 March 2015 at 14:19, pi-cheng.chen <pi-cheng.chen@linaro.org> wrote: > Add dt-binding for mtk-cpufreq driver so that the driver could get SoC specific > information (intermediate_clk for now) from device tree. > > Signed-off-by: pi-cheng.chen <pi-cheng.chen@linaro.org> > --- > .../devicetree/bindings/cpufreq/cpufreq-mtk.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt > > diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt > new file mode 100644 > index 0000000..53bf108 > --- /dev/null > +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt > @@ -0,0 +1,17 @@ > + > +Mediatek cpufreq driver > +------------------- > + > +Mediatek SoC cpufreq driver for CPU frequency scaling. > + > +Required properties: > +- compatible: "mediatek,mtk-cpufreq" > +- intermediate_clk: The intermediate clock source which CPUs will switch to > +during CPU frequency transition. > + > +Examples: > +-------- > + mtk-cpufreq { > + compatible = "mediatek,mtk-cpufreq"; > + intermediate_clk = <&apmixedsys APMIXED_MAINPLL>; > + }; Such nodes aren't allowed. NACK. -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt new file mode 100644 index 0000000..53bf108 --- /dev/null +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt @@ -0,0 +1,17 @@ + +Mediatek cpufreq driver +------------------- + +Mediatek SoC cpufreq driver for CPU frequency scaling. + +Required properties: +- compatible: "mediatek,mtk-cpufreq" +- intermediate_clk: The intermediate clock source which CPUs will switch to +during CPU frequency transition. + +Examples: +-------- + mtk-cpufreq { + compatible = "mediatek,mtk-cpufreq"; + intermediate_clk = <&apmixedsys APMIXED_MAINPLL>; + };
Add dt-binding for mtk-cpufreq driver so that the driver could get SoC specific information (intermediate_clk for now) from device tree. Signed-off-by: pi-cheng.chen <pi-cheng.chen@linaro.org> --- .../devicetree/bindings/cpufreq/cpufreq-mtk.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mtk.txt