Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606639 > unrolled thread

[PATCH v3 0/5] STM32 Independant watchdog

Started byYannick Fertre <yannick.fertre@st.com>
First post2017-03-22 16:10 +0100
Last post2017-03-22 16:10 +0100
Articles 3 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 0/5] STM32 Independant watchdog Yannick Fertre <yannick.fertre@st.com> - 2017-03-22 16:10 +0100
    [PATCH v3 3/5] ARM: dts: stm32: Add watchdog support for STM32F429 SoC Yannick Fertre <yannick.fertre@st.com> - 2017-03-22 16:10 +0100
    [PATCH v3 4/5] ARM: dts: stm32: Add watchdog support for STM32F429 eval board Yannick Fertre <yannick.fertre@st.com> - 2017-03-22 16:10 +0100

#1606639 — [PATCH v3 0/5] STM32 Independant watchdog

FromYannick Fertre <yannick.fertre@st.com>
Date2017-03-22 16:10 +0100
Subject[PATCH v3 0/5] STM32 Independant watchdog
Message-ID<tnQ3E-4lf-13@gated-at.bofh.it>
Version 3:
- Update typo into  bindings file
- Reorder node in devicetree (ordering by address)
- Remove unecessary lines in commits

Version 2:
- Add commit messages

Version 1:
- Initial commit

The purpose of this set of patches is to add a new watchdog driver for
stm32f429.
This driver was developed and tested on evaluation board stm32429i.

Yannick Fertre (5):
  dt-bindings: Document STM32 IWDG bindings
  drivers: watchdog: Add STM32 IWDG driver
  ARM: dts: stm32: Add watchdog support for STM32F429 SoC
  ARM: dts: stm32: Add watchdog support for STM32F429 eval board
  ARM: configs: Add watchdog support in STM32 defconfig

 .../devicetree/bindings/watchdog/st,stm32-iwdg.txt |  15 ++
 arch/arm/boot/dts/stm32429i-eval.dts               |   4 +
 arch/arm/boot/dts/stm32f429.dtsi                   |   9 +-
 arch/arm/configs/stm32_defconfig                   |   1 +
 drivers/watchdog/Kconfig                           |  11 +
 drivers/watchdog/Makefile                          |   1 +
 drivers/watchdog/stm32_iwdg.c                      | 289 +++++++++++++++++++++
 7 files changed, 329 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt
 create mode 100644 drivers/watchdog/stm32_iwdg.c

-- 
1.9.1

[toc] | [next] | [standalone]


#1606644 — [PATCH v3 3/5] ARM: dts: stm32: Add watchdog support for STM32F429 SoC

FromYannick Fertre <yannick.fertre@st.com>
Date2017-03-22 16:10 +0100
Subject[PATCH v3 3/5] ARM: dts: stm32: Add watchdog support for STM32F429 SoC
Message-ID<tnQ3F-4lf-39@gated-at.bofh.it>
In reply to#1606639
Add watchdog into DT for stm32f429 family.

Signed-off-by: Yannick FERTRE <yannick.fertre@st.com>
---
 arch/arm/boot/dts/stm32f429.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index ee0da97..9b71dde 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -65,7 +65,7 @@
 			clock-frequency = <32768>;
 		};
 
-		clk-lsi {
+		clk_lsi: clk-lsi {
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <32000>;
@@ -307,6 +307,13 @@
 			status = "disabled";
 		};
 
+		iwdg: iwdg@40003000 {
+			compatible = "st,stm32-iwdg";
+			reg = <0x40003000 0x400>;
+			clocks = <&clk_lsi>;
+			status = "disabled";
+		};
+
 		usart2: serial@40004400 {
 			compatible = "st,stm32-usart", "st,stm32-uart";
 			reg = <0x40004400 0x400>;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1606645 — [PATCH v3 4/5] ARM: dts: stm32: Add watchdog support for STM32F429 eval board

FromYannick Fertre <yannick.fertre@st.com>
Date2017-03-22 16:10 +0100
Subject[PATCH v3 4/5] ARM: dts: stm32: Add watchdog support for STM32F429 eval board
Message-ID<tnQ3F-4lf-43@gated-at.bofh.it>
In reply to#1606639
This patch adds watchdog support for STM32x9I-Eval board.

Signed-off-by: Yannick Fertre <yannick.fertre@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 3c99466..1c7d0b9 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -126,6 +126,10 @@
 	};
 };
 
+&iwdg {
+	status = "okay";
+};
+
 &adc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&adc3_in8_pin>;
-- 
1.9.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web