From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 10/11] ARM: at91/dt: move at91sam9rl SoC to the new slow/main clock models
Date: Mon, 24 Mar 2014 10:27:16 +0100 [thread overview]
Message-ID: <20140324092716.GA20484@piout.net> (raw)
In-Reply-To: <1395649643-9146-11-git-send-email-b.brezillon.dev@gmail.com>
On 24/03/2014 at 09:27:22 +0100, Boris BREZILLON wrote :
> Move at91sam9rl SoC to the new main/slow clock model.
>
> Signed-off-by: Boris BREZILLON <b.brezillon.dev@gmail.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> arch/arm/boot/dts/at91sam9rl.dtsi | 47 +++++++++++++++++++++++++++++++------
> 1 file changed, 40 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
> index 63e1784..56220d8 100644
> --- a/arch/arm/boot/dts/at91sam9rl.dtsi
> +++ b/arch/arm/boot/dts/at91sam9rl.dtsi
> @@ -48,6 +48,20 @@
> reg = <0x20000000 0x04000000>;
> };
>
> + clocks {
> + slow_xtal: slow_xtal {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <0>;
> + };
> +
> + main_xtal: main_xtal {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <0>;
> + };
> + };
> +
> ahb {
> compatible = "simple-bus";
> #address-cells = <1>;
> @@ -548,17 +562,11 @@
> #size-cells = <0>;
> #interrupt-cells = <1>;
>
> - clk32k: slck {
> - compatible = "fixed-clock";
> - #clock-cells = <0>;
> - clock-frequency = <32768>;
> - };
> -
> main: mainck {
> compatible = "atmel,at91rm9200-clk-main";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_MOSCS>;
> - clocks = <&clk32k>;
> + clocks = <&main_xtal>;
> };
>
> plla: pllack {
> @@ -769,6 +777,31 @@
> interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
> status = "disabled";
> };
> +
> + sckc at fffffd50 {
> + compatible = "atmel,at91sam9x5-sckc";
> +
> + slow_osc: slow_osc {
> + compatible = "atmel,at91sam9x5-clk-slow-osc";
> + #clock-cells = <0>;
> + atmel,startup-time-usec = <1200000>;
> + clocks = <&slow_xtal>;
> + };
> +
> + slow_rc_osc: slow_rc_osc {
> + compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
> + #clock-cells = <0>;
> + atmel,startup-time-usec = <75>;
> + clock-frequency = <32768>;
> + clock-accuracy = <50000000>;
> + };
> +
> + clk32k: slck {
> + compatible = "atmel,at91sam9x5-clk-slow";
> + #clock-cells = <0>;
> + clocks = <&slow_rc_osc &slow_osc>;
> + };
> + };
> };
> };
>
> --
> 1.7.9.5
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Boris BREZILLON <brezillonboris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Nicolas Ferre
<nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
Mike Turquette
<mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Jean-Jacques Hiblot
<jjhiblot-dLKeG7h1OhBDOHtkgc7UlQ@public.gmane.org>,
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Boris BREZILLON
<b.brezillon.dev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH v2 10/11] ARM: at91/dt: move at91sam9rl SoC to the new slow/main clock models
Date: Mon, 24 Mar 2014 10:27:16 +0100 [thread overview]
Message-ID: <20140324092716.GA20484@piout.net> (raw)
In-Reply-To: <1395649643-9146-11-git-send-email-b.brezillon.dev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 24/03/2014 at 09:27:22 +0100, Boris BREZILLON wrote :
> Move at91sam9rl SoC to the new main/slow clock model.
>
> Signed-off-by: Boris BREZILLON <b.brezillon.dev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Acked-by: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
> arch/arm/boot/dts/at91sam9rl.dtsi | 47 +++++++++++++++++++++++++++++++------
> 1 file changed, 40 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
> index 63e1784..56220d8 100644
> --- a/arch/arm/boot/dts/at91sam9rl.dtsi
> +++ b/arch/arm/boot/dts/at91sam9rl.dtsi
> @@ -48,6 +48,20 @@
> reg = <0x20000000 0x04000000>;
> };
>
> + clocks {
> + slow_xtal: slow_xtal {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <0>;
> + };
> +
> + main_xtal: main_xtal {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <0>;
> + };
> + };
> +
> ahb {
> compatible = "simple-bus";
> #address-cells = <1>;
> @@ -548,17 +562,11 @@
> #size-cells = <0>;
> #interrupt-cells = <1>;
>
> - clk32k: slck {
> - compatible = "fixed-clock";
> - #clock-cells = <0>;
> - clock-frequency = <32768>;
> - };
> -
> main: mainck {
> compatible = "atmel,at91rm9200-clk-main";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_MOSCS>;
> - clocks = <&clk32k>;
> + clocks = <&main_xtal>;
> };
>
> plla: pllack {
> @@ -769,6 +777,31 @@
> interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
> status = "disabled";
> };
> +
> + sckc@fffffd50 {
> + compatible = "atmel,at91sam9x5-sckc";
> +
> + slow_osc: slow_osc {
> + compatible = "atmel,at91sam9x5-clk-slow-osc";
> + #clock-cells = <0>;
> + atmel,startup-time-usec = <1200000>;
> + clocks = <&slow_xtal>;
> + };
> +
> + slow_rc_osc: slow_rc_osc {
> + compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
> + #clock-cells = <0>;
> + atmel,startup-time-usec = <75>;
> + clock-frequency = <32768>;
> + clock-accuracy = <50000000>;
> + };
> +
> + clk32k: slck {
> + compatible = "atmel,at91sam9x5-clk-slow";
> + #clock-cells = <0>;
> + clocks = <&slow_rc_osc &slow_osc>;
> + };
> + };
> };
> };
>
> --
> 1.7.9.5
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Boris BREZILLON <brezillonboris@gmail.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>,
Mike Turquette <mturquette@linaro.org>,
Jean-Jacques Hiblot <jjhiblot@traphandler.com>,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Boris BREZILLON <b.brezillon.dev@gmail.com>
Subject: Re: [PATCH v2 10/11] ARM: at91/dt: move at91sam9rl SoC to the new slow/main clock models
Date: Mon, 24 Mar 2014 10:27:16 +0100 [thread overview]
Message-ID: <20140324092716.GA20484@piout.net> (raw)
In-Reply-To: <1395649643-9146-11-git-send-email-b.brezillon.dev@gmail.com>
On 24/03/2014 at 09:27:22 +0100, Boris BREZILLON wrote :
> Move at91sam9rl SoC to the new main/slow clock model.
>
> Signed-off-by: Boris BREZILLON <b.brezillon.dev@gmail.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> arch/arm/boot/dts/at91sam9rl.dtsi | 47 +++++++++++++++++++++++++++++++------
> 1 file changed, 40 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi
> index 63e1784..56220d8 100644
> --- a/arch/arm/boot/dts/at91sam9rl.dtsi
> +++ b/arch/arm/boot/dts/at91sam9rl.dtsi
> @@ -48,6 +48,20 @@
> reg = <0x20000000 0x04000000>;
> };
>
> + clocks {
> + slow_xtal: slow_xtal {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <0>;
> + };
> +
> + main_xtal: main_xtal {
> + compatible = "fixed-clock";
> + #clock-cells = <0>;
> + clock-frequency = <0>;
> + };
> + };
> +
> ahb {
> compatible = "simple-bus";
> #address-cells = <1>;
> @@ -548,17 +562,11 @@
> #size-cells = <0>;
> #interrupt-cells = <1>;
>
> - clk32k: slck {
> - compatible = "fixed-clock";
> - #clock-cells = <0>;
> - clock-frequency = <32768>;
> - };
> -
> main: mainck {
> compatible = "atmel,at91rm9200-clk-main";
> #clock-cells = <0>;
> interrupts-extended = <&pmc AT91_PMC_MOSCS>;
> - clocks = <&clk32k>;
> + clocks = <&main_xtal>;
> };
>
> plla: pllack {
> @@ -769,6 +777,31 @@
> interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
> status = "disabled";
> };
> +
> + sckc@fffffd50 {
> + compatible = "atmel,at91sam9x5-sckc";
> +
> + slow_osc: slow_osc {
> + compatible = "atmel,at91sam9x5-clk-slow-osc";
> + #clock-cells = <0>;
> + atmel,startup-time-usec = <1200000>;
> + clocks = <&slow_xtal>;
> + };
> +
> + slow_rc_osc: slow_rc_osc {
> + compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
> + #clock-cells = <0>;
> + atmel,startup-time-usec = <75>;
> + clock-frequency = <32768>;
> + clock-accuracy = <50000000>;
> + };
> +
> + clk32k: slck {
> + compatible = "atmel,at91sam9x5-clk-slow";
> + #clock-cells = <0>;
> + clocks = <&slow_rc_osc &slow_osc>;
> + };
> + };
> };
> };
>
> --
> 1.7.9.5
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-03-24 9:27 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-24 8:27 [PATCH v2 00/11] ARM: at91: rework main and slow clk implementation Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 01/11] clk: at91: rework main " Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 02/11] clk: at91: update main clk documentation Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-04-18 12:49 ` Nicolas Ferre
2014-04-18 12:49 ` Nicolas Ferre
2014-04-18 12:49 ` Nicolas Ferre
2014-04-18 13:00 ` Boris BREZILLON
2014-04-18 13:00 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 03/11] clk: at91: add slow clks driver Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 04/11] clk: at91: add slow clk documentation Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-04-18 13:09 ` Nicolas Ferre
2014-04-18 13:09 ` Nicolas Ferre
2014-04-18 13:09 ` Nicolas Ferre
2014-03-24 8:27 ` [PATCH v2 05/11] ARM: at91/dt: move sama5d3 SoC to the new main/slow clk model Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 06/11] ARM: at91/dt: add xtal frequencies to sama5d3xcm boards Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 07/11] ARM: at91/dt: add xtal frequencies to sama5d3 xplained board Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 08/11] ARM: at91/dt: move at91sam9261 SoC to the new main clock model Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 09/11] ARM: at91/dt: define main xtal frequency of the at91sam9261ek board Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 8:27 ` [PATCH v2 10/11] ARM: at91/dt: move at91sam9rl SoC to the new slow/main clock models Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
2014-03-24 9:27 ` Alexandre Belloni [this message]
2014-03-24 9:27 ` Alexandre Belloni
2014-03-24 9:27 ` Alexandre Belloni
2014-03-24 8:27 ` [PATCH v2 11/11] ARM: at91/dt: define sam9rlek crystal frequencies Boris BREZILLON
2014-03-24 8:27 ` Boris BREZILLON
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=20140324092716.GA20484@piout.net \
--to=alexandre.belloni@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.