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>; + };