devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Torgue <alexandre.torgue@st.com>
To: Amelie Delaunay <amelie.delaunay@st.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@armlinux.org.uk>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco
Date: Mon, 16 Jan 2017 15:39:43 +0100	[thread overview]
Message-ID: <000f554f-7904-abd4-b7fb-c7983ef5c176@st.com> (raw)
In-Reply-To: <1484573388-590-3-git-send-email-amelie.delaunay@st.com>



On 01/16/2017 02:29 PM, Amelie Delaunay wrote:
> This patch enables RTC on stm32f429-disco with LSI as clock source because
> X2 crystal for LSE is not fitted by default.
>
> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> ---
>  arch/arm/boot/dts/stm32f429-disco.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts
> index 7d0415e..9222b9f 100644
> --- a/arch/arm/boot/dts/stm32f429-disco.dts
> +++ b/arch/arm/boot/dts/stm32f429-disco.dts
> @@ -94,6 +94,12 @@
>  	clock-frequency = <8000000>;
>  };
>
> +&rtc {
> +	assigned-clocks = <&rcc 1 CLK_RTC>;
> +	assigned-clock-parents = <&rcc 1 CLK_LSI>;
> +	status = "okay";
> +};
> +
>  &usart1 {
>  	pinctrl-0 = <&usart1_pins_a>;
>  	pinctrl-names = "default";
>
Applied on stm32-dt-for-v4.11

Thanks
Alex

  reply	other threads:[~2017-01-16 14:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 13:29 [PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 Amelie Delaunay
2017-01-16 13:29 ` [PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU Amelie Delaunay
     [not found]   ` <1484573388-590-2-git-send-email-amelie.delaunay-qxv4g6HH51o@public.gmane.org>
2017-01-16 14:39     ` Alexandre Torgue
     [not found] ` <1484573388-590-1-git-send-email-amelie.delaunay-qxv4g6HH51o@public.gmane.org>
2017-01-16 13:29   ` [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco Amelie Delaunay
2017-01-16 14:39     ` Alexandre Torgue [this message]
2017-01-16 13:29 ` [PATCHv3 RESEND 6/8] ARM: dts: stm32: enable RTC on stm32f469-disco Amelie Delaunay
2017-01-16 14:39   ` Alexandre Torgue
2017-01-16 13:29 ` [PATCHv3 RESEND 7/8] ARM: dts: stm32: enable RTC on stm32429i-eval Amelie Delaunay
     [not found]   ` <1484573388-590-5-git-send-email-amelie.delaunay-qxv4g6HH51o@public.gmane.org>
2017-01-16 14:40     ` Alexandre Torgue
2017-01-16 14:39 ` [PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 Alexandre Torgue

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=000f554f-7904-abd4-b7fb-c7983ef5c176@st.com \
    --to=alexandre.torgue@st.com \
    --cc=amelie.delaunay@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=robh+dt@kernel.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 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).