Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1559736 > unrolled thread
| Started by | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| First post | 2017-01-16 14:40 +0100 |
| Last post | 2017-01-16 15:50 +0100 |
| Articles | 8 — 2 participants |
Back to article view | Back to linux.kernel
[PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
[PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
Re: [PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100
[PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
Re: [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100
[PATCHv3 RESEND 7/8] ARM: dts: stm32: enable RTC on stm32429i-eval Amelie Delaunay <amelie.delaunay@st.com> - 2017-01-16 14:40 +0100
Re: [PATCHv3 RESEND 7/8] ARM: dts: stm32: enable RTC on stm32429i-eval Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100
Re: [PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 Alexandre Torgue <alexandre.torgue@st.com> - 2017-01-16 15:50 +0100
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-01-16 14:40 +0100 |
| Subject | [PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 |
| Message-ID | <t0fFU-10y-13@gated-at.bofh.it> |
This patch set HSE_RTC clock frequency to 1 MHz, as the clock supplied to
the RTC must be 1 MHz.
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
arch/arm/boot/dts/stm32f429.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index e9324a3..557c1f4 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -433,6 +433,8 @@
reg = <0x40023800 0x400>;
clocks = <&clk_hse>, <&clk_i2s_ckin>;
st,syscfg = <&pwrcfg>;
+ assigned-clocks = <&rcc 1 CLK_HSE_RTC>;
+ assigned-clock-rates = <1000000>;
};
dma1: dma-controller@40026000 {
--
1.9.1
[toc] | [next] | [standalone]
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-01-16 14:40 +0100 |
| Subject | [PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU |
| Message-ID | <t0fFU-10y-11@gated-at.bofh.it> |
| In reply to | #1559736 |
This patch adds STM32 RTC bindings for STM32F429.
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
arch/arm/boot/dts/stm32f429.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index 557c1f4..f05a9d9 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -125,6 +125,20 @@
status = "disabled";
};
+ rtc: rtc@40002800 {
+ compatible = "st,stm32-rtc";
+ reg = <0x40002800 0x400>;
+ clocks = <&rcc 1 CLK_RTC>;
+ clock-names = "ck_rtc";
+ assigned-clocks = <&rcc 1 CLK_RTC>;
+ assigned-clock-parents = <&rcc 1 CLK_LSE>;
+ interrupt-parent = <&exti>;
+ interrupts = <17 1>;
+ interrupt-names = "alarm";
+ st,syscfg = <&pwrcfg>;
+ status = "disabled";
+ };
+
usart2: serial@40004400 {
compatible = "st,stm32-usart", "st,stm32-uart";
reg = <0x40004400 0x400>;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Alexandre Torgue <alexandre.torgue@st.com> |
|---|---|
| Date | 2017-01-16 15:50 +0100 |
| Subject | Re: [PATCHv3 RESEND 4/8] ARM: dts: stm32: Add RTC support for STM32F429 MCU |
| Message-ID | <t0gLD-1Gm-13@gated-at.bofh.it> |
| In reply to | #1559737 |
On 01/16/2017 02:29 PM, Amelie Delaunay wrote:
> This patch adds STM32 RTC bindings for STM32F429.
>
> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> ---
> arch/arm/boot/dts/stm32f429.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
> index 557c1f4..f05a9d9 100644
> --- a/arch/arm/boot/dts/stm32f429.dtsi
> +++ b/arch/arm/boot/dts/stm32f429.dtsi
> @@ -125,6 +125,20 @@
> status = "disabled";
> };
>
> + rtc: rtc@40002800 {
> + compatible = "st,stm32-rtc";
> + reg = <0x40002800 0x400>;
> + clocks = <&rcc 1 CLK_RTC>;
> + clock-names = "ck_rtc";
> + assigned-clocks = <&rcc 1 CLK_RTC>;
> + assigned-clock-parents = <&rcc 1 CLK_LSE>;
> + interrupt-parent = <&exti>;
> + interrupts = <17 1>;
> + interrupt-names = "alarm";
> + st,syscfg = <&pwrcfg>;
> + status = "disabled";
> + };
> +
> usart2: serial@40004400 {
> compatible = "st,stm32-usart", "st,stm32-uart";
> reg = <0x40004400 0x400>;
>
Applied on stm32-dt-for-v4.11
Thanks
Alex
[toc] | [prev] | [next] | [standalone]
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-01-16 14:40 +0100 |
| Subject | [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco |
| Message-ID | <t0fFU-10y-23@gated-at.bofh.it> |
| In reply to | #1559736 |
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";
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Alexandre Torgue <alexandre.torgue@st.com> |
|---|---|
| Date | 2017-01-16 15:50 +0100 |
| Subject | Re: [PATCHv3 RESEND 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco |
| Message-ID | <t0gLD-1Gm-1@gated-at.bofh.it> |
| In reply to | #1559740 |
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
[toc] | [prev] | [next] | [standalone]
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Date | 2017-01-16 14:40 +0100 |
| Subject | [PATCHv3 RESEND 7/8] ARM: dts: stm32: enable RTC on stm32429i-eval |
| Message-ID | <t0fFU-10y-17@gated-at.bofh.it> |
| In reply to | #1559736 |
This patch enables RTC on stm32429i-eval with default LSE clock source.
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
arch/arm/boot/dts/stm32429i-eval.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 2181220..eedb27d 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -157,6 +157,10 @@
};
};
+&rtc {
+ status = "okay";
+};
+
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Alexandre Torgue <alexandre.torgue@st.com> |
|---|---|
| Date | 2017-01-16 15:50 +0100 |
| Subject | Re: [PATCHv3 RESEND 7/8] ARM: dts: stm32: enable RTC on stm32429i-eval |
| Message-ID | <t0gLE-1Gm-45@gated-at.bofh.it> |
| In reply to | #1559743 |
On 01/16/2017 02:29 PM, Amelie Delaunay wrote:
> This patch enables RTC on stm32429i-eval with default LSE clock source.
>
> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> ---
> arch/arm/boot/dts/stm32429i-eval.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
> index 2181220..eedb27d 100644
> --- a/arch/arm/boot/dts/stm32429i-eval.dts
> +++ b/arch/arm/boot/dts/stm32429i-eval.dts
> @@ -157,6 +157,10 @@
> };
> };
>
> +&rtc {
> + status = "okay";
> +};
> +
> &usart1 {
> pinctrl-0 = <&usart1_pins_a>;
> pinctrl-names = "default";
>
Applied on stm32-dt-for-v4.11
Thanks
Alex
[toc] | [prev] | [next] | [standalone]
| From | Alexandre Torgue <alexandre.torgue@st.com> |
|---|---|
| Date | 2017-01-16 15:50 +0100 |
| Subject | Re: [PATCHv3 RESEND 1/8] ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429 |
| Message-ID | <t0gLD-1Gm-3@gated-at.bofh.it> |
| In reply to | #1559736 |
Hi Amélie,
On 01/16/2017 02:29 PM, Amelie Delaunay wrote:
> This patch set HSE_RTC clock frequency to 1 MHz, as the clock supplied to
> the RTC must be 1 MHz.
>
> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
> ---
> arch/arm/boot/dts/stm32f429.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
> index e9324a3..557c1f4 100644
> --- a/arch/arm/boot/dts/stm32f429.dtsi
> +++ b/arch/arm/boot/dts/stm32f429.dtsi
> @@ -433,6 +433,8 @@
> reg = <0x40023800 0x400>;
> clocks = <&clk_hse>, <&clk_i2s_ckin>;
> st,syscfg = <&pwrcfg>;
> + assigned-clocks = <&rcc 1 CLK_HSE_RTC>;
> + assigned-clock-rates = <1000000>;
> };
>
> dma1: dma-controller@40026000 {
>
Applied on stm32-dt-for-v4.11
Thanks
Alex
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web