devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH v8 13/18] cpufreq: tegra124: Add device tree bindings
           [not found] <1425213881-5262-1-git-send-email-mikko.perttunen@kapsi.fi>
           [not found] ` <1425213881-5262-1-git-send-email-mikko.perttunen-/1wQRMveznE@public.gmane.org>
    @ 2015-03-01 12:44 ` Mikko Perttunen
      1 sibling, 0 replies; 2+ messages in thread
    From: Mikko Perttunen @ 2015-03-01 12:44 UTC (permalink / raw)
      To: swarren, thierry.reding, gnurou, pdeschrijver, rjw, viresh.kumar
      Cc: mturquette, pwalmsley, vinceh, pgaikwad, linux-kernel, linux-pm,
    	linux-tegra, linux-arm-kernel, tuomas.tynkkynen, Tuomas Tynkkynen,
    	Mikko Perttunen, devicetree
    
    From: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
    
    The cpufreq driver for Tegra124 will be a different one than the old
    Tegra20 cpufreq driver (tegra-cpufreq), which does not use the device
    tree.
    
    Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
    Signed-off-by: Mikko Perttunen <mikko.perttunen@kapsi.fi>
    Cc: devicetree@vger.kernel.org
    ---
     .../bindings/cpufreq/tegra124-cpufreq.txt          | 44 ++++++++++++++++++++++
     1 file changed, 44 insertions(+)
     create mode 100644 Documentation/devicetree/bindings/cpufreq/tegra124-cpufreq.txt
    
    diff --git a/Documentation/devicetree/bindings/cpufreq/tegra124-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/tegra124-cpufreq.txt
    new file mode 100644
    index 0000000..b1669fb
    --- /dev/null
    +++ b/Documentation/devicetree/bindings/cpufreq/tegra124-cpufreq.txt
    @@ -0,0 +1,44 @@
    +Tegra124 CPU frequency scaling driver bindings
    +----------------------------------------------
    +
    +Both required and optional properties listed below must be defined
    +under node /cpus/cpu@0.
    +
    +Required properties:
    +- clocks: Must contain an entry for each entry in clock-names.
    +  See ../clocks/clock-bindings.txt for details.
    +- clock-names: Must include the following entries:
    +  - cpu_g: Clock mux for the fast CPU cluster.
    +  - cpu_lp: Clock mux for the low-power CPU cluster.
    +  - pll_x: Fast PLL clocksource.
    +  - pll_p: Auxiliary PLL used during fast PLL rate changes.
    +  - dfll: Fast DFLL clocksource that also automatically scales CPU voltage.
    +- vdd-cpu-supply: Regulator for CPU voltage
    +
    +Optional properties:
    +- clock-latency: Specify the possible maximum transition latency for clock,
    +  in unit of nanoseconds.
    +
    +Example:
    +--------
    +cpus {
    +	#address-cells = <1>;
    +	#size-cells = <0>;
    +
    +	cpu@0 {
    +		device_type = "cpu";
    +		compatible = "arm,cortex-a15";
    +		reg = <0>;
    +
    +		clocks = <&tegra_car TEGRA124_CLK_CCLK_G>,
    +			 <&tegra_car TEGRA124_CLK_CCLK_LP>,
    +			 <&tegra_car TEGRA124_CLK_PLL_X>,
    +			 <&tegra_car TEGRA124_CLK_PLL_P>,
    +			 <&dfll>;
    +		clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll";
    +		clock-latency = <300000>;
    +		vdd-cpu-supply: <&vdd_cpu>;
    +	};
    +
    +	<...>
    +};
    --
    2.3.0
    
    ^ permalink raw reply related	[flat|nested] 2+ messages in thread

  • end of thread, other threads:[~2015-03-01 12:44 UTC | newest]
    
    Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1425213881-5262-1-git-send-email-mikko.perttunen@kapsi.fi>
         [not found] ` <1425213881-5262-1-git-send-email-mikko.perttunen-/1wQRMveznE@public.gmane.org>
    2015-03-01 12:44   ` [PATCH v8 01/18] clk: tegra: Add binding for the Tegra124 DFLL clocksource Mikko Perttunen
    2015-03-01 12:44 ` [PATCH v8 13/18] cpufreq: tegra124: Add device tree bindings Mikko Perttunen
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).