Skip to contentSkip to conversation

watchdog: Introduce watchdog driver for Intel Tangier

PATCH Superseded Andy Shevchenko 2 participants 5 messages Jul 5, 2017 – Jul 22, 2017 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 watchdog: Introduce watchdog driver for Intel Tangier

From: Felipe Balbi <[email protected]>

Add watchdog driver for Intel Tangier based platforms.

---
In v3:
- protect against overflow in hw_watchdog_reset()

 drivers/watchdog/Kconfig       | 11 ++++++-
 drivers/watchdog/Makefile      |  1 +
 drivers/watchdog/tangier_wdt.c | 71 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 82 insertions(+), 1 deletion(-)
 create mode 100644 drivers/watchdog/tangier_wdt.c
drivers/watchdog/Kconfig +10 -1
index b911233db3..6cbc450b3c 100644
@@ -19,7 +19,16 @@ config OMAP_WATCHDOG
 	default y if AM33XX
 	help
 	  Say Y here to enable the OMAP3+ watchdog driver.
-	
+
+config TANGIER_WATCHDOG
+	bool "Intel Tangier watchdog"
+	depends on INTEL_MID
+	select HW_WATCHDOG
+	help
+	  This enables support for watchdog controller available on
+	  Intel Tangier SoC. If you're using a board with Intel Tangier
+	  SoC, say Y here.
+
 config ULP_WATCHDOG
 	bool "i.MX7ULP watchdog"
 	help
drivers/watchdog/Makefile +1 -0
index 4b19e4ccf6..8a3fa1da67 100644
@@ -14,6 +14,7 @@ obj-$(CONFIG_S5P)               += s5p_wdt.o
 obj-$(CONFIG_XILINX_TB_WATCHDOG) += xilinx_tb_wdt.o
 obj-$(CONFIG_OMAP_WATCHDOG) += omap_wdt.o
 obj-$(CONFIG_DESIGNWARE_WATCHDOG) += designware_wdt.o
+obj-$(CONFIG_TANGIER_WATCHDOG) += tangier_wdt.o
 obj-$(CONFIG_ULP_WATCHDOG) += ulp_wdog.o
 obj-$(CONFIG_WDT) += wdt-uclass.o
 obj-$(CONFIG_WDT_SANDBOX) += sandbox_wdt.o
drivers/watchdog/tangier_wdt.c new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
2.11.0
#1 lore raw

PATCH v3 1/1 watchdog: Introduce watchdog driver for Intel Tangier

Quoted 11 lines · Andy Shevchenko

From: Felipe Balbi <[email protected]>

Add watchdog driver for Intel Tangier based platforms.

---
In v3:
- protect against overflow in hw_watchdog_reset()

Quoted 6 lines
 drivers/watchdog/Kconfig       | 11 ++++++-
 drivers/watchdog/Makefile      |  1 +
 drivers/watchdog/tangier_wdt.c | 71 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 82 insertions(+), 1 deletion(-)
 create mode 100644 drivers/watchdog/tangier_wdt.c
#2 lore raw

PATCH v3 1/1 watchdog: Introduce watchdog driver for Intel Tangier

Quoted 5 lines · Bin Meng
Quoted 3 lines · Andy Shevchenko

From: Felipe Balbi <[email protected]>

Add watchdog driver for Intel Tangier based platforms.

Can we get it applied?

Quoted 17 lines
Quoted 8 lines

---
In v3:
 - protect against overflow in hw_watchdog_reset()

Quoted 7 lines

 drivers/watchdog/Kconfig       | 11 ++++++-
 drivers/watchdog/Makefile      |  1 +
 drivers/watchdog/tangier_wdt.c | 71
++++++++++++++++++++++++++++++++++++++++++

 3 files changed, 82 insertions(+), 1 deletion(-)

 create mode 100644 drivers/watchdog/tangier_wdt.c

Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
#3 lore raw

PATCH v3 1/1 watchdog: Introduce watchdog driver for Intel Tangier

Hi Andy,

Quoted 9 lines · Andy Shevchenko
Quoted 5 lines · Bin Meng
Quoted 3 lines · Andy Shevchenko

From: Felipe Balbi <[email protected]>

Add watchdog driver for Intel Tangier based platforms.

Can we get it applied?

Yes, it's on my todo list.

Regards,
Bin

#4 lore raw

PATCH v3 1/1 watchdog: Introduce watchdog driver for Intel Tangier

In reply to Bin Meng
Quoted 13 lines · Bin Meng
Quoted 11 lines · Andy Shevchenko

From: Felipe Balbi <[email protected]>

Add watchdog driver for Intel Tangier based platforms.

---
In v3:
- protect against overflow in hw_watchdog_reset()

Quoted 8 lines
Quoted 6 lines
 drivers/watchdog/Kconfig       | 11 ++++++-
 drivers/watchdog/Makefile      |  1 +
 drivers/watchdog/tangier_wdt.c | 71 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 82 insertions(+), 1 deletion(-)
 create mode 100644 drivers/watchdog/tangier_wdt.c

applied to u-boot-x86, thanks!