devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am43xx-clocks: use ti,fixed-factor-clock for dpll_per_clkdcoldo
@ 2014-03-28 20:54 Dave Gerlach
  2014-05-19 12:25 ` Tero Kristo
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Gerlach @ 2014-03-28 20:54 UTC (permalink / raw)
  To: linux-arm-kernel, linux-omap, devicetree
  Cc: Paul Walmsley, Tony Lindgren, Tero Kristo, Benoit Cousson,
	Dave Gerlach

Use the ti,fixed-factor-clock version so that autoidle for
dpll_per_clkdcoldo is properly controlled after power management code
is introduced. Without this the clock may be held active even when
it is gated.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/boot/dts/am43xx-clocks.dtsi | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi
index 142009c..1d9b6bb 100644
--- a/arch/arm/boot/dts/am43xx-clocks.dtsi
+++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
@@ -609,10 +609,13 @@
 
 	dpll_per_clkdcoldo: dpll_per_clkdcoldo {
 		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
+		compatible = "ti,fixed-factor-clock";
 		clocks = <&dpll_per_ck>;
-		clock-mult = <1>;
-		clock-div = <1>;
+		ti,clock-mult = <1>;
+		ti,clock-div = <1>;
+		ti,autoidle-shift = <8>;
+		reg = <0x2e14>;
+		ti,invert-autoidle-bit;
 	};
 
 	dll_aging_clk_div: dll_aging_clk_div {
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: am43xx-clocks: use ti,fixed-factor-clock for dpll_per_clkdcoldo
  2014-03-28 20:54 [PATCH] ARM: dts: am43xx-clocks: use ti,fixed-factor-clock for dpll_per_clkdcoldo Dave Gerlach
@ 2014-05-19 12:25 ` Tero Kristo
  0 siblings, 0 replies; 2+ messages in thread
From: Tero Kristo @ 2014-05-19 12:25 UTC (permalink / raw)
  To: Dave Gerlach, linux-arm-kernel, linux-omap, devicetree
  Cc: Paul Walmsley, Tony Lindgren, Benoit Cousson

On 03/28/2014 10:54 PM, Dave Gerlach wrote:
> Use the ti,fixed-factor-clock version so that autoidle for
> dpll_per_clkdcoldo is properly controlled after power management code
> is introduced. Without this the clock may be held active even when
> it is gated.
>
> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>

Thanks, queued for 3.16/clk-dt.

> ---
>   arch/arm/boot/dts/am43xx-clocks.dtsi | 9 ++++++---
>   1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi
> index 142009c..1d9b6bb 100644
> --- a/arch/arm/boot/dts/am43xx-clocks.dtsi
> +++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
> @@ -609,10 +609,13 @@
>
>   	dpll_per_clkdcoldo: dpll_per_clkdcoldo {
>   		#clock-cells = <0>;
> -		compatible = "fixed-factor-clock";
> +		compatible = "ti,fixed-factor-clock";
>   		clocks = <&dpll_per_ck>;
> -		clock-mult = <1>;
> -		clock-div = <1>;
> +		ti,clock-mult = <1>;
> +		ti,clock-div = <1>;
> +		ti,autoidle-shift = <8>;
> +		reg = <0x2e14>;
> +		ti,invert-autoidle-bit;
>   	};
>
>   	dll_aging_clk_div: dll_aging_clk_div {
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-19 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-28 20:54 [PATCH] ARM: dts: am43xx-clocks: use ti,fixed-factor-clock for dpll_per_clkdcoldo Dave Gerlach
2014-05-19 12:25 ` Tero Kristo

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).