devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tero Kristo <t-kristo@ti.com>
To: Peter Ujfalusi <peter.ujfalusi@ti.com>,
	bcousson@baylibre.com, tony@atomide.com
Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] ARM: DTS: omap54xx-clocks: remove the autoidle properties for clock nodes
Date: Wed, 30 Apr 2014 15:30:45 +0300	[thread overview]
Message-ID: <5360ECF5.6080801@ti.com> (raw)
In-Reply-To: <1398858096-32144-1-git-send-email-peter.ujfalusi@ti.com>

On 04/30/2014 02:41 PM, Peter Ujfalusi wrote:
> In OMAP5 bit 8 in PRCM registers are not defined (Reserved) unlike their
> counterpart in OMAP4.
> It is better to not write to these bits.

Yeah, looks like this bug was copied over from the legacy clock data.

Acked-by: Tero Kristo <t-kristo@ti.com>

>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
>   arch/arm/boot/dts/omap54xx-clocks.dtsi | 48 ----------------------------------
>   1 file changed, 48 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi b/arch/arm/boot/dts/omap54xx-clocks.dtsi
> index d487fdab3921..d784ff5d3904 100644
> --- a/arch/arm/boot/dts/omap54xx-clocks.dtsi
> +++ b/arch/arm/boot/dts/omap54xx-clocks.dtsi
> @@ -120,10 +120,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_abe_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01f0>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	abe_24m_fclk: abe_24m_fclk {
> @@ -164,10 +162,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_abe_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01f4>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_ck: dpll_core_ck {
> @@ -188,10 +184,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0150>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	c2c_fclk: c2c_fclk {
> @@ -215,10 +209,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0138>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h12x2_ck: dpll_core_h12x2_ck {
> @@ -226,10 +218,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x013c>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h13x2_ck: dpll_core_h13x2_ck {
> @@ -237,10 +227,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0140>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h14x2_ck: dpll_core_h14x2_ck {
> @@ -248,10 +236,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0144>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h22x2_ck: dpll_core_h22x2_ck {
> @@ -259,10 +245,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0154>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h23x2_ck: dpll_core_h23x2_ck {
> @@ -270,10 +254,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0158>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_h24x2_ck: dpll_core_h24x2_ck {
> @@ -281,10 +263,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x015c>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_m2_ck: dpll_core_m2_ck {
> @@ -292,10 +272,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0130>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_core_m3x2_ck: dpll_core_m3x2_ck {
> @@ -303,10 +281,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_core_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0134>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	iva_dpll_hs_clk_div: iva_dpll_hs_clk_div {
> @@ -335,10 +311,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_iva_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01b8>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_iva_h12x2_ck: dpll_iva_h12x2_ck {
> @@ -346,10 +320,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_iva_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01bc>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	mpu_dpll_hs_clk_div: mpu_dpll_hs_clk_div {
> @@ -372,10 +344,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_mpu_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0170>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	per_dpll_hs_clk_div: per_dpll_hs_clk_div {
> @@ -642,10 +612,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0158>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_h12x2_ck: dpll_per_h12x2_ck {
> @@ -653,10 +621,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x015c>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_h14x2_ck: dpll_per_h14x2_ck {
> @@ -664,10 +630,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <63>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0164>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_m2_ck: dpll_per_m2_ck {
> @@ -675,10 +639,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0150>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_m2x2_ck: dpll_per_m2x2_ck {
> @@ -686,10 +648,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0150>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_per_m3x2_ck: dpll_per_m3x2_ck {
> @@ -697,10 +657,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_per_x2_ck>;
>   		ti,max-div = <31>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0154>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_unipro1_ck: dpll_unipro1_ck {
> @@ -723,10 +681,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_unipro1_ck>;
>   		ti,max-div = <127>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0210>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_unipro2_ck: dpll_unipro2_ck {
> @@ -749,10 +705,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_unipro2_ck>;
>   		ti,max-div = <127>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x01d0>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	dpll_usb_ck: dpll_usb_ck {
> @@ -775,10 +729,8 @@
>   		compatible = "ti,divider-clock";
>   		clocks = <&dpll_usb_ck>;
>   		ti,max-div = <127>;
> -		ti,autoidle-shift = <8>;
>   		reg = <0x0190>;
>   		ti,index-starts-at-one;
> -		ti,invert-autoidle-bit;
>   	};
>
>   	func_128m_clk: func_128m_clk {
>

  parent reply	other threads:[~2014-04-30 12:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 11:41 [PATCH 1/2] ARM: DTS: omap54xx-clocks: remove the autoidle properties for clock nodes Peter Ujfalusi
2014-04-30 11:41 ` [PATCH 2/2] ARM: DTS: omap54xx-clocks: Correct abe_iclk clock node Peter Ujfalusi
     [not found]   ` <1398858096-32144-2-git-send-email-peter.ujfalusi-l0cyMroinI0@public.gmane.org>
2014-04-30 12:31     ` Tero Kristo
2014-05-19 13:44       ` Tero Kristo
2014-04-30 12:30 ` Tero Kristo [this message]
2014-05-19 13:44   ` [PATCH 1/2] ARM: DTS: omap54xx-clocks: remove the autoidle properties for clock nodes Tero Kristo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5360ECF5.6080801@ti.com \
    --to=t-kristo@ti.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=peter.ujfalusi@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).